Run this model with HF Jobs
Run diffusers/i2vgen-xl-diffusers on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/diffusers/i2vgen-xl-diffusers. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/diffusers/i2vgen-xl-diffusers on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use diffusers/i2vgen-xl-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use diffusers/i2vgen-xl-diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("diffusers/i2vgen-xl-diffusers", 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
Upload TextToVideoSDPipeline
Browse filesFiles changed (5)
12344567{ "_class_name": "TextToVideoSDPipeline", "_diffusers_version": "0.25.0.dev0", "_name_or_path": "damo-vilab/text-to-video-ms-1.7b", "_name_or_path": "diffusers/i2vgen-xl-diffusers", "scheduler": [ "diffusers", "DDIMScheduler"122345{ "_name_or_path": "i2vgen-xl-text-encoder", "_name_or_path": "/home/sayak/.cache/huggingface/hub/models--diffusers--i2vgen-xl-diffusers/snapshots/6f9dab376562e81e38abe6dc58d7b84c20fedd62/text_encoder", "architectures": [ "CLIPTextModel" ],12 unmodified lines131415161617181920212223242512 unmodified lines "rstrip": false, "single_word": false }, "pad_token": "!", "pad_token": { "content": "!", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "unk_token": { "content": "<|endoftext|>", "lstrip": false,24 unmodified lines252627282829303124 unmodified lines "norm_num_groups": 32, "num_attention_heads": null, "out_channels": 4, "sample_size": null, "sample_size": 32, "up_block_types": [ "UpBlock3D", "CrossAttnUpBlock3D",12344567{ "_class_name": "AutoencoderKL", "_diffusers_version": "0.25.0.dev0", "_name_or_path": "i2vgen-xl-vae", "_name_or_path": "/home/sayak/.cache/huggingface/hub/models--diffusers--i2vgen-xl-diffusers/snapshots/6f9dab376562e81e38abe6dc58d7b84c20fedd62/vae", "act_fn": "silu", "block_out_channels": [ 128,model_index.json+1-1
text_encoder/config.json+1-1
tokenizer/special_tokens_map.json+7-1
unet/config.json+1-1
vae/config.json+1-1