Buckets:
ConsistencyDecoderScheduler
This scheduler is a part of the ConsistencyDecoderPipeline and was introduced in DALL-E 3.
The original codebase can be found at openai/consistency_models.
ConsistencyDecoderScheduler[[diffusers.schedulers.ConsistencyDecoderScheduler]]
class diffusers.schedulers.ConsistencyDecoderSchedulerdiffusers.schedulers.ConsistencyDecoderScheduler
scale_model_inputdiffusers.schedulers.ConsistencyDecoderScheduler.scale_model_inputtorch.Tensor) --
The input sample.
- timestep (
int, optional) -- The current timestep in the diffusion chain.0torch.TensorA scaled input sample.
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep.
stepdiffusers.schedulers.ConsistencyDecoderScheduler.steptorch.Tensor) --
The direct output from the learned diffusion model.
- timestep (
float) -- The current timestep in the diffusion chain. - sample (
torch.Tensor) -- A current instance of a sample created by the diffusion process. - generator (
torch.Generator, optional) -- A random number generator. - return_dict (
bool, optional, defaults toTrue) -- Whether or not to return a~schedulers.scheduling_consistency_models.ConsistencyDecoderSchedulerOutputortuple.0~schedulers.scheduling_consistency_models.ConsistencyDecoderSchedulerOutputortupleIf return_dict isTrue,~schedulers.scheduling_consistency_models.ConsistencyDecoderSchedulerOutputis returned, otherwise a tuple is returned where the first element is the sample tensor.
Predict the sample from the previous timestep by reversing the SDE. This function propagates the diffusion process from the learned model outputs (most often the predicted noise).
Xet Storage Details
- Size:
- 3.66 kB
- Xet hash:
- 18adc0eb6b70c719b28ca9b9276c0a76718e3544f00321f6c8ea11dfaea3480c
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.