Skip to content

[CI] : Use llvm's python requirements.txt for common py packages. #4291

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions build-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
numpy
pybind11
-r ./externals/llvm-project/mlir/python/requirements.txt
wheel
setuptools
cmake
ninja
packaging
nanobind>=2.4, <3.0

# Workaround for what should be a torch dep
# See discussion in #1174
Expand Down
4 changes: 0 additions & 4 deletions build_tools/ci/install_python_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ this_dir="$(cd $(dirname $0) && pwd)"
repo_root="$(cd $this_dir/../.. && pwd)"
torch_version="${1:-unknown}"

echo "::group::installing llvm python deps"
python3 -m pip install --no-cache-dir -r $repo_root/externals/llvm-project/mlir/python/requirements.txt
echo "::endgroup::"

case $torch_version in
nightly)
echo "::group::installing nightly torch"
Expand Down
1 change: 0 additions & 1 deletion build_tools/python_deploy/build_linux_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,6 @@ function setup_venv() {
source /main_checkout/torch-mlir/docker_venv/bin/activate

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

case $torch_version in
nightly)
Expand Down
Loading