玩模型开放模型 · 清晰来源 · 自主选择
返回模型目录
DogEasy /

FLUX.2-klein-4B-abliterated-amdnpu

HF 源站

DogEasy/FLUX.2-klein-4B-abliterated-amdnpu is an uncensored open-source model hosted on Hugging Face.

Text-to-ImagesafetensorsONNXEnglish4Bfluxflux2image-to-imageRyzenAIquantizationNPU
README.md说明 / 使用方法

language:

  • en pipeline_tag: text-to-image library_name: onnx base_model:
  • amd/FLUX.2-klein-4B-amdnpu
  • ponpoke/flux2-klein-4b-uncensored-text-encoder tags:
  • flux
  • flux2
  • image-to-image
  • RyzenAI
  • ONNX
  • quantization
  • NPU

FLUX.2 [klein] 4B Abliterated on AMD AI PC NPU

This is a modified version of AMD's FLUX.2 [klein] 4B NPU model, with its Qwen3-4B text encoder replaced by the abliterated text encoder from ponpoke.

The replacement text encoder is exported to ONNX and quantized to 4-bit MatMulNBits (block size 128, asymmetric), retaining the original AMD text encoder's input/output interface. The AMD-optimized transformer and VAE decoder are unchanged.

Model Details

The directory layout follows the original AMD model:

scheduler/
text_encoder/
tokenizer/
transformer/
vae_decoder/
  • Text encoder: Abliterated Qwen3-4B, INT4 ONNX, running through DirectML/CPU.
  • Transformer and VAE decoder: Original AMD NPU-optimized models.
  • Prompt embeddings: FP16, [batch, 256, 7680].
  • Inference: FLUX.2 [klein] 4B distilled, 4 steps.

Intended Use

Use with AMD GenAI-SD (sd-sandbox) and Ryzen AI 1.8.0:

python .\test\run.py --model_id "amd/FLUX.2-klein-4B-amdnpu" --model_path "PATH_TO_THIS_MODEL" --prompt "A photorealistic red apple on a wooden table" -n 4 -W 1024 -H 1024 --seed 42

Credits and License

  • Black Forest Labs — FLUX.2 [klein] 4B
  • AMD — FLUX.2 [klein] 4B AMD NPU
  • ponpoke — Abliterated text encoder

See the respective upstream repositories for applicable licenses and redistribution terms, especially those of the modified text encoder. This is an unofficial derivative and is not endorsed by AMD or Black Forest Labs.

HUGGING FACE

上游数据

HF 下载量0
HF 点赞量0

HF 下载量为源站最近 30 天统计,与本站点击分开。

SITE STATS

本站统计

下载点击—
请求数—
匿名去重—最近 7 天—

本站下载量记录按钮点击,不代表下载完成;短时连点会去重。

来源与版本

作者
DogEasy
最近更新
2026/10/12
最新创建
2026/10/12
HF 趋势
未知
数据快照
2026/10/12
版本
未知
许可证
unknown