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

  • Log In
  • Sign Up

callgg
/
hyimg-encoder

Diffusers
Safetensors
HunyuanImagePipeline
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use callgg/hyimg-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/hyimg-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
hyimg-encoder / text_encoder
16.6 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
chatpig's picture
chatpig
Upload 7 files
eda3015 verified 8 months ago
  • config.json
    3.2 kB
    Upload 7 files 8 months ago
  • generation_config.json
    244 Bytes
    Upload 7 files 8 months ago
  • model-00001-of-00004.safetensors
    4.97 GB
    xet
    Upload 7 files 8 months ago
  • model-00002-of-00004.safetensors
    4.99 GB
    xet
    Upload 7 files 8 months ago
  • model-00003-of-00004.safetensors
    4.93 GB
    xet
    Upload 7 files 8 months ago
  • model-00004-of-00004.safetensors
    1.69 GB
    xet
    Upload 7 files 8 months ago
  • model.safetensors.index.json
    57.7 kB
    Upload 7 files 8 months ago