From 3f7dba4ba84eb90a56ff5d6cbc22416e9353b896 Mon Sep 17 00:00:00 2001 From: yingfhu Date: Wed, 6 Dec 2023 11:34:14 +0800 Subject: [PATCH] init docs --- .github/workflows/pr-stage-check.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-stage-check.yml b/.github/workflows/pr-stage-check.yml index e9f39a309..f833b03fb 100644 --- a/.github/workflows/pr-stage-check.yml +++ b/.github/workflows/pr-stage-check.yml @@ -36,9 +36,10 @@ jobs: if: ${{matrix.python-version != 3.10}} - name: Install system dependencies run: | - sed -i '$ a deb http://th.archive.ubuntu.com/ubuntu jammy main' /etc/apt/sources.list apt-get update apt-get install -y ffmpeg libsm6 libxext6 git ninja-build libglib2.0-0 libxrender-dev libc6 libc6-dev + sed -i '$ a deb http://th.archive.ubuntu.com/ubuntu jammy main' /etc/apt/sources.list + apt-get update && apt-get install -y libc6 - name: Install opencompass dependencies run: | pip install -r requirements.txt @@ -63,7 +64,7 @@ jobs: - name: Upgrade pip run: python -m pip install pip --upgrade - name: Install PyTorch - run: pip install torch==1.13.1+${{matrix.platform}} -f https://download.pytorch.org/whl/lts/1.8/torch_lts.html + run: pip install torch==1.13.1+${{matrix.platform}} -f https://download.pytorch.org/whl/${{matrix.platform}}/torch_stable.html - name: Install opencompass dependencies run: | pip install -r requirements.txt