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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

argmaxinc
/
mlx-stable-diffusion-3.5-large

Text-to-Image
DiffusionKit
MLX
English
image-generation
Model card Files Files and versions
xet
Community
2

Instructions to use argmaxinc/mlx-stable-diffusion-3.5-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • DiffusionKit

    How to use argmaxinc/mlx-stable-diffusion-3.5-large with DiffusionKit:

    # Pipeline for Stable Diffusion 3
    from diffusionkit.mlx import DiffusionPipeline
    
    pipeline = DiffusionPipeline(
    	shift=3.0,
    	use_t5=False,
    	model_version=argmaxinc/mlx-stable-diffusion-3.5-large,
    	low_memory_mode=True,
    	a16=True,
    	w16=True,
    )
    # Image Generation
    HEIGHT = 512
    WIDTH = 512
    NUM_STEPS = 50
    CFG_WEIGHT = 5
    
    image, _ = pipeline.generate_image(
      "a photo of a cat",
      cfg_weight=CFG_WEIGHT,
      num_steps=NUM_STEPS,
      latent_size=(HEIGHT // 8, WIDTH // 8),
    )
  • MLX

    How to use argmaxinc/mlx-stable-diffusion-3.5-large with MLX:

    # Download the model from the Hub
    pip install huggingface_hub[hf_xet]
    
    huggingface-cli download --local-dir mlx-stable-diffusion-3.5-large argmaxinc/mlx-stable-diffusion-3.5-large
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • LM Studio
mlx-stable-diffusion-3.5-large
16.5 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 11 commits
EduardoPacheco's picture
EduardoPacheco
Update README.md
9ee7c8b verified over 1 year ago
  • .gitattributes
    1.57 kB
    Upload sd3_on_mac.png over 1 year ago
  • README.md
    1.21 kB
    Update README.md over 1 year ago
  • config.json
    42 Bytes
    Create config.json over 1 year ago
  • sd3.5_large.safetensors
    16.5 GB
    xet
    Upload sd3.5_large.safetensors over 1 year ago
  • sd3_on_mac.png
    1.24 MB
    xet
    Upload sd3_on_mac.png over 1 year ago