File tree Expand file tree Collapse file tree 4 files changed +1
-14
lines changed
.github/actions/setup-build Expand file tree Collapse file tree 4 files changed +1
-14
lines changed Original file line number Diff line number Diff line change 30
30
with :
31
31
python-version : ' 3.11'
32
32
33
- - name : Install MLIR Python depends
34
- if : ${{ runner.os != 'Linux' }}
35
- run : |
36
- python -m pip install -r $GITHUB_WORKSPACE/externals/llvm-project/mlir/python/requirements.txt
37
- shell : bash
38
-
39
33
- name : Install PyTorch nightly depends
40
34
if : ${{ runner.os != 'Linux' }}
41
35
run : |
Original file line number Diff line number Diff line change 1
- numpy
2
- pybind11
1
+ -r ./externals/llvm-project/mlir/python/requirements.txt
3
2
wheel
4
3
setuptools
5
4
cmake
6
5
ninja
7
6
packaging
8
- nanobind>=2.4, <3.0
9
7
10
8
# Workaround for what should be a torch dep
11
9
# See discussion in #1174
Original file line number Diff line number Diff line change @@ -6,10 +6,6 @@ this_dir="$(cd $(dirname $0) && pwd)"
6
6
repo_root=" $( cd $this_dir /../.. && pwd) "
7
7
torch_version=" ${1:- unknown} "
8
8
9
- echo " ::group::installing llvm python deps"
10
- python3 -m pip install --no-cache-dir -r $repo_root /externals/llvm-project/mlir/python/requirements.txt
11
- echo " ::endgroup::"
12
-
13
9
case $torch_version in
14
10
nightly)
15
11
echo " ::group::installing nightly torch"
Original file line number Diff line number Diff line change @@ -337,7 +337,6 @@ function setup_venv() {
337
337
source /main_checkout/torch-mlir/docker_venv/bin/activate
338
338
339
339
echo " :::: pip installing dependencies"
340
- python3 -m pip install --no-cache-dir -r /main_checkout/torch-mlir/externals/llvm-project/mlir/python/requirements.txt
341
340
342
341
case $torch_version in
343
342
nightly)
You can’t perform that action at this time.
0 commit comments