user029182 commited on
Commit
1b1d1c1
·
verified ·
1 Parent(s): aea3b85

Update video_model.py

Browse files
Files changed (1) hide show
  1. video_model.py +3 -3
video_model.py CHANGED
@@ -10,15 +10,15 @@ ckpt_path = (
10
  )
11
  transformer = LTXVideoTransformer3DModel.from_single_file(
12
  ckpt_path,
13
- quantization_config=GGUFQuantizationConfig(compute_dtype=torch.bfloat16),
14
- torch_dtype=torch.bfloat16,
15
  )
16
  vae = AutoencoderKLLTXVideo.from_single_file("https://huggingface.co/Lightricks/LTX-Video/ltx-video-2b-v0.9.safetensors", torch_dtype=torch.float32)
17
  t2v_pipe = LTXPipeline.from_pretrained(
18
  "Lightricks/LTX-Video",
19
  transformer=transformer,
20
  vae=vae,
21
- torch_dtype=torch.bfloat16,
22
  )
23
  t2v_pipe.to(device)
24
 
 
10
  )
11
  transformer = LTXVideoTransformer3DModel.from_single_file(
12
  ckpt_path,
13
+ quantization_config=GGUFQuantizationConfig(compute_dtype=torch.float32),
14
+ torch_dtype=torch.float32,
15
  )
16
  vae = AutoencoderKLLTXVideo.from_single_file("https://huggingface.co/Lightricks/LTX-Video/ltx-video-2b-v0.9.safetensors", torch_dtype=torch.float32)
17
  t2v_pipe = LTXPipeline.from_pretrained(
18
  "Lightricks/LTX-Video",
19
  transformer=transformer,
20
  vae=vae,
21
+ torch_dtype=torch.float32,
22
  )
23
  t2v_pipe.to(device)
24