Use safetensors by default for `PyTorchModelHubMixin` #2033
Use safetensors in `PyTorchModelHubMixin`
228115f1
Merge branch 'main' into 1989_safePyTorchMixin
5b4bef83
Use safetensors constant
81f06476
Fix default download location and add test
8d4c0509
Fallback to pickle model
9beca2c3
make style
569f74eb
Load safetensors dynamically
859e230e
Merge branch 'main' into 1989_safePyTorchMixin
122aa5cc
Migrate to new API
9f177256
Add types
9fa71dd5
improve assertion for safetensor header
81820312
Use @patch without the delegate
08152c5e
make style
8ca8550d
patch hf_hub_download
abd04931
Wauplin
approved these changes
on 2024-02-26
Wauplin
merged
46b38c2d
into main 1 year ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub