Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • 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

SceneWorks
/
qwen-image-2-1-mlx

Diffusers
Safetensors
Model card Files Files and versions
xet
Community

Instructions to use SceneWorks/qwen-image-2-1-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use SceneWorks/qwen-image-2-1-mlx with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("SceneWorks/qwen-image-2-1-mlx", 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
qwen-image-2-1-mlx
32.9 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
SceneWorks's picture
SceneWorks
Qwen-Image 2.1 q4 tier (pre-quantized, group 64; derived bundle under the Qwen Research License β€” see q4/CHANGES.md and q4/SHA256SUMS)
1691de0 verified 19 days ago
  • q4
    Qwen-Image 2.1 q4 tier (pre-quantized, group 64; derived bundle under the Qwen Research License β€” see q4/CHANGES.md and q4/SHA256SUMS) 19 days ago
  • q8
    Qwen-Image 2.1 q8 tier (pre-quantized, group 64; derived bundle under the Qwen Research License β€” see q8/CHANGES.md and q8/SHA256SUMS) 19 days ago
  • .gitattributes
    1.65 kB
    Qwen-Image 2.1 q4 tier (pre-quantized, group 64; derived bundle under the Qwen Research License β€” see q4/CHANGES.md and q4/SHA256SUMS) 19 days ago