Skip to content

Commit 905b3a1

Browse files
committed
[CI] : Use llvm's python requirements.txt for common py packages.
1 parent 8366790 commit 905b3a1

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

build-requirements.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
numpy
2-
pybind11
1+
-r ./externals/llvm-project/mlir/python/requirements.txt
32
wheel
43
setuptools
54
cmake
65
ninja
76
packaging
8-
nanobind>=2.4, <3.0
97

108
# Workaround for what should be a torch dep
119
# See discussion in #1174

build_tools/ci/install_python_deps.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ this_dir="$(cd $(dirname $0) && pwd)"
66
repo_root="$(cd $this_dir/../.. && pwd)"
77
torch_version="${1:-unknown}"
88

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-
139
case $torch_version in
1410
nightly)
1511
echo "::group::installing nightly torch"

build_tools/python_deploy/build_linux_packages.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,6 @@ function setup_venv() {
337337
source /main_checkout/torch-mlir/docker_venv/bin/activate
338338

339339
echo ":::: pip installing dependencies"
340-
python3 -m pip install --no-cache-dir -r /main_checkout/torch-mlir/externals/llvm-project/mlir/python/requirements.txt
341340

342341
case $torch_version in
343342
nightly)

0 commit comments

Comments
 (0)