Instructions to use Chrishugging1/LongCat-Video with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Chrishugging1/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("Chrishugging1/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 Chrishugging1/LongCat-Video with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Chrishugging1/LongCat-Video", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download vae/diffusion_pytorch_model.safetensors from Chrishugging1/LongCat-Video: direct link, hf CLI and curl.
- Browser
- Download file 508 MB
-
https://huggingface.co/Chrishugging1/LongCat-Video/resolve/main/vae/diffusion_pytorch_model.safetensors
- Command line
-
hf download hf://Chrishugging1/LongCat-Video/vae/diffusion_pytorch_model.safetensors
-
curl -L -o diffusion_pytorch_model.safetensors https://huggingface.co/Chrishugging1/LongCat-Video/resolve/main/vae/diffusion_pytorch_model.safetensors
508 MB
- Xet hash:
- 168eb9d382320e4b39566f51af1512a5e7450f0aefd140679d4525a3b73f021c
- Size of remote file:
- 508 MB
- SHA256:
- d6e524b3fffede1787a74e81b30976dce5400c4439ba64222168e607ed19e793
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.