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

  • Log In
  • Sign Up

zai-org
/
CogVideoX1.5-5B

Text-to-Video
Diffusers
Safetensors
English
CogVideoXPipeline
video-generation
thudm
image-to-video
Model card Files Files and versions
xet
Community
4

Instructions to use zai-org/CogVideoX1.5-5B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use zai-org/CogVideoX1.5-5B with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("zai-org/CogVideoX1.5-5B", 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
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

error when loading the model

#3 opened over 1 year ago by
TheBigBlockPC

There is an issue with the code in the Quantized Inference section

2
#2 opened over 1 year ago by
wwzh12138
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs