Composable sampling functions for diffusion models
Project description
Skrample 0.1.1
Composable sampling functions for diffusion models
Status
Vertical slice, overtaking most 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
My diffusers cli quickdif has full support for all major Skrample features, allowing extremely fine-grained customization.
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.1.tar.gz
(21.9 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.1-py3-none-any.whl
(19.2 kB
view details)
File details
Details for the file skrample-0.1.1.tar.gz.
File metadata
- Download URL: skrample-0.1.1.tar.gz
- Upload date:
- Size: 21.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba3334feb3c7f41e1fe4f4324ab173f77cc2479649fcc32747736fe14a366c27
|
|
| MD5 |
09382ffb45ed241e04421515bccd8a7c
|
|
| BLAKE2b-256 |
e736ef0a420347e44a132b9e9c88b5d2016e72bf03f506e0d9a6434d8e2fed64
|
File details
Details for the file skrample-0.1.1-py3-none-any.whl.
File metadata
- Download URL: skrample-0.1.1-py3-none-any.whl
- Upload date:
- Size: 19.2 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 |
90b84da4d4ceaca175dcdcd06a4b472156bcf8d2adab78a54f42fde30e18608e
|
|
| MD5 |
8551c703f9abdf4b513396f71a51a0d2
|
|
| BLAKE2b-256 |
0f1a143c24248bf4fce570d6cfda67b1d865918c3a42b0390fe482d7d0887a97
|