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

hdparmar
/
tradfusion-v2

Text-to-Image
Diffusers
PyTorch
StableDiffusionPipeline
unconditional-image-generation
diffusion-models-class
Model card Files Files and versions
xet
Community

Instructions to use hdparmar/tradfusion-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use hdparmar/tradfusion-v2 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("hdparmar/tradfusion-v2", 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
tradfusion-v2
20.1 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 13 commits
hdparmar's picture
hdparmar
`steps_offset` should be set to 1 instead of 0
79a0226 over 2 years ago
  • feature_extractor
    Upload folder using huggingface_hub over 2 years ago
  • safety_checker
    Upload folder using huggingface_hub over 2 years ago
  • scheduler
    `steps_offset` should be set to 1 instead of 0 over 2 years ago
  • text_encoder
    Upload folder using huggingface_hub over 2 years ago
  • tokenizer
    Upload folder using huggingface_hub over 2 years ago
  • unet
    Upload folder using huggingface_hub over 2 years ago
  • vae
    Upload folder using huggingface_hub over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    513 Bytes
    Upload README.md with huggingface_hub over 2 years ago
  • checkpoint_epoch202.ckpt

    Detected Pickle imports (9)

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

    How to fix it?

    14.6 GB
    xet
    Upload checkpoint_epoch202.ckpt with huggingface_hub over 2 years ago
  • model_index.json
    541 Bytes
    Change `CLIPFeatureExtractor` to `CLIPImageProcessor` over 2 years ago