roll-ai commited on
Commit
efabe16
·
verified ·
1 Parent(s): 776193b

Update inference/flovd_demo.py

Browse files
Files changed (1) hide show
  1. inference/flovd_demo.py +2 -2
inference/flovd_demo.py CHANGED
@@ -342,13 +342,13 @@ def generate_video(
342
  target_modules=["to_q", "to_k", "to_v", "to_out.0", "norm1.linear", "norm2.linear", "ff.net.2"],
343
  )
344
 
345
- print(f'Constructing pipeline')
346
  pipe_omsm = load_cogvideox_flovd_OMSM_lora_pipeline(omsm_path, backbone_path="THUDM/CogVideoX-5b-I2V", transformer_lora_config=transformer_lora_config, device=local_rank, dtype=dtype)
347
  print("done with omsm", flush=True)
348
  pipe_fvsm = load_cogvideox_flovd_FVSM_controlnet_pipeline(fvsm_path, backbone_path="THUDM/CogVideoX-5b-I2V", device=local_rank, dtype=dtype)
349
  print("done with fvsm", flush=True)
350
 
351
- print(f'Done loading pipeline')
352
 
353
  """
354
  # Prepare inputs
 
342
  target_modules=["to_q", "to_k", "to_v", "to_out.0", "norm1.linear", "norm2.linear", "ff.net.2"],
343
  )
344
 
345
+ print(f'Constructing pipeline', flush=True)
346
  pipe_omsm = load_cogvideox_flovd_OMSM_lora_pipeline(omsm_path, backbone_path="THUDM/CogVideoX-5b-I2V", transformer_lora_config=transformer_lora_config, device=local_rank, dtype=dtype)
347
  print("done with omsm", flush=True)
348
  pipe_fvsm = load_cogvideox_flovd_FVSM_controlnet_pipeline(fvsm_path, backbone_path="THUDM/CogVideoX-5b-I2V", device=local_rank, dtype=dtype)
349
  print("done with fvsm", flush=True)
350
 
351
+ print(f'Done loading pipeline', flush=True)
352
 
353
  """
354
  # Prepare inputs