Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DDIM timestep construction can exceed the training schedule or produce more evaluations than requested (for example, 333 or 128 steps out of 1,000). The first transition also retains a non-unit previous cumulative alpha, leaving residual noise at the intended clean-data boundary.
Use a bounded grid of exactly the requested number of levels, validate the step count and set the final predecessor alpha to one. A one-step sampler starts at the terminal training level. The correction changes the shifted default grid and deterministic seeded outputs.
Fifty regressions cover uniform/quadratic grids, Gaussian DDIM transition formulas, invalid counts and an exactly solvable denoising trajectory through the genuine LatentDiffusion wrapper. Validated with the complete genuine package on Python 3.12.10 / Torch 2.14.1 CPU / labml 0.4.168: the same 50 frozen regressions change from 38 failures and 12 passes to 50 passes, without skips or collection errors. The recorded upstream HEAD has no formal tracked unit-test suite; no pretrained encoder, image-quality or CUDA result is claimed.