Composable sampling functions for diffusion models
Mostly complete for common models, superseding all diffusers features in quickdif
Fastest way to jump in is examples. The classes and functions themselves have docstrings and type hints, so it's recommended to make liberal use of your IDE or python help()
beta-schedule
->scipy
: For theBeta()
schedule modifierbrownian-noise
->torchsde
: For theBrownian()
noise generatorcdf-schedule
->scipy
: For theSigmoidCDF()
schedulediffusers-wrapper
->torch
: For thediffusers
integration modulepytorch
->torch
: For thepytorch
modulepytorch.noise
: Custom generators
all
: All of the abovedev
: For runningtests/
- Euler
- DPM
- 1st order, 2nd order, 3rd order
- SDE
- Adams/IPNDM
- UniP & UniPC
- N order, limited to 9 for stability
- Custom solver via other SkrampleSampler types
- SPC
- Basic fully customizable midpoint corrector
- Linear
- Scaled
uniform
flag, AKA"trailing"
in diffusers
- SigmaCDF
- ZSNR
- Karras
- Exponential
- FlowShift
- Beta
- Hyper
- Epsilon
- Velocity / vpred
- Flow
- Random
- Brownian
- Offset
- Pyramid
- Compatibility for pipelines
- SD1
- SDXL
- SD3
- Flux
- Import from config
- Sampler
- Schedule
- Predictor
- Manage state
- Steps
- Higher order
- Generators
- Config as presented
My diffusers cli quickdif has full support for all major Skrample features, allowing extremely fine-grained customization.