huggingface_hub
Making wrapper tensor subclass to work in serialization
#2440
Merged

Making wrapper tensor subclass to work in serialization #2440

jerryzh168
jerryzh168 jerryzh168 changed the title Making wrapper tensor subclass to work in huggingface_hub serializati… Making wrapper tensor subclass to work in serialization 1 year ago
jerryzh168 jerryzh168 force pushed from 749345f7 to 40413f5b 1 year ago
jerryzh168 jerryzh168 force pushed from 40413f5b to d6c42560 1 year ago
jerryzh168
SunMarc SunMarc requested a review from Wauplin Wauplin 1 year ago
SunMarc
jerryzh168 Making wrapper tensor subclass to work in huggingface_hub serializati…
a9911b8d
jerryzh168 jerryzh168 force pushed from d6c42560 to 40d9bdae 1 year ago
jerryzh168 add tests
4ebe8aa9
jerryzh168 jerryzh168 force pushed from 40d9bdae to 4ebe8aa9 1 year ago
jerryzh168 update signature to include new changes for tensor subclass
0a1cc964
Wauplin
jerryzh168
jerryzh168 add torch version checks and move around import
8fd26b75
jerryzh168 more fixes
b8890190
jerryzh168 tested with torch 2.0.0 and 2.5.0
c91fe184
jerryzh168 Merge branch 'main' into non-safetensor-ser
83f6884e
Wauplin Merge branch 'main' into non-safetensor-ser
a02657d8
HuggingFaceDocBuilderDev
Wauplin
Wauplin commented on 2024-08-20
jerryzh168 remove torch_version_at_least from _torch.py
94b38853
jerryzh168 jerryzh168 requested a review from Wauplin Wauplin 1 year ago
jerryzh168 simplify code for checking if tensor subclass is available or not
1b25148e
jerryzh168 minor fix
ca3c2280
jerryzh168
Wauplin
Wauplin commented on 2024-08-23
jerryzh168 addressing comments and run tests with torch 2.4.0
122a68a8
jerryzh168
jerryzh168 commented on 2024-08-24
jerryzh168 jerryzh168 requested a review from Wauplin Wauplin 1 year ago
Wauplin Merge branch 'main' into non-safetensor-ser
3c796075
Wauplin some linting
7fb689bd
Wauplin
jerryzh168 add test_split_torch_state_dict_into_shards for tensor subclass state…
45cb98ad
jerryzh168 jerryzh168 requested a review from SunMarc SunMarc 1 year ago
jerryzh168
Wauplin lint
1486253d
Wauplin style
7850025e
Wauplin quality
473c317d
Wauplin
Wauplin approved these changes on 2024-08-30
Wauplin Wauplin merged f12ba861 into main 1 year ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone