Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update safetensors_file.py to support context manager protocol
Add __enter__ and __exit__ to allow `with SafeTensorsFile.open_file(tensorsfile, quiet=True) as s:` syntax
- Loading branch information