Text-to-Image
Diffusers
Safetensors
English
Chinese
flow-matching
qwen-image
ascend
lora
recursive-self-improvement
Instructions to use DALabCommunity/Haidass-Image-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use DALabCommunity/Haidass-Image-Instruct with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("DALabCommunity/Haidass-Image-Base-v1_0.6B_512px", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("DALabCommunity/Haidass-Image-Instruct") 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
Download config.json from DALabCommunity/Haidass-Image-Instruct: direct link, hf CLI and curl.
- Browser
- Download file 1.02 kB
-
https://huggingface.co/DALabCommunity/Haidass-Image-Instruct/resolve/main/config.json
- Command line
-
hf download hf://DALabCommunity/Haidass-Image-Instruct/config.json
-
curl -L -o config.json https://huggingface.co/DALabCommunity/Haidass-Image-Instruct/resolve/main/config.json
1.02 kB
| { | |
| "architecture": "PackedSingleStreamDiT", | |
| "dit": { | |
| "num_layers": 34, | |
| "num_attention_heads": 9, | |
| "attention_head_dim": 128, | |
| "context_in_dim": 1024, | |
| "mlp_ratio": 3, | |
| "in_channels": 64, | |
| "out_channels": 64, | |
| "patch_size": 1, | |
| "axes_dims_rope": [ | |
| 16, | |
| 56, | |
| 56 | |
| ], | |
| "causal_condition": true | |
| }, | |
| "text_encoder": { | |
| "repository": "Qwen/Qwen3-0.6B", | |
| "output": "last_hidden_state", | |
| "layers": 28, | |
| "width": 1024, | |
| "max_length": 256, | |
| "padding_side": "right", | |
| "unconditional": "eos_token" | |
| }, | |
| "inference": { | |
| "resolution": 512, | |
| "cfg": 8.0, | |
| "sampler": "euler", | |
| "steps": 50, | |
| "start": 1.0, | |
| "end": 0.0, | |
| "timestep_shift": 1.0, | |
| "cfg_lower": 0.0, | |
| "cfg_upper": 1.0, | |
| "latents": "standard_normal", | |
| "cfg_norm": "none", | |
| "writing_cfg": 8.0, | |
| "writing_cfg_norm": "none" | |
| }, | |
| "routing": { | |
| "writing_adapter": "writing_lora", | |
| "trigger": "display_text_routing", | |
| "spelling": "evaluation" | |
| } | |
| } | |