Composable sampling functions for diffusion models
Project description
skrample
Composable sampling functions for diffusion models
Status
Vertical slice, gradually overtaking many diffusers features in quickdif
Feature Flags
beta-schedule->scipy: For theBeta()schedule modifierbrownian-noise->torchsde: For theBrownian()noise generatordiffusers-wrapper->torch: For thediffusersintegration modulepytorch->torch: For thepytorchmodulepytorch.noise: Custom generators
all: All of the abovedev: For runningtests/
Samplers
- Euler
- Ancestral
- DPM
- 1st order, 2nd order, 3rd order
- SDE
- IPNDM
- Ancestral (from Euler)
- UniPC
- N order, limited to 9 for stability
- Custom solver via other SkrampleSampler types
Schedules
- Linear
- Scaled
uniformflag, AKA"trailing"in diffusers
- Flow
- Dynamic and non-dynamic shifting
- ZSNR
Schedule modifiers
- Karras
- Exponential
- Beta
Predictors
- Epsilon
- Velocity / vpred
- Flow
Noise generators
- Random
- Brownian
- Offset
- Pyramid
Integrations
Diffusers
- Compatibility for pipelines
- SD1
- SDXL
- SD3
- Flux
- Others?
- Import from config
- Sampler
- Not sure this is even worthwhile. All Skrample samplers work everywhere
- Schedule
- Predictor
- Sampler
- Manage state
- Steps
- Higher order
- Generators
- Config as presented
Implementations
quickdif
A basic test bed is available for https://github.com/Beinsezii/quickdif.git on the skrample branch
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
skrample-0.1.0.tar.gz
(21.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
skrample-0.1.0-py3-none-any.whl
(19.3 kB
view details)
File details
Details for the file skrample-0.1.0.tar.gz.
File metadata
- Download URL: skrample-0.1.0.tar.gz
- Upload date:
- Size: 21.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e9c3d23485131e34dbf47e481f49389529fe17aedc4df670ea141e71e413bfc
|
|
| MD5 |
f5e91eb651c86bd34a757e94d475f009
|
|
| BLAKE2b-256 |
38ac05f38002612df43b5fd10946093aa8d225242cef5a1210b7278095d7c5d2
|
File details
Details for the file skrample-0.1.0-py3-none-any.whl.
File metadata
- Download URL: skrample-0.1.0-py3-none-any.whl
- Upload date:
- Size: 19.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c6ece51bc39368a733155a2abd638080e3a220f7a8ae48fc8bfc040e51db18d
|
|
| MD5 |
c05a5cafc9eafa62320ec2d25cf82db2
|
|
| BLAKE2b-256 |
149a402e5435f48a9f0cdb66a9ae9ffc23e346fc89df28e7503bd6109e4f96c0
|