Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

CodeGoat24
/
FLUX.1-dev-PrefGRPO

Text-to-Image
Diffusers
Safetensors
FluxPipeline
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Diffusers

    How to use CodeGoat24/FLUX.1-dev-PrefGRPO with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("CodeGoat24/FLUX.1-dev-PrefGRPO", 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
  • Local Apps
  • Draw Things
  • DiffusionBee
FLUX.1-dev-PrefGRPO
33.7 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 9 commits
CodeGoat24's picture
CodeGoat24
Update README.md
256aa56 verified 8 months ago
  • scheduler
    Upload FluxPipeline 9 months ago
  • text_encoder
    Upload FluxPipeline 9 months ago
  • text_encoder_2
    Upload FluxPipeline 9 months ago
  • tokenizer
    Upload FluxPipeline 9 months ago
  • tokenizer_2
    Upload FluxPipeline 9 months ago
  • transformer
    Update transformer/config.json 9 months ago
  • vae
    Update vae/config.json 9 months ago
  • .gitattributes
    1.52 kB
    initial commit 9 months ago
  • README.md
    3.91 kB
    Update README.md 8 months ago
  • model_index.json
    720 Bytes
    Upload FluxPipeline 9 months ago