Skip to content

[release/2.7] Removing --user flag from all pip install commands #2238

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 4 commits into
base: release/2.7
Choose a base branch
from

Conversation

ethanwee1
Copy link

@ethanwee1 ethanwee1 commented Jun 4, 2025

From upstream PR pytorch#154900
Resolves:https://ontrack-internal.amd.com/browse/SWDEV-536994

After following steps to reproduce in container registry-sc-harbor.amd.com/framework/compute-rocm-dkms-no-npi-hipclang:16231_ubuntu22.04_py3.10_pytorch_lw_release2.7_no_user_66a18277:

root@ubb4-rack-22:/var/lib/jenkins/pytorch# history
    1  cd /var/lib/jenkins/pytorch
    2  TEST_CONFIG=default CONTINUE_THROUGH_ERROR=True .ci/pytorch/test.sh

 Name:                    gfx90a
  Marketing Name:          AMD Instinct MI250X/MI250
+ MAYBE_ROCM=rocm/
+ [[ rocm == *xpu* ]]
+ [[ rocm != *-bazel-* ]]
+ pip_install ninja==1.10.2
+ pip_install_pkg='python3 -m pip install --progress-bar off'
+ python3 -m pip install --progress-bar off ninja==1.10.2
Collecting ninja==1.10.2
  Downloading ninja-1.10.2-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl.metadata (5.0 kB)
Downloading ninja-1.10.2-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl (108 kB)
Installing collected packages: ninja
  Attempting uninstall: ninja
    Found existing installation: ninja 1.11.1.4
    Uninstalling ninja-1.11.1.4:
      Successfully uninstalled ninja-1.11.1.4
Successfully installed ninja-1.10.2
+ export PATH=/root/.local/bin:/opt/venv/bin:/opt/rocm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ PATH=/root/.local/bin:/opt/venv/bin:/opt/rocm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ [[ rocm == *aarch64* ]]
+ [[ rocm == *asan* ]]
+ [[ rocm == *-debug* ]]
+ [[ rocm != *-bazel-* ]]
+ echo 'We are not in debug mode: rocm. Expect the assertion to pas

http://rocm-ci.amd.com/job/mainline-pytorch2.7-manylinux-wheels/126/

@jithunnair-amd jithunnair-amd changed the title [release/2.7] removing --user flag [release/2.7] Removing --user flag from all pip install commands Jun 4, 2025
@rocm-repo-management-api
Copy link

rocm-repo-management-api bot commented Jun 6, 2025

Jenkins build for 4e8efbc8ffafb2f1d083c5444c3cd224b80bec1e commit finished as FAILURE
Links: Blue Ocean view / Build artifacts

@rocm-repo-management-api
Copy link

rocm-repo-management-api bot commented Jun 16, 2025

Jenkins build for 36fd937315bc1c0c866a42dbba14d3b9b0d6fa29 commit finished as FAILURE
Links: Blue Ocean view / Build artifacts

@ethanwee1 ethanwee1 force-pushed the release2.7_no_user branch from 187678f to 36fd937 Compare June 16, 2025 21:49
@rocm-repo-management-api
Copy link

rocm-repo-management-api bot commented Jun 16, 2025

Jenkins build for 36fd937315bc1c0c866a42dbba14d3b9b0d6fa29 commit finished as FAILURE
Links: Blue Ocean view / Build artifacts

@rocm-repo-management-api
Copy link

rocm-repo-management-api bot commented Jun 17, 2025

Jenkins build for 66a18277c53d92cbfc9ef2bca5117cb8fe17bf72 commit finished as FAILURE
Links: Blue Ocean view / Build artifacts

@ethanwee1 ethanwee1 marked this pull request as ready for review June 18, 2025 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants