mirror of
https://github.com/THUDM/CogVideo.git
synced 2025-09-18 03:10:00 +08:00
fix parallel rand device
This commit is contained in:
parent
4aebdb4b66
commit
1e6d1bbb82
@ -78,8 +78,9 @@ def main():
|
||||
num_frames=input_config.num_frames,
|
||||
prompt=input_config.prompt,
|
||||
num_inference_steps=input_config.num_inference_steps,
|
||||
generator=torch.Generator(device="cuda").manual_seed(input_config.seed),
|
||||
generator=torch.Generator().manual_seed(input_config.seed),
|
||||
guidance_scale=6,
|
||||
use_dynamic_cfg=True,
|
||||
).frames[0]
|
||||
|
||||
end_time = time.time()
|
||||
|
Loading…
x
Reference in New Issue
Block a user