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

SceneWorks
/
flux2-dev-mlx

Text-to-Image
Diffusers
Safetensors
MLX
flux
quantized
Model card Files Files and versions
xet
Community

Instructions to use SceneWorks/flux2-dev-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use SceneWorks/flux2-dev-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/flux2-dev-mlx", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • MLX

    How to use SceneWorks/flux2-dev-mlx with MLX:

    # Download the model from the Hub
    pip install huggingface_hub[hf_xet]
    
    huggingface-cli download --local-dir flux2-dev-mlx SceneWorks/flux2-dev-mlx
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • LM Studio
  • Draw Things
  • DiffusionBee
flux2-dev-mlx / q4
33.6 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
SceneWorks's picture
SceneWorks
Add files using upload-large-folder tool
0670fa0 verified 1 day ago
  • text_encoder
    Add files using upload-large-folder tool 1 day ago
  • tokenizer
    Add files using upload-large-folder tool 1 day ago
  • transformer
    Add files using upload-large-folder tool 1 day ago
  • vae
    Add files using upload-large-folder tool 1 day ago
  • LICENSE.md
    18.2 kB
    Add files using upload-large-folder tool 1 day ago
  • model_index.json
    431 Bytes
    Add files using upload-large-folder tool 1 day ago