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

riffusion
/
riffusion-model-v1

Text-to-Audio
Diffusers
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
Model card Files Files and versions
xet
Community
31

Instructions to use riffusion/riffusion-model-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use riffusion/riffusion-model-v1 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("riffusion/riffusion-model-v1", 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
riffusion-model-v1
21.8 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 17 commits
patrickvonplaten's picture
patrickvonplaten
Remove text to image tag
8f2e752 almost 3 years ago
  • feature_extractor
    v1 model upload over 3 years ago
  • safety_checker
    v1 model upload over 3 years ago
  • scheduler
    v1 model upload over 3 years ago
  • seed_images
    png not jpeg over 3 years ago
  • text_encoder
    v1 model upload over 3 years ago
  • tokenizer
    v1 model upload over 3 years ago
  • unet
    v1 model upload over 3 years ago
  • unet_traced
    v1 model upload over 3 years ago
  • vae
    v1 model upload over 3 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • README.md
    4.96 kB
    Remove text to image tag almost 3 years ago
  • model_index.json
    541 Bytes
    Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`. (#27) about 3 years ago
  • riffusion-model-v1.ckpt

    Detected Pickle imports (9)

    • "torch.FloatStorage",
    • "numpy.dtype",
    • "torch.LongStorage",
    • "_codecs.encode",
    • "collections.OrderedDict",
    • "torch.IntStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "pytorch_lightning.callbacks.model_checkpoint.ModelCheckpoint",
    • "numpy.core.multiarray.scalar"

    How to fix it?

    14.6 GB
    xet
    adding ckpt over 3 years ago