This model was created using the
pruna library. Pruna is a model optimization framework built for developers, enabling you to deliver more efficient models with minimal implementation overhead.
And
Flux Kontext Dev
You can
use the diffusers library to load the model but this might not include all optimizations by default.
To ensure that all optimizations are applied, use the pruna library to load the model using the following code:
1from pruna import PrunaModel
2
3loaded_model = PrunaModel.from_hub(
4 "alexgenovese/FLUX.1-Kontext-dev-smashed"
5)
After loading the model, you can use the inference methods of the original model. Take a look at the
documentation for more usage information.