From 30edd2a8007bfc9adf49152e855007d46154e0ab Mon Sep 17 00:00:00 2001 From: Stephan Auerhahn Date: Mon, 25 Jul 2022 08:29:56 -0700 Subject: [PATCH] cuda 11.3 --- cog.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/cog.yaml b/cog.yaml index e32da28..85d8057 100644 --- a/cog.yaml +++ b/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"