Downloads · 30 days
0
alexgenovese/FLUX.1-Kontext-dev-Smashed
FLUX.1-Kontext-dev-Smashed is a machine learning model from alexgenovese. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for diffusers.
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
Downloads · 30 days
0
Access
Public
Updated Aug 13, 2025
Repo size
—
Likes
0
Public
Click a slice to open those files.
.md1.6 KB · 52%
From the Hugging Face model README
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
First things first, you need to install the pruna library:
pip install pruna
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:
from pruna import PrunaModel
loaded_model = PrunaModel.from_hub(
"alexgenovese/FLUX.1-Kontext-dev-smashed"
)
After loading the model, you can use the inference methods of the original model. Take a look at the documentation for more usage information.
The compression configuration of the model is stored in the smash_config.json file, which describes the optimization methods that were applied to the model.