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

  • Log In
  • Sign Up

tranmc
/
model-diffuser

Diffusers
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use tranmc/model-diffuser with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("tranmc/model-diffuser", 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
model-diffuser
9.81 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
tranmc's picture
tranmc
Upload with huggingface_hub
4b4d867 over 3 years ago
  • .config
    Upload with huggingface_hub over 3 years ago
  • feature_extractor
    Upload with huggingface_hub over 3 years ago
  • kanianime-finetune
    Upload with huggingface_hub over 3 years ago
  • safety_checker
    Upload with huggingface_hub over 3 years ago
  • sample_data
    Upload with huggingface_hub over 3 years ago
  • .gitattributes
    1.61 kB
    Upload with huggingface_hub over 3 years ago
  • README.md
    631 Bytes
    Upload with huggingface_hub over 3 years ago
  • convert_original_stable_diffusion_to_diffusers.py
    31.9 kB
    Upload with huggingface_hub over 3 years ago
  • convert_original_stable_diffusion_to_diffusers.py.1
    31.9 kB
    Upload with huggingface_hub over 3 years ago
  • convert_original_stable_diffusion_to_diffusers.py.2
    31.9 kB
    Upload with huggingface_hub over 3 years ago
  • kanianime-finetune.ckpt

    Detected Pickle imports (3)

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

    What is a pickle import?

    4.27 GB
    xet
    Upload with huggingface_hub over 3 years ago
  • model_index.json
    548 Bytes
    Upload with huggingface_hub over 3 years ago
  • train_dreambooth.py
    28.5 kB
    Upload with huggingface_hub over 3 years ago
  • v1-inference.yaml
    1.87 kB
    Upload with huggingface_hub over 3 years ago
  • v1-inference.yaml.1
    1.87 kB
    Upload with huggingface_hub over 3 years ago