DiffSynth-Studio icon indicating copy to clipboard operation
DiffSynth-Studio copied to clipboard

We cannot detect the model type. No models are loaded.

Open 23332323 opened this issue 8 months ago • 13 comments

model_manager.load_models([ "models/lightning_logs/version_2/checkpoints/epoch=9-step=5000.ckpt", "models/Wan-AI/Wan2.1-T2V-14B/models_t5_umt5-xxl-enc-bf16.pth", "models/Wan-AI/Wan2.1-T2V-14B/Wan2.1_VAE.pth", ]) When training your own CKPT and following the tutorial to run test.by, Loading models from: models/lightning_logs/version_2/checkpoints/epoch=9-step=5000.ckpt We cannot detect the model type. No models are loaded.

23332323 avatar Mar 27 '25 02:03 23332323

maybe you should check your lora model "*.ckpt" should be a file but not a folder. if you use deepspeed, it may save as a folder

meareabc avatar Mar 27 '25 03:03 meareabc

您好,您的邮件已收到,谢谢!  余清

23332323 avatar Mar 27 '25 03:03 23332323

@23332323 Lora models should be loaded after the base model.

model_manager.load_models([
    "models/Wan-AI/Wan2.1-T2V-1.3B/diffusion_pytorch_model.safetensors",
    "models/Wan-AI/Wan2.1-T2V-1.3B/models_t5_umt5-xxl-enc-bf16.pth",
    "models/Wan-AI/Wan2.1-T2V-1.3B/Wan2.1_VAE.pth",
])
model_manager.load_lora("models/lightning_logs/version_1/checkpoints/epoch=0-step=500.ckpt", lora_alpha=1.0)

Artiprocher avatar Mar 27 '25 03:03 Artiprocher

I use deepspeed to train i2v-14b model, but only optimizer is saved, I cannot find any model file.

Image

appleyang123 avatar Apr 12 '25 13:04 appleyang123

您好,您的邮件已收到,谢谢!  余清

23332323 avatar Apr 12 '25 13:04 23332323

遇到了相同的问题,请问现在有解决方案吗?我是load微调的模型,并没有load成功

Image

Binary2355 avatar Apr 22 '25 07:04 Binary2355

model_manager.load_models([ "models/lightning_logs/version_2/checkpoints/epoch=9-step=5000.ckpt", "models/Wan-AI/Wan2.1-T2V-14B/models_t5_umt5-xxl-enc-bf16.pth", "models/Wan-AI/Wan2.1-T2V-14B/Wan2.1_VAE.pth", ]) When training your own CKPT and following the tutorial to run test.by, Loading models from: models/lightning_logs/version_2/checkpoints/epoch=9-step=5000.ckpt We cannot detect the model type. No models are loaded.

Hello, I have encountered a similar problem. I would like to ask, can you share the code you modified to load lora for testing? Thank you

zfw-cv avatar May 16 '25 03:05 zfw-cv

您好,您的邮件已收到,谢谢!  余清

23332323 avatar May 16 '25 03:05 23332323

I use deepspeed to train i2v-14b model, but only optimizer is saved, I cannot find any model file.

Image

Hello, I also encountered a similar problem. I trained and got a weight file similar to this one. That is, the slice file of deepspeed. I would like to ask how you loaded it in the end? Thank you Image

zfw-cv avatar May 19 '25 06:05 zfw-cv

I use deepspeed to train i2v-14b model, but only optimizer is saved, I cannot find any model file.

Image

is there any solutions? can you share your code? @Artiprocher

hrdxwandg avatar May 23 '25 08:05 hrdxwandg

after full training, i use zero_to_fp32.py convert *.pt to *.safetensors, when inference, i load the model, I also not report the log: No wan_video_dit models available. We cannot detect the model type. No models are loaded. How to fix it?

hrdxwandg avatar May 23 '25 14:05 hrdxwandg

after full training, i use zero_to_fp32.py convert *.pt to *.safetensors, when inference, i load the model, I also not report the log: No wan_video_dit models available. We cannot detect the model type. No models are loaded. How to fix it?

I have no problem now

zfw-cv avatar May 23 '25 14:05 zfw-cv

after full training, i use zero_to_fp32.py convert *.pt to *.safetensors, when inference, i load the model, I also not report the log: No wan_video_dit models available. We cannot detect the model type. No models are loaded. How to fix it?

I have no problem now

Could you share how it was resolved? thanks

hrdxwandg avatar May 23 '25 15:05 hrdxwandg

after full training, i use zero_to_fp32.py convert *.pt to *.safetensors, when inference, i load the model, I also not report the log: No wan_video_dit models available. We cannot detect the model type. No models are loaded. How to fix it?

I have no problem now

Could you share how it was resolved? thanks

Emmm, I have encountered a similar problem. Have you solved it yet? Thank you

ZixuanNi avatar Sep 08 '25 07:09 ZixuanNi

您好,您的邮件已收到,谢谢!  余清

23332323 avatar Sep 08 '25 07:09 23332323