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

xiangjx
/
MuPaD-512

Diffusers
Safetensors
PyTorch
English
SiTPipeline
histology
pathology
vision
diffusion
flow
vit
Model card Files Files and versions
xet
Community

Instructions to use xiangjx/MuPaD-512 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use xiangjx/MuPaD-512 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("xiangjx/MuPaD-512", 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
MuPaD-512
7.32 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
xiangjx's picture
xiangjx
Update README.md
f7c9a9a verified 5 months ago
  • models
    Initial model upload via upload_to_hf.py 5 months ago
  • musk
    Delete musk/__pycache__ 5 months ago
  • musk_weights
    Initial model upload via upload_to_hf.py 5 months ago
  • scheduler
    Initial model upload via upload_to_hf.py 5 months ago
  • transformer
    Initial model upload via upload_to_hf.py 5 months ago
  • vae
    Initial model upload via upload_to_hf.py 5 months ago
  • .gitattributes
    1.72 kB
    Upload fig2.png 5 months ago
  • LICENSE
    19.1 kB
    Initial model upload via upload_to_hf.py 5 months ago
  • README.md
    4.56 kB
    Update README.md 5 months ago
  • demo.py
    3.73 kB
    Update demo.py 5 months ago
  • fig1.png
    2.36 MB
    xet
    Upload fig1.png 5 months ago
  • fig2.png
    1.62 MB
    xet
    Upload fig2.png 5 months ago
  • model_index.json
    166 Bytes
    Initial model upload via upload_to_hf.py 5 months ago
  • pipeline.py
    20.9 kB
    Initial model upload via upload_to_hf.py 5 months ago
  • samplers.py
    12.7 kB
    Initial model upload via upload_to_hf.py 5 months ago
  • test_image.png
    787 kB
    xet
    Initial model upload via upload_to_hf.py 5 months ago