Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

nonomm
/
zimage_lora

Text-to-Image
Diffusers
lora
template:diffusion-lora
Model card Files Files and versions
xet
Community
1

Instructions to use nonomm/zimage_lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use nonomm/zimage_lora with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("Tongyi-MAI/Z-Image-Turbo", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("nonomm/zimage_lora")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
zimage_lora
854 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
nonomm's picture
nonomm
Update README.md
76fd8e9 verified 5 months ago
  • 16
    Initial commit. 5 months ago
  • .gitattributes
    1.52 kB
    initial commit 5 months ago
  • .gitignore
    9 Bytes
    Initial commit. 5 months ago
  • AGENTS.md
    2.55 kB
    Initial commit. 5 months ago
  • README.md
    1.37 kB
    Update README.md 5 months ago
  • model_card.md
    3.13 kB
    Initial commit. 5 months ago