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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

SG161222
/
SPARK.Chroma_preview

Text-to-Image
Diffusers
Safetensors
English
ChromaPipeline
Model card Files Files and versions
xet
Community
3

Instructions to use SG161222/SPARK.Chroma_preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use SG161222/SPARK.Chroma_preview with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("SG161222/SPARK.Chroma_preview", 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
SPARK.Chroma_preview / text_encoder
9.52 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
SG161222's picture
SG161222
Upload 19 files
8dcbac0 verified 7 months ago
  • config.json
    772 Bytes
    Upload 19 files 7 months ago
  • model-00001-of-00005.safetensors
    1.94 GB
    xet
    Upload 19 files 7 months ago
  • model-00002-of-00005.safetensors
    1.93 GB
    xet
    Upload 19 files 7 months ago
  • model-00003-of-00005.safetensors
    1.93 GB
    xet
    Upload 19 files 7 months ago
  • model-00004-of-00005.safetensors
    1.93 GB
    xet
    Upload 19 files 7 months ago
  • model-00005-of-00005.safetensors
    1.8 GB
    xet
    Upload 19 files 7 months ago
  • model.safetensors.index.json
    20.1 kB
    Upload 19 files 7 months ago