Sana icon indicating copy to clipboard operation
Sana copied to clipboard

TypeError: set_timesteps() got an unexpected keyword argument 'max_timesteps'

Open tobran opened this issue 7 months ago • 1 comments

Great work! Just one problem I found when generating the images, I found that SANA-sprint uses DPMSolverMultistepScheduler, which causes it to give TypeError: set_timesteps() got an unexpected keyword argument 'max_timesteps'

tobran avatar Apr 10 '25 09:04 tobran

What's your inference code?

lawrence-cj avatar May 08 '25 05:05 lawrence-cj

What's your inference code?

Hello, I referred to the following link https://github.com/NVlabs/Sana/blob/main/asset/docs/sana_sprint.md and encountered an error: TypeError: DPMSolverMultistepScheduler.set_timesteps() got an unexpected keyword argument 'max_timesteps'

Image

penny9287 avatar Aug 06 '25 03:08 penny9287

What's your inference code?

Hello, I referred to the following link https://github.com/NVlabs/Sana/blob/main/asset/docs/sana_sprint.md and encountered an error: TypeError: DPMSolverMultistepScheduler.set_timesteps() got an unexpected keyword argument 'max_timesteps'

Image

I know the reason now. I should use the model of Sana_Sprint_1.6B_1024px_diffusers, not SANA1.5_1.6B_1024px_diffusers.

penny9287 avatar Aug 06 '25 07:08 penny9287