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 / transformer
34.9 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
chatpig's picture
chatpig
Upload 6 files
9842c6d verified 8 months ago
  • config.json
    495 Bytes
    Upload 6 files 8 months ago
  • diffusion_pytorch_model-00001-of-00004.safetensors
    9.93 GB
    xet
    Upload 6 files 8 months ago
  • diffusion_pytorch_model-00002-of-00004.safetensors
    10 GB
    xet
    Upload 6 files 8 months ago
  • diffusion_pytorch_model-00003-of-00004.safetensors
    9.94 GB
    xet
    Upload 6 files 8 months ago
  • diffusion_pytorch_model-00004-of-00004.safetensors
    4.99 GB
    xet
    Upload 6 files 8 months ago
  • diffusion_pytorch_model.safetensors.index.json
    133 kB
    Upload 6 files 8 months ago