Composable sampling functions for diffusion models
Project description
Skrample 0.4.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 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
- Hyper
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.4.1.tar.gz
(228.3 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.4.1-py3-none-any.whl
(25.4 kB
view details)
File details
Details for the file skrample-0.4.1.tar.gz.
File metadata
- Download URL: skrample-0.4.1.tar.gz
- Upload date:
- Size: 228.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5561e09c13010c07d596a25c5c25e27cf0b76e06632060488b3abb2ad18efa2
|
|
| MD5 |
3a5d5e3aa763cd9049fff0d8af6b79a7
|
|
| BLAKE2b-256 |
8c3aedc6a7c4002ecdacc1900d3ee70dcc2ed8121258b8f2b4a881bf1cbb8cef
|
File details
Details for the file skrample-0.4.1-py3-none-any.whl.
File metadata
- Download URL: skrample-0.4.1-py3-none-any.whl
- Upload date:
- Size: 25.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87fb1f92a677f5180df66a26d5b6dbc76741d02b56422b7ac3edb62bf706ef73
|
|
| MD5 |
cffcfa07392c23454e620233434e8abe
|
|
| BLAKE2b-256 |
682586dddb0be0f295bb98ae37a3629041ad3b1a11a63cfa97b7169713fe7f3c
|