Image-to-Video
Diffusers
GGUF
text-to-video
video-to-video
image-text-to-video
audio-to-video
text-to-audio
video-to-audio
audio-to-audio
text-to-audio-video
image-to-audio-video
image-text-to-audio-video
ltx-2
ltx-video
ltxv
lightricks
Instructions to use vantagewithai/LTX-2-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use vantagewithai/LTX-2-GGUF 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("vantagewithai/LTX-2-GGUF", 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
workflow sends mat1 and mat2 error for me
#2
by fawogin598 - opened
Using this workflow on latest comfyui, vantagewithai GGUF loader, the dev gguf model, no preview, and Ubuntu 22.04, pytorch 2.9, cuda 12.8, I'm getting the error:
SamplerCustomAdvanced
mat1 and mat2 shapes cannot be multiplied (1024x3840 and 15360x3840)
TIPS: If you have any "Load CLIP" or "*CLIP Loader" nodes in your workflow connected to this sampler node make sure the correct file(s) and type is selected.
