Skip to content

Commit

Permalink
Update cmake-multi-platform.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yinying-lisa-li authored May 24, 2024
1 parent 505fe52 commit aca3a16
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,23 @@ jobs:
run: export PYTHONPATH=build/tools/torch-mlir/python_packages/torch_mlir:build/tools/mpact/python_packages/mpact
shell: bash

- name: Fetch requirements.txt
uses: actions/checkout@v4
with:
repository: llvm/torch-mlir
ref: refs/heads/main
sparse-checkout: |
requirements.txt
torchvision-requirements.txt
sparse-checkout-cone-mode: false
path: requirements

- name: Install requirements
run: |
echo "$PWD"
python -m pip install --upgrade pip
python -m pip install -r externals/torch-mlir/requirements.txt
python -m pip install -r externals/torch-mlir/torchvision-requirements.txt
python -m pip install -r requirements/requirements.txt
python -m pip install -r requirements/torchvision-requirements.txt
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
Expand Down

0 comments on commit aca3a16

Please sign in to comment.