Update test-models.yml

This commit is contained in:
powderluv
2022-06-04 15:49:26 -07:00
committed by GitHub
parent 21e9b6f6c2
commit e340b85128

View File

@@ -87,7 +87,7 @@ jobs:
- name: Install dependencies
run: |
source $HOME/miniconda3/etc/profile.d/conda.sh
conda activate perfbot
source $HOME/miniconda3/bin/activate /opt/conda/envs/perfbot
python -m pip install --upgrade pip
python -m pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/nightly/cpu -f https://github.com/llvm/torch-mlir/releases -f https://github.com/nod-ai/SHARK-Runtime/releases; fi
@@ -95,7 +95,7 @@ jobs:
- name: Validate Models
run: |
source $HOME/miniconda3/etc/profile.d/conda.sh
conda activate perfbot
source $HOME/miniconda3/bin/activate /opt/conda/envs/perfbot
cd $GITHUB_WORKSPACE
./setup_venv.sh
source shark.venv/bin/activate