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

  • Log In
  • Sign Up

callgg
/
pack-encoder

Diffusers
Safetensors
Model card Files Files and versions
xet
Community

Instructions to use callgg/pack-encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use callgg/pack-encoder with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("callgg/pack-encoder", 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
pack-encoder
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
chatpig's picture
chatpig
Upload 6 files
87f036e verified about 1 year ago
  • text_encoder
    Upload 6 files about 1 year ago
  • text_encoder_2
    Upload 11 files about 1 year ago
  • tokenizer
    Upload 11 files about 1 year ago
  • tokenizer_2
    Upload 11 files about 1 year ago
  • vae
    Upload 2 files about 1 year ago
  • .gitattributes
    1.58 kB
    Upload 11 files about 1 year ago
  • README.md
    97 Bytes
    Update README.md about 1 year ago