Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

schrum2
/
MarioDiffusion-MLM-regular0

Diffusers
Safetensors
TextConditionalDDPMPipeline
Model card Files Files and versions
xet
Community

Instructions to use schrum2/MarioDiffusion-MLM-regular0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use schrum2/MarioDiffusion-MLM-regular0 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("schrum2/MarioDiffusion-MLM-regular0", 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
MarioDiffusion-MLM-regular0 / models
28.2 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
schrum2's picture
schrum2
better error message
d57cf30 verified over 1 year ago
  • latent_diffusion_pipeline.py
    3.94 kB
    models dir back over 1 year ago
  • pipeline_loader.py
    1.79 kB
    better error message over 1 year ago
  • text_diffusion_pipeline.py
    22.4 kB
    models dir back over 1 year ago