Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

viktfb
/
patterngenai

Text-to-Image
Diffusers
StableDiffusionPipeline
Model card Files Files and versions
xet
Community
1

Instructions to use viktfb/patterngenai with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use viktfb/patterngenai with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("viktfb/patterngenai", 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
patterngenai / text_encoder
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
patrickvonplaten's picture
patrickvonplaten
Fix deprecated float16/fp16 variant loading through new `version` API.
a72fb85 almost 3 years ago
  • config.json
    610 Bytes
    model about 3 years ago
  • model.fp16.safetensors
    681 MB
    xet
    Fix deprecated float16/fp16 variant loading through new `version` API. almost 3 years ago
  • pytorch_model.bin
    681 MB
    xet
    model about 3 years ago
  • pytorch_model.fp16.bin
    681 MB
    xet
    Fix deprecated float16/fp16 variant loading through new `version` API. almost 3 years ago