mirror of
https://github.com/THUDM/CogVideo.git
synced 2025-12-03 11:12:09 +08:00
cuda 11.3
This commit is contained in:
parent
abfc7af8f9
commit
30edd2a800
10
cog.yaml
10
cog.yaml
@ -3,7 +3,8 @@
|
||||
|
||||
build:
|
||||
gpu: true
|
||||
|
||||
cuda: "11.3"
|
||||
|
||||
system_packages:
|
||||
- "ffmpeg"
|
||||
- "libsm6"
|
||||
@ -17,15 +18,16 @@ build:
|
||||
- "icetk==0.0.4"
|
||||
- "opencv-python==4.6.0.66"
|
||||
- "SwissArmyTransformer==0.2.9"
|
||||
- "torch==1.9.0"
|
||||
- "torchvision==0.10.0"
|
||||
- "torch==1.11.0"
|
||||
- "torchvision==0.12.0"
|
||||
- "tqdm==4.64.0"
|
||||
|
||||
run:
|
||||
- "pip install torch==1.11.0+cu113 torchvision==0.12.0+cu113 pytorch-lightning torch-fidelity -f https://download.pytorch.org/whl/torch_stable.html"
|
||||
- "mkdir -p /sharefs/cogview-new; cd /sharefs/cogview-new; wget https://models.nmb.ai/cogvideo/cogvideo-stage1.tar.gz -O - | tar xz"
|
||||
- "cd /sharefs/cogview-new; wget https://models.nmb.ai/cogvideo/cogvideo-stage2.tar.gz -O - | tar xz"
|
||||
- "mkdir -p /root/.icetk_models; wget -O /root/.icetk_models/ice_text.model https://models.nmb.ai/cogvideo/ice_text.model"
|
||||
- "mkdir -p /root/.tcetk_models; wget -O /root/.icetk_models/ice_image.pt https://models.nmb.ai/cogvideo/ice_image.pt"
|
||||
- "mkdir -p /root/.tcetk_models; wget -O /root/.icetk_models/ice_image.pt https://models.nmb.ai/cogvideo/ice_image.pt"
|
||||
#- "cd /sharefs/cogview-new; wget https://models.nmb.ai/cogview2/cogview2-dsr.tar.gz -O - | tar xz"
|
||||
|
||||
predict: "predict.py:Predictor"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user