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 opened about 2 months ago
by
jebbam
Base requirements to run?
#13 opened 5 months ago
by
cedpsam
any quantization?
#12 opened 5 months ago
by
yangyangjuanjuan
Upload inbound1251350343177699647.png
1
#10 opened 6 months ago
by
Fmonknvk
Create Jai Shree Ram
1
#9 opened 6 months ago
by deleted
Upload 2 files
#8 opened 6 months ago
by
sherlockyes
Update README.md
#7 opened 7 months ago
by
Cattyya
It can run on ROCM or AMD GPU
#6 opened 7 months ago
by
locolv
mps backend support
1
#5 opened 7 months ago
by
pypry
Can this run on Ascend NPU?
#3 opened 7 months ago
by
Evoenzo
cannot use torchrun in windows environment
1
#1 opened 7 months ago
by
kerian