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 / vae
168 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 2 commits
CodeGoat24's picture
CodeGoat24
Update vae/config.json
292f2b7 verified 9 months ago
  • config.json
    818 Bytes
    Update vae/config.json 9 months ago
  • diffusion_pytorch_model.safetensors
    168 MB
    xet
    Upload FluxPipeline 9 months ago