Text-to-Image
Diffusers
Safetensors
MageFlowPipeline
ajh
mage-flow
mage-flow-turbo
mage-flow-turbo-nvfp4-balanced-ajh
nvfp4
fp8
blackwell
qwen3-vl
quantization
balanced
Instructions to use ajh-code/Mage-Flow-Turbo-NVFP4-Balanced-AJH with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ajh-code/Mage-Flow-Turbo-NVFP4-Balanced-AJH with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ajh-code/Mage-Flow-Turbo-NVFP4-Balanced-AJH", torch_dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
| { | |
| "_class_name": "MageFlowPipeline", | |
| "_generation_defaults": { | |
| "guidance_scale": 1.0, | |
| "num_inference_steps": 4, | |
| "static_shift": 6.0 | |
| }, | |
| "_mage_flow_version": "0.1.0", | |
| "_quantization": { | |
| "text_encoder": "comfy_kitchen_fp8_e4m3fn_scaled", | |
| "transformer": "mage_flow_nvfp4_turbo_balanced_v1" | |
| }, | |
| "_runtime_modes": { | |
| "resident": { | |
| "description": "retain text encoder, transformer, and VAE on GPU", | |
| "peak_allocated_gib_1024": 11.39 | |
| }, | |
| "staged": { | |
| "description": "offload each component after its stage", | |
| "peak_allocated_gib_1024": 5.89 | |
| } | |
| }, | |
| "_runtime_optimizations": { | |
| "cfg_one_single_branch": true, | |
| "negative_branch_condition": "guidance_scale > 1 and nonempty negative prompt" | |
| }, | |
| "_source_model": { | |
| "repo_id": "microsoft/Mage-Flow-Turbo", | |
| "revision": "34f3a2d25248500a5352646b335775c07e1bd8aa", | |
| "transformer_sha256": "6df47df3d7efc9ebdad075b87b3e9e4f74d09dca672d592271788f0ee27ab97d" | |
| }, | |
| "_text_encoder_path": "text_encoder", | |
| "_transformer_variant": { | |
| "name": "turbo_balanced", | |
| "native_runtime_defaults": { | |
| "activation_scale_search": "amax", | |
| "down_activation_scale_multiplier": 0.75, | |
| "up_activation_scale_multiplier": 1.0 | |
| } | |
| }, | |
| "_vae_source": "vae/diffusion_pytorch_model.safetensors", | |
| "scheduler": [ | |
| "diffusers", | |
| "FlowMatchEulerDiscreteScheduler" | |
| ], | |
| "text_encoder": [ | |
| "transformers", | |
| "Qwen3VLForConditionalGeneration" | |
| ], | |
| "tokenizer": [ | |
| "transformers", | |
| "AutoProcessor" | |
| ], | |
| "transformer": [ | |
| "mage_flow", | |
| "MageFlow" | |
| ], | |
| "vae": [ | |
| "mage_flow", | |
| "MageVAE" | |
| ] | |
| } | |