Fully Modular Schedulers #11158
Beinsezii
started this conversation in
Show and tell
Replies: 3 comments 4 replies
-
insane!! excited to try it |
Beta Was this translation helpful? Give feedback.
0 replies
-
hi @Beinsezii |
Beta Was this translation helpful? Give feedback.
0 replies
-
cc @stevhliu |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been working on a library for modular samplers as a side project over at skrample, which started as a simple way to use any sampler on Flux but has gained some extra features since then.
It is fully generic and extensible using traits/abc, with the only hard dependency being
numpy
.Of particular interest here is the
skrample.diffusers
module, which contains a wrapper class that presents the underlying skrample components in a way that's 100% compatible with every diffusers pipeline I was able to run in quickdif; no more havingFluxPipeline
yeeting errors on anything that's notFlowMatchEulerDiscreteScheduler
.For example,
Should set up
scheduler
such that it should be roughly equivalent toAnd will produce clean images as expected

But maybe you'd prefer the Brownian stochastic noise from
torchsde
as found in diffusers'DPMSolverSDEScheduler
Let's also be lazy and just re-use the perfectly good
pipeline.scheduler.config
, because knowing whether a model is epsilon/vpred/zsnr/flow is annoying.And now we have a brownian kitten

Overall, I've been quite happy playing with it on quickdif, and since I just tagged the first
0.1.0
, I thought it would be fun to share what I've made for the three people that read this.Beta Was this translation helpful? Give feedback.
All reactions