Downloads · 30 days
0
Yuvrajxms09/quant-FLUX2-klein4B-modelopt
quant-FLUX2-klein4B-modelopt is a machine learning model from Yuvrajxms09. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This repo stores NVIDIA Model Optimizer checkpoints for FLUX.2 Klein 4B transformer quantization variants.
Downloads · 30 days
0
Access
Public
Updated Apr 8, 2026
Repo size
23.3 GB
Likes
0
Public
Click a slice to open those files.
.pt23.3 GB · 100%
From the Hugging Face model README
This repo stores NVIDIA Model Optimizer checkpoints for FLUX.2 Klein 4B transformer quantization variants.
fp8/transformer_modelopt.ptfp8/transformer_modelopt_meta.jsonw8a8/transformer_modelopt.ptw8a8/transformer_modelopt_meta.jsonnvfp4/transformer_modelopt.ptnvfp4/transformer_modelopt_meta.jsonimport modelopt.torch.opt as mto
from klein_pipeline import Flux2KleinPipeline
import torch
pipe = Flux2KleinPipeline.from_pretrained(
"black-forest-labs/FLUX.2-klein-4B", torch_dtype=torch.bfloat16
).to("cuda")
ckpt = "fp8/transformer_modelopt.pt" # or w8a8 / nvfp4
mto.restore(pipe.transformer, ckpt)
pipe.transformer.eval()
Uploaded from Modal volume klein4B-assets.