Text-to-Video
Diffusers
Safetensors
Transformers
English
Chinese
image-to-video
video-continuation
Eval Results
Instructions to use meituan-longcat/LongCat-Video with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use meituan-longcat/LongCat-Video with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("meituan-longcat/LongCat-Video", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Transformers
How to use meituan-longcat/LongCat-Video with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("meituan-longcat/LongCat-Video", dtype="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Code updates for B200: Python 3.12, Torch 2.11, CUDA 13, Flash Attention 4
#14
by jebbam - opened
Hi,
First, thanks to the developers for making and releasing this model under a real open source license!
The code didn't work for me on the Nvidia B200 GPU. It also had some older dependencies.
I did an update repo so it runs on the B200:
- Python 3.12.
- Torch 2.11.
- CUDA 13.
- Flash Attention 4.
My repo is here:
https://spacecruft.org/movies/LongCat-Video-B200
Happy hacking,
-Jeff