Instructions to use SearchingMan/Z-Image-Turbo-student-adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use SearchingMan/Z-Image-Turbo-student-adapter with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("SearchingMan/Z-Image-Turbo-student-adapter", 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
- Draw Things
- DiffusionBee
File size: 826 Bytes
0179f45 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | {
"base_repo": "Tongyi-MAI/Z-Image-Turbo",
"student_source": "/content/drive/MyDrive/zimage_distillkit_contract_qwen17b/run_20260414_092303/phase2",
"adapter_source": "/content/drive/MyDrive/zimage_distillkit_contract_qwen17b/run_20260414_092303/phase2/custom_adapter",
"adapter_config": {
"base_student_model": "Qwen/Qwen3-1.7B",
"teacher_model": "Tongyi-MAI/Z-Image-Turbo",
"zimage_source": "/content/hf_models_unzipped/Z-Image-Turbo",
"student_hidden_size": 2048,
"teacher_hidden_size": 2560,
"adapter_dim": 1024,
"adapter_heads": 8,
"adapter_blocks": 2,
"adapter_ff_mult": 4,
"adapter_dropout": 0.1,
"hs_tap_index": -2,
"layer_mapping": [
[
-2,
-2
]
],
"zimage_enable_thinking": true
},
"created_at_unix": 1778152795.3211486
} |