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

  • Log In
  • Sign Up

codemichaeld
/
sd15_control_seg_fp8

Diffusers
Safetensors
fp8
precision-recovery
mixed-method
converted-by-gradio
Model card Files Files and versions
xet
Community

Instructions to use codemichaeld/sd15_control_seg_fp8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use codemichaeld/sd15_control_seg_fp8 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("codemichaeld/sd15_control_seg_fp8", 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
sd15_control_seg_fp8
388 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
codemichaeld's picture
codemichaeld
Upload README.md with huggingface_hub
7608555 verified 5 months ago
  • .gitattributes
    1.52 kB
    initial commit 5 months ago
  • README.md
    2.88 kB
    Upload README.md with huggingface_hub 5 months ago
  • diffusion_pytorch_model.fp16-fp8-e5m2.safetensors
    361 MB
    xet
    Upload folder using huggingface_hub 5 months ago
  • diffusion_pytorch_model.fp16-recovery.safetensors
    26.9 MB
    xet
    Upload folder using huggingface_hub 5 months ago