Run this model with HF Jobs
Run mlx-community/flux2-klein-9b-8bit on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/mlx-community/flux2-klein-9b-8bit. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/mlx-community/flux2-klein-9b-8bit on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use mlx-community/flux2-klein-9b-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/flux2-klein-9b-8bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download mlx-community/flux2-klein-9b-8bit --local-dir flux2-klein-9b-8bit
- mflux
How to use mlx-community/flux2-klein-9b-8bit with mflux:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
mlx-community/flux2-klein-9b-8bit
This repository contains the 8-bit quantized weights for black-forest-labs/FLUX.2-klein-9B, generated using the mflux framework.
Quantized and Contributed by: @lpalbou
Usage
You can run this model locally on Apple Silicon using mflux:
pip install mflux
mflux-generate-flux2 --model mlx-community/flux2-klein-9b-8bit --prompt "A beautiful pencil sketch of a landscape" --steps 4 --seed 42
Hardware compatibility
Log In to add your hardware
Quantized
Model tree for mlx-community/flux2-klein-9b-8bit
Base model
black-forest-labs/FLUX.2-klein-9B