Composable sampling functions for diffusion models
Project description
Skrample 0.2.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
- 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
- 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.2.1.tar.gz
(28.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.2.1-py3-none-any.whl
(23.6 kB
view details)
File details
Details for the file skrample-0.2.1.tar.gz.
File metadata
- Download URL: skrample-0.2.1.tar.gz
- Upload date:
- Size: 28.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a10c33195ee57f06886887d6885d83fd9036c648ff07dfcca665ad8ae072e4ea
|
|
| MD5 |
2ba06b853bdb7fa71cb71d045a270ad1
|
|
| BLAKE2b-256 |
7687c408734ec95550e9f19ab1bde2f94f21f69ae713cda60217bca0ea3e1256
|
File details
Details for the file skrample-0.2.1-py3-none-any.whl.
File metadata
- Download URL: skrample-0.2.1-py3-none-any.whl
- Upload date:
- Size: 23.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b00334c236ca383e9ba56beae4fd81b3e4c0dff2e119a4258fe6a47e58f1612
|
|
| MD5 |
f27c5394325dba5e88ce0f4bf73de098
|
|
| BLAKE2b-256 |
925fc04450b2d57f16bf461f5e6778c9b81b44b2ed6a51582cb6190b3d14d45a
|