Skip to content

Use safetensors for saving and loading models #144

@dmaljovec

Description

@dmaljovec

In order to keep the build healthy, I am adding an ignore for this identified security vulnerability:

https://bandit.readthedocs.io/en/1.7.10/plugins/b704_pytorch_load_save.html

But the follow-up should be to add a dependency for safetensors and use it for loading and saving model weights.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions