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

HighCWu
/
FLUX.1-dev-4bit

Diffusers
Safetensors
8-bit precision
Model card Files Files and versions
xet
Community
9

Instructions to use HighCWu/FLUX.1-dev-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use HighCWu/FLUX.1-dev-4bit with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("HighCWu/FLUX.1-dev-4bit", torch_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
FLUX.1-dev-4bit
9.02 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
HighCWu's picture
HighCWu
Upload models
c6f390a almost 2 years ago
  • text_encoder_2
    Upload models almost 2 years ago
  • transformer
    Upload models almost 2 years ago
  • .gitattributes
    1.56 kB
    Update .gitattributes almost 2 years ago
  • LICENSE.black-forest-labs
    16.9 kB
    Upload configs almost 2 years ago
  • README.md
    2.74 kB
    Upload configs almost 2 years ago
  • blue_cat.png
    1.32 MB
    xet
    Upload configs almost 2 years ago