Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

Clipping min and max values on scheduler #494

@virginiafdez

Description

@virginiafdez

The clip_sample option for the DDPM and DDIM schedulers clip the predicted noise between -1 and 1. This procedure was borrowed from the SD implementation, and it should be allowed for the user to specify them; for latent diffusion models, where ranges are ~Gaussian, clipping can hinder the training process. This is also in response to Discussion #492: #492.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions