Skip to content

Conversation

@bencevans
Copy link
Contributor

@bencevans bencevans commented Feb 6, 2023

Resolves ValueError: num_inference_steps: 1000 cannot be larger than self.config.train_timesteps: 50 as the unet model trained with this scheduler can only handle maximal 50 timesteps.

Triggered when running with --ddpm_num_steps set to less than 1000.

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Feb 6, 2023

The documentation is not available anymore as the PR was closed or merged.

Resolves ValueError: `num_inference_steps`: 1000 cannot be larger than `self.config.train_timesteps`: 50 as the unet model trained with this scheduler can only handle maximal 50 timesteps.
@bencevans bencevans force-pushed the example-unconditional-steps-inference branch from 933b978 to 7e1455e Compare February 8, 2023 12:20
Copy link
Contributor

@patrickvonplaten patrickvonplaten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@patrickvonplaten patrickvonplaten merged commit f3c8483 into huggingface:main Feb 9, 2023
AmericanPresidentJimmyCarter pushed a commit to AmericanPresidentJimmyCarter/diffusers that referenced this pull request Apr 26, 2024
)

Resolves ValueError: `num_inference_steps`: 1000 cannot be larger than `self.config.train_timesteps`: 50 as the unet model trained with this scheduler can only handle maximal 50 timesteps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants