Composable sampling functions for diffusion models
Project description
Skrample 0.3.0
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 generatorcdf-schedule->scipy: For theSigmoidCDF()schedulediffusers-wrapper->torch: For thediffusersintegration modulepytorch->torch: For thepytorchmodulepytorch.noise: Custom generators
all: All of the abovedev: For runningtests/
Samplers
- 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
Schedules
- Linear
- Scaled
uniformflag, AKA"trailing"in diffusers
- SigmaCDF
- ZSNR
Schedule modifiers
- Karras
- Exponential
- FlowShift
- 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
- Schedule
- Predictor
- 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.3.0.tar.gz
(148.7 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.3.0-py3-none-any.whl
(24.9 kB
view details)
File details
Details for the file skrample-0.3.0.tar.gz.
File metadata
- Download URL: skrample-0.3.0.tar.gz
- Upload date:
- Size: 148.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ba55086b4a54a6c50b8a109cb90234f276fb058849845ed003d457df8136e5b
|
|
| MD5 |
3d1377b0e059a6099a8ac5c178a5df85
|
|
| BLAKE2b-256 |
d4887f33a4007f89cc35f49d8f539092fa02e82b0f20b1697911267a611de51e
|
File details
Details for the file skrample-0.3.0-py3-none-any.whl.
File metadata
- Download URL: skrample-0.3.0-py3-none-any.whl
- Upload date:
- Size: 24.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79892eb14ab5361057e67bd8a425bab059c63591fa86f61ec113ff90dd9fbbab
|
|
| MD5 |
e88dd9924a157ad77f879b7729a7fbb9
|
|
| BLAKE2b-256 |
4f98fbf956fcdea3395f82084a6133af0dde422f1f845399dead52b653e7f75c
|