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

  • Log In
  • Sign Up

spicecloud
/
spice-diffusion

Text-to-Image
Diffusers
Safetensors
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
Model card Files Files and versions
xet
Community
1

Instructions to use spicecloud/spice-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use spicecloud/spice-diffusion with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("spicecloud/spice-diffusion", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "A high tech solarpunk utopia in the Amazon rainforest"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
spice-diffusion / safety_checker
3.65 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 2 commits
rhendz's picture
rhendz
9862ffb0dd971e59e511038aa6c8d9fe18be895f6b9071724bec762e208b6496
3f589a4 almost 3 years ago
  • config.json
    4.56 kB
    896fa9cebead92fc3bd8242175c54e4488029506a1d02730f6dd23c2c71baab3 almost 3 years ago
  • model.fp16.safetensors
    608 MB
    xet
    896fa9cebead92fc3bd8242175c54e4488029506a1d02730f6dd23c2c71baab3 almost 3 years ago
  • model.safetensors
    1.22 GB
    xet
    896fa9cebead92fc3bd8242175c54e4488029506a1d02730f6dd23c2c71baab3 almost 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage",
    • "torch.LongStorage"

    What is a pickle import?

    1.22 GB
    xet
    9862ffb0dd971e59e511038aa6c8d9fe18be895f6b9071724bec762e208b6496 almost 3 years ago
  • pytorch_model.fp16.bin

    Detected Pickle imports (4)

    • "torch.LongStorage",
    • "torch.HalfStorage",
    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    608 MB
    xet
    9862ffb0dd971e59e511038aa6c8d9fe18be895f6b9071724bec762e208b6496 almost 3 years ago