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 / 16
854 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
nonomm's picture
nonomm
Initial commit.
4ff3728 5 months ago
  • .job_config.json
    4.4 kB
    Initial commit. 5 months ago
  • README.md
    2.07 kB
    Initial commit. 5 months ago
  • cl4ud1a.safetensors
    85.1 MB
    xet
    Initial commit. 5 months ago
  • cl4ud1a_000001000.safetensors
    85.1 MB
    xet
    Initial commit. 5 months ago
  • cl4ud1a_000001250.safetensors
    85.1 MB
    xet
    Initial commit. 5 months ago
  • cl4ud1a_000001500.safetensors
    85.1 MB
    xet
    Initial commit. 5 months ago
  • cl4ud1a_000001750.safetensors
    85.1 MB
    xet
    Initial commit. 5 months ago
  • cl4ud1a_000002000.safetensors
    85.1 MB
    xet
    Initial commit. 5 months ago
  • cl4ud1a_000002250.safetensors
    85.1 MB
    xet
    Initial commit. 5 months ago
  • cl4ud1a_000002500.safetensors
    85.1 MB
    xet
    Initial commit. 5 months ago
  • cl4ud1a_000002750.safetensors
    85.1 MB
    xet
    Initial commit. 5 months ago
  • config.yaml
    3.22 kB
    Initial commit. 5 months ago
  • log.txt
    1.1 MB
    Initial commit. 5 months ago
  • optimizer.pt

    Detected Pickle imports (4)

    • "torch.ByteStorage",
    • "collections.OrderedDict",
    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    86.9 MB
    xet
    Initial commit. 5 months ago