Instructions to use VAST-AI/EdenLive-5B-Causal-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use VAST-AI/EdenLive-5B-Causal-Diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("VAST-AI/EdenLive-5B-Causal-Diffusers", dtype=torch.bfloat16, device_map="cuda") pipe.to("cuda") prompt = "A man with short gray hair plays a red electric guitar." image = load_image( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png" ) output = pipe(image=image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
File size: 703 Bytes
cdc2652 f253468 cdc2652 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | {
"_class_name": "EdenLiveCausalPipeline",
"transformer": [
"diffusers",
"EdenLiveTransformer3DModel"
],
"vae": [
"diffusers",
"AutoencoderKLWan"
],
"decoder": [
null,
null
],
"text_encoder": [
"transformers",
"UMT5EncoderModel"
],
"tokenizer": [
"transformers",
"T5Tokenizer"
],
"proxy_encoder": [
"transformers",
"DINOv3ViTModel"
],
"image_encoder": [
null,
null
],
"image_processor": [
null,
null
],
"scheduler": [
"diffusers",
"FlowMatchEulerDiscreteScheduler"
],
"proxy_image_height": 480,
"proxy_image_width": 832,
"chunk_size": 3,
"max_context_frames": 18,
"sink_frames": 6
}
|