---
title: Mage-Flow-Edit-FP8
canonical_url: "https://www.modelscope.cn/models/AI-ModelScope/Mage-Flow-Edit-FP8"
md_url: "https://www.modelscope.cn/models/AI-ModelScope/Mage-Flow-Edit-FP8.md"
repository: AI-ModelScope/Mage-Flow-Edit-FP8
last_updated: 2026-07-23
license: mit
pipeline_tag: image-to-image
tasks:
  - image-to-image
base_model:
  - microsoft/Mage-Flow-Edit
  - microsoft/Mage-Flow-Edit-Turbo
base_model_relation: quantized
parameters: 12.9B
tensor_type:
  - F8_E4M3
  - U8
  - F32
  - I64
  - BF16
library_name:
  - safetensors
  - pytorch
frameworks:
  - pytorch
downloads: 174
stars: 0
tags:
  - image-to-image
  - image-editing
  - instruction-based-editing
  - diffusion
  - rectified-flow
  - mage-flow
  - comfyui
  - fp8
---

# Mage-Flow-Edit-FP8

> Mage-Flow-Edit-FP8 - AI-ModelScope 在 ModelScope 开源的模型。ComfyUI FP8 checkpoints

AI-ModelScope/Mage-Flow-Edit-FP8 是 ModelScope 魔搭社区上的 12.9B 参数image-to-image模型，采用 mit 许可，基于 microsoft/Mage-Flow-Edit、microsoft/Mage-Flow-Edit-Turbo 构建。

- **Repository**: AI-ModelScope/Mage-Flow-Edit-FP8
- **License**: mit
- **Tasks**: image-to-image
- **Parameters**: 12.9B
- **Base model**: microsoft/Mage-Flow-Edit, microsoft/Mage-Flow-Edit-Turbo
- **Tags**: image-to-image, image-editing, instruction-based-editing, diffusion, rectified-flow, mage-flow, comfyui, fp8
- **Downloads**: 174
- **Stars**: 0
- **Last updated**: 2026-07-23

Source: https://www.modelscope.cn/models/AI-ModelScope/Mage-Flow-Edit-FP8

---

# ComfyUI FP8 checkpoints

This repository provides ComfyUI-ready checkpoints derived from the official
[Microsoft Mage-Flow-Edit](https://huggingface.co/microsoft/Mage-Flow-Edit)
and
[Mage-Flow-Edit-Turbo](https://huggingface.co/microsoft/Mage-Flow-Edit-Turbo)
weights.

Mage-Flow is not currently supported by official ComfyUI. To load and run
these checkpoints, use the custom nodes and workflows from
[starsFriday/ComfyUI-MageFlow](https://github.com/starsFriday/ComfyUI-MageFlow).

| File | Component | Recommended settings |
| :--- | :--- | :--- |
| `mage_flow_edit_fp8_e4m3fn_scaled.safetensors` | Mage-Flow-Edit transformer, scaled FP8 weights | 30 steps, CFG 5.0, Euler, simple |
| `mage_flow_edit_turbo_fp8_e4m3fn_scaled.safetensors` | Mage-Flow-Edit-Turbo transformer, scaled FP8 weights | 4 steps, CFG 1.0, Euler, simple |
| `qwen3vl_4b_fp8_scaled.safetensors` | Qwen3-VL 4B text encoder, scaled FP8 weights | Use the Mage-Flow prompt template |
| `flux2-vae.safetensors` | Flux2 VAE | Recommended for the current ComfyUI workflow |
| `mage_vae_bf16.safetensors` | Original Mage-VAE in BF16 | Included for compatibility; see the warning below |

The FP8 transformer files use scaled FP8 weight storage with
BF16/full-precision matrix multiplication. In the ComfyUI model loader, select
`weight_dtype = bf16`; activation-quantized fast FP8 matrix multiplication can
make the four-step Turbo checkpoint collapse into structured noise.

> [!WARNING]
> The official Mage VAE currently produces garbled or noise-like decoded images
> in this ComfyUI workflow. Use `flux2-vae.safetensors` for normal image
> decoding. `mage_vae_bf16.safetensors` is retained as the original BF16
> reference checkpoint.

## ComfyUI custom nodes

Use the workflows and loader/conditioning nodes from:

**[starsFriday/ComfyUI-MageFlow](https://github.com/starsFriday/ComfyUI-MageFlow)**

Install the node package under `ComfyUI/custom_nodes` and place the downloaded
files as follows:

```text
ComfyUI/
├── custom_nodes/
│   └── ComfyUI-MageFlow/
└── models/
    ├── diffusion_models/
    │   ├── mage_flow_edit_fp8_e4m3fn_scaled.safetensors
    │   └── mage_flow_edit_turbo_fp8_e4m3fn_scaled.safetensors
    ├── text_encoders/
    │   └── qwen3vl_4b_fp8_scaled.safetensors
    └── vae/
        ├── flux2-vae.safetensors
        └── mage_vae_bf16.safetensors
```

Restart ComfyUI after installing or replacing the files so its node and model
caches are refreshed.
