mirror of
https://github.com/THUDM/CogVideo.git
synced 2025-04-06 03:57:56 +08:00
update req
This commit is contained in:
parent
1b16921b2e
commit
775b0e1ba3
@ -65,10 +65,10 @@ pipe_image = CogVideoXImageToVideoPipeline.from_pretrained(
|
|||||||
).to(device)
|
).to(device)
|
||||||
|
|
||||||
|
|
||||||
# pipe.transformer.to(memory_format=torch.channels_last)
|
pipe.transformer.to(memory_format=torch.channels_last)
|
||||||
# pipe.transformer = torch.compile(pipe.transformer, mode="max-autotune", fullgraph=True)
|
pipe.transformer = torch.compile(pipe.transformer, mode="max-autotune", fullgraph=True)
|
||||||
# pipe_image.transformer.to(memory_format=torch.channels_last)
|
pipe_image.transformer.to(memory_format=torch.channels_last)
|
||||||
# pipe_image.transformer = torch.compile(pipe_image.transformer, mode="max-autotune", fullgraph=True)
|
pipe_image.transformer = torch.compile(pipe_image.transformer, mode="max-autotune", fullgraph=True)
|
||||||
|
|
||||||
os.makedirs("./output", exist_ok=True)
|
os.makedirs("./output", exist_ok=True)
|
||||||
os.makedirs("./gradio_tmp", exist_ok=True)
|
os.makedirs("./gradio_tmp", exist_ok=True)
|
||||||
|
@ -2,13 +2,13 @@ diffusers>=0.30.3
|
|||||||
accelerate>=0.34.2
|
accelerate>=0.34.2
|
||||||
transformers>=4.44.2
|
transformers>=4.44.2
|
||||||
numpy==1.26.0
|
numpy==1.26.0
|
||||||
torch==2.4.0
|
torch>=2.4.0
|
||||||
torchvision==0.19.0
|
torchvision>=0.19.0
|
||||||
sentencepiece==0.2.0
|
sentencepiece>=0.2.0
|
||||||
SwissArmyTransformer>=0.4.12
|
SwissArmyTransformer>=0.4.12
|
||||||
gradio>=4.44.0
|
gradio>=4.44.0
|
||||||
imageio>=2.35.1
|
imageio>=2.35.1
|
||||||
imageio-ffmpeg>=0.5.1
|
imageio-ffmpeg>=0.5.1
|
||||||
openai>=1.45.0
|
openai>=1.45.0
|
||||||
moviepy==1.0.3
|
moviepy>=1.0.3
|
||||||
pillow==9.5.0
|
pillow==9.5.0
|
Loading…
x
Reference in New Issue
Block a user