Skip to content

[8.19] [ML] Restrict file system access for pytorch models (#2851)#2853

Merged
valeriy42 merged 2 commits intoelastic:8.19from
valeriy42:backport/8.19/pr-2851
May 2, 2025
Merged

[8.19] [ML] Restrict file system access for pytorch models (#2851)#2853
valeriy42 merged 2 commits intoelastic:8.19from
valeriy42:backport/8.19/pr-2851

Conversation

@valeriy42
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 8.19:

Questions ?

Please refer to the Backport tool documentation

This PR ensures that the PyTorch models are not allowed to access the file system. It accomplishes the goal by inspecting the model's operations and prohibiting the loading of models with operations that read or write files.

(cherry picked from commit fff4062)
@valeriy42 valeriy42 merged commit ba71f50 into elastic:8.19 May 2, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant