You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pipe = SanaPipeline.from_pretrained(
"Efficient-Large-Model/Sana_1600M_1024px_BF16_diffusers",
variant="bf16",
torch_dtype=torch.bfloat16,
)
I encountered an error when loading the model with the code above:OSError: Error no file named pytorch_model.bin, model.safetensors, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory /home/ma-user/work/hexiao/Sana-main_distillation/weights/Sana_600M_512px-diffusers/text_encoder.
I found the pretrained text encoder in huggingface named model-00001-of-00002.safetensors and model-00002-of-00002.safetensors. I want to know what these two weights represent and how I should modify the code to load the model correctly
The text was updated successfully, but these errors were encountered:
pipe = SanaPipeline.from_pretrained(
"Efficient-Large-Model/Sana_1600M_1024px_BF16_diffusers",
variant="bf16",
torch_dtype=torch.bfloat16,
)
I encountered an error when loading the model with the code above:OSError: Error no file named pytorch_model.bin, model.safetensors, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory /home/ma-user/work/hexiao/Sana-main_distillation/weights/Sana_600M_512px-diffusers/text_encoder.
I found the pretrained text encoder in huggingface named model-00001-of-00002.safetensors and model-00002-of-00002.safetensors. I want to know what these two weights represent and how I should modify the code to load the model correctly
The text was updated successfully, but these errors were encountered: