Views
No views yet
gguf-connector; simply execute the command below in console/terminalggc x2GGUF file(s) available. Select which one to use:
- ltxv-2b-0.9.8-distilled-iq4_nl.gguf
- ltxv-2b-0.9.8-distilled-q6_k.gguf
- ltxv-2b-0.9.8-distilled-q8_0.gguf
Enter your choice (1 to 3): _
gguf file in your current directory to interact with; nothing else


q2_k gguf is super fast but not usable; keep it for testing only0.9_fp8_e4m3fn and 0.9-vae_fp8_e4m3fn are working pretty goodfp8_e4m3fn scaled safetensors and/or convert it to gguf with the new node via comfyui1import torch
2from transformers import T5EncoderModel
3from diffusers import LTXPipeline, GGUFQuantizationConfig, LTXVideoTransformer3DModel
4from diffusers.utils import export_to_video
5
6model_path = (
7 "https://huggingface.co/calcuis/ltxv-gguf/blob/main/ltx-video-2b-v0.9-q8_0.gguf"
8 )
9transformer = LTXVideoTransformer3DModel.from_single_file(
10 model_path,
11 quantization_config=GGUFQuantizationConfig(compute_dtype=torch.bfloat16),
12 torch_dtype=torch.bfloat16,
13 )
14
15text_encoder = T5EncoderModel.from_pretrained(
16 "calcuis/ltxv-gguf",
17 gguf_file="t5xxl_fp16-q4_0.gguf",
18 torch_dtype=torch.bfloat16,
19 )
20
21pipe = LTXPipeline.from_pretrained(
22 "callgg/ltxv-decoder",
23 text_encoder=text_encoder,
24 transformer=transformer,
25 torch_dtype=torch.bfloat16
26 ).to("cuda")
27
28prompt = "A woman with long brown hair and light skin smiles at another woman with long blonde hair. The woman with brown hair wears a black jacket and has a small, barely noticeable mole on her right cheek. The camera angle is a close-up, focused on the woman with brown hair's face. The lighting is warm and natural, likely from the setting sun, casting a soft glow on the scene. The scene appears to be real-life footage"
29negative_prompt = "worst quality, inconsistent motion, blurry, jittery, distorted"
30
31video = pipe(
32 prompt=prompt,
33 negative_prompt=negative_prompt,
34 width=704,
35 height=480,
36 num_frames=25,
37 num_inference_steps=50,
38 ).frames[0]
39export_to_video(video, "output.mp4", fps=24)ggc vg
ggc v1