default fast model loading 🔥 #1115
make accelerate hard dep
bbdaab49
default fast init
b6d59beb
move params to cpu when device map is None
29146e17
handle device_map=None
df4c8929
handle torch < 1.9
736e3daa
remove device_map="auto"
bc0a02f5
anton-l
approved these changes
on 2022-11-03
style
3a5c3259
pcuenca
approved these changes
on 2022-11-03
add accelerate in torch extra
41b44128
remove accelerate from extras["test"]
d670d8e1
raise an error if torch is available but not accelerate
09cb109b
update installation docs
05a8f411
Apply suggestions from code review
3c8b6786
improve defautl loading speed even further, allow disabling fats loading
7ee3f2f5
address review comments
754d3761
adapt the tests
bb93884e
pcuenca
approved these changes
on 2022-11-03
fix test_stable_diffusion_fast_load
f77100af
fix test_read_init
3207ae50
temp fix for dummy checks
441eaa7c
Trigger Build
b461ad3b
Apply suggestions from code review
15ec8599
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub