How to speed up the method of obtaining checkpoint types. #9919
Unanswered
suzukimain
asked this question in
Q&A
Replies: 1 comment
-
Can anyone give me some advice? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to get the checkpoint type as follows, but when I try to get the model type in ckpt format, it is very slow and also occupies a lot of memory.
Perhaps the
torch.load()
part called withinload_single_file_checkpoint
is the cause, could you please advise?diffusers/src/diffusers/models/model_loading_utils.py
Lines 145 to 149 in 1dbd26f
Beta Was this translation helpful? Give feedback.
All reactions