Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

DALabCommunity
/
Haidass-Image-Instruct

Text-to-Image
Diffusers
Safetensors
English
Chinese
flow-matching
qwen-image
ascend
lora
recursive-self-improvement
Model card Files Files and versions
xet
Community

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
Haidass-Image-Instruct / runtime
150 kB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 2 commits
creegon's picture
creegon
Release 0.1.0 (same files as staging-0.1.0 @ 90a07ac4)
7b0b7bc verified 2 days ago
  • __init__.py
    52 Bytes
    Haidass-Image-Instruct 0.0.1 preview 7 days ago
  • add_spelling.py
    806 Bytes
    Release 0.1.0 (same files as staging-0.1.0 @ 90a07ac4) 2 days ago
  • add_spelling_v2.py
    2.8 kB
    Release 0.1.0 (same files as staging-0.1.0 @ 90a07ac4) 2 days ago
  • model.py
    7.2 kB
    Release 0.1.0 (same files as staging-0.1.0 @ 90a07ac4) 2 days ago
  • normalization.py
    916 Bytes
    Haidass-Image-Instruct 0.0.1 preview 7 days ago
  • npu_attention.py
    6.65 kB
    Release 0.1.0 (same files as staging-0.1.0 @ 90a07ac4) 2 days ago
  • prompt_routing.py
    16.4 kB
    Release 0.1.0 (same files as staging-0.1.0 @ 90a07ac4) 2 days ago
  • qwenimage21_transformer.py
    48.3 kB
    Haidass-Image-Instruct 0.0.1 preview 7 days ago
  • qwenimage21_vae.py
    58.6 kB
    Haidass-Image-Instruct 0.0.1 preview 7 days ago
  • routing.py
    1.13 kB
    Release 0.1.0 (same files as staging-0.1.0 @ 90a07ac4) 2 days ago
  • sequence.py
    6.04 kB
    Release 0.1.0 (same files as staging-0.1.0 @ 90a07ac4) 2 days ago
  • spelling.py
    1 kB
    Release 0.1.0 (same files as staging-0.1.0 @ 90a07ac4) 2 days ago