mirror of https://github.com/llvm/torch-mlir
only setup python for non-docker platforms (#2171)
Original PR was accidentally merged to a branch. Re-landing same PR to main nowpull/2172/head
parent
dff3405d5a
commit
0cdc03d8fe
|
@ -19,16 +19,19 @@ runs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
|
if: ${{ runner.arch == 'X64' }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
|
|
||||||
- name: Install MLIR Python depends
|
- name: Install MLIR Python depends
|
||||||
|
if: ${{ runner.os != 'Linux' }}
|
||||||
run: |
|
run: |
|
||||||
python -m pip install -r $GITHUB_WORKSPACE/externals/llvm-project/mlir/python/requirements.txt
|
python -m pip install -r $GITHUB_WORKSPACE/externals/llvm-project/mlir/python/requirements.txt
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Install PyTorch nightly depends
|
- name: Install PyTorch nightly depends
|
||||||
|
if: ${{ runner.os != 'Linux' }}
|
||||||
run: |
|
run: |
|
||||||
python -m pip install -r pytorch-requirements.txt
|
python -m pip install -r pytorch-requirements.txt
|
||||||
python -m pip install -r build-requirements.txt
|
python -m pip install -r build-requirements.txt
|
||||||
|
|
Loading…
Reference in New Issue