accelerate
Update modeling.py by adding try-catch section to skip the unavailable devices
#2681
Merged

Update modeling.py by adding try-catch section to skip the unavailable devices #2681

SunMarc merged 2 commits into huggingface:main from patch-1
MeVeryHandsome
MeVeryHandsome Update modeling.py to ignore the unavailable devices
97b7ef95
MeVeryHandsome
MeVeryHandsome MeVeryHandsome changed the title Update modeling.py to ignore the unavailable devices Update modeling.py to skip the unavailable devices 1 year ago
MeVeryHandsome MeVeryHandsome changed the title Update modeling.py to skip the unavailable devices Update modeling.py by adding try-catch section to skip the unavailable devices 1 year ago
MeVeryHandsome
HuggingFaceDocBuilderDev
muellerzr muellerzr requested a review from SunMarc SunMarc 1 year ago
SunMarc
SunMarc approved these changes on 2024-04-24
MeVeryHandsome Update src/accelerate/utils/modeling.py
47a5626e
SunMarc SunMarc merged 11a36328 into main 1 year ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone