Set the state device dependant to Accelerator on multigpu #1220
Set the state device dependant to Accelerator on multigpu
ab39e4b8
Use map location
e862ccd0
Use on_device and PartialState
43990678
Move import
480e9e30
Check for multi-gpu
1e6f5122
Change logic in accelerator as well
f0e40ff4
Pop from load_model_func kwargs
a4b81e0b
Working
86de8958
Add tests
f92b48ca
Working, needed to change model device
75466f60
sgugger
approved these changes
on 2023-04-06
move to main to be ran multicuda
662ad594
Call test
24e95c9b
Only CUDA
d021379f
muellerzr
merged
b757b623
into main 2 years ago
muellerzr
deleted the loading-state branch 2 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub