Skip to content

[8.17] [ML] Restrict file system access for pytorch models (#2851)#2855

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

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

Conversation

@valeriy42
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 8.17:

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 cbd3140 into elastic:8.17 May 2, 2025
13 checks passed
@valeriy42 valeriy42 deleted the backport/8.17/pr-2851 branch May 2, 2025 07:47
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