Skip to content

Replace deprecated "pipes.quote" with "shlex.quote" for ROCm #89799

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

Merged
merged 1 commit into from
Mar 25, 2025

Conversation

mistersmee
Copy link
Contributor

@mistersmee mistersmee commented Mar 22, 2025

This is basically f6d09e2, but for ROCm.

Quite a minor change, but one I ran across when trying to build the ROCm bits, because the build failed as it tried to import pipes.

This is basically f6d09e2, but for ROCm.

Signed-off-by: Aseem Athale <athaleaseem@gmail.com>
Copy link

google-cla bot commented Mar 22, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@google-ml-butler google-ml-butler bot added the size:XS CL Change Size: Extra Small label Mar 22, 2025
@keerthanakadiri keerthanakadiri added the comp:gpu GPU related issues label Mar 24, 2025
@github-project-automation github-project-automation bot moved this to Assigned Reviewer in PR Queue Mar 24, 2025
@google-ml-butler google-ml-butler bot added the awaiting review Pull request awaiting review label Mar 24, 2025
@google-ml-butler google-ml-butler bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Mar 24, 2025
@github-project-automation github-project-automation bot moved this from Assigned Reviewer to Approved by Reviewer in PR Queue Mar 24, 2025
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Mar 24, 2025
copybara-service bot pushed a commit to openxla/xla that referenced this pull request Mar 24, 2025
Imported from GitHub PR tensorflow/tensorflow#89799

This is basically f6d09e2, but for ROCm.

Quite a minor change, but one I ran across when trying to build the ROCm bits, because the build failed as it tried to import pipes.
Copybara import of the project:

--
fe2a4036944d0a3d9f9a16a85581a79ddba11775 by Aseem Athale <athaleaseem@gmail.com>:

Replace deprecated "pipes.quote" with "shlex.quote" for ROCm

This is basically f6d09e2, but for ROCm.

Signed-off-by: Aseem Athale <athaleaseem@gmail.com>

Merging this change closes #89799

FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#89799 from mistersmee:master fe2a4036944d0a3d9f9a16a85581a79ddba11775
PiperOrigin-RevId: 739931081
@keerthanakadiri keerthanakadiri removed the awaiting review Pull request awaiting review label Mar 25, 2025
copybara-service bot pushed a commit to openxla/xla that referenced this pull request Mar 25, 2025
Imported from GitHub PR tensorflow/tensorflow#89799

This is basically f6d09e2, but for ROCm.

Quite a minor change, but one I ran across when trying to build the ROCm bits, because the build failed as it tried to import pipes.
Copybara import of the project:

--
fe2a4036944d0a3d9f9a16a85581a79ddba11775 by Aseem Athale <athaleaseem@gmail.com>:

Replace deprecated "pipes.quote" with "shlex.quote" for ROCm

This is basically f6d09e2, but for ROCm.

Signed-off-by: Aseem Athale <athaleaseem@gmail.com>

Merging this change closes #89799

FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#89799 from mistersmee:master fe2a4036944d0a3d9f9a16a85581a79ddba11775
PiperOrigin-RevId: 739931081
copybara-service bot pushed a commit to openxla/xla that referenced this pull request Mar 25, 2025
Imported from GitHub PR tensorflow/tensorflow#89799

This is basically f6d09e2, but for ROCm.

Quite a minor change, but one I ran across when trying to build the ROCm bits, because the build failed as it tried to import pipes.
Copybara import of the project:

--
fe2a4036944d0a3d9f9a16a85581a79ddba11775 by Aseem Athale <athaleaseem@gmail.com>:

Replace deprecated "pipes.quote" with "shlex.quote" for ROCm

This is basically f6d09e2, but for ROCm.

Signed-off-by: Aseem Athale <athaleaseem@gmail.com>

Merging this change closes #89799

PiperOrigin-RevId: 740356497
copybara-service bot pushed a commit that referenced this pull request Mar 25, 2025
FUTURE_COPYBARA_INTEGRATE_REVIEW=#89799 from mistersmee:master fe2a403
PiperOrigin-RevId: 740313182
copybara-service bot pushed a commit that referenced this pull request Mar 25, 2025
…o handle

asynchronous operations that produce non-copyable results.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#89799 from mistersmee:master fe2a403
PiperOrigin-RevId: 719013842
copybara-service bot pushed a commit that referenced this pull request Mar 25, 2025
The number of local participants doesn't add new information to the key, because we should never get two identical cliques that only different in the number of local participants.

However, putting the number inside the key makes so many places in the codebase simpler and avoids annoying recalculations. We can easily count the number of local devices when we create the key, but later it requires getting runtime param and devices ids again.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#89799 from mistersmee:master fe2a403
PiperOrigin-RevId: 739909378
copybara-service bot pushed a commit that referenced this pull request Mar 25, 2025
FUTURE_COPYBARA_INTEGRATE_REVIEW=#89799 from mistersmee:master fe2a403
PiperOrigin-RevId: 739966783
copybara-service bot pushed a commit that referenced this pull request Mar 25, 2025
Add tests to demonstrate the copies inserted for a chain of non-copyable values
in straightline code and a few pipelined situations.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#89799 from mistersmee:master fe2a403
PiperOrigin-RevId: 720716674
copybara-service bot pushed a commit that referenced this pull request Mar 25, 2025
Rollback of openxla/xla#24111

Having both with-mkl and no-mkl targets could possibly lead to ODR violation if multiple dependencies in the same target link to both variants. The use cases that don't want to link oneDNN should stick to bazel `--define=tensorflow_mkldnn_contraction_kernel=0` flag instead.

Reverts 3651dbd

FUTURE_COPYBARA_INTEGRATE_REVIEW=#89799 from mistersmee:master fe2a403
PiperOrigin-RevId: 740324610
copybara-service bot pushed a commit that referenced this pull request Mar 25, 2025
…t needed.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#89799 from mistersmee:master fe2a403
PiperOrigin-RevId: 738576336
copybara-service bot pushed a commit that referenced this pull request Mar 25, 2025
Updates LLVM usage to match
[6c68cc4df1bf](llvm/llvm-project@6c68cc4df1bf)

FUTURE_COPYBARA_INTEGRATE_REVIEW=#89799 from mistersmee:master fe2a403
PiperOrigin-RevId: 740359933
@copybara-service copybara-service bot merged commit e3be5dc into tensorflow:master Mar 25, 2025
7 checks passed
@github-project-automation github-project-automation bot moved this from Approved by Reviewer to Merged in PR Queue Mar 25, 2025
charleshofer pushed a commit to ROCm/xla that referenced this pull request Apr 3, 2025
Imported from GitHub PR tensorflow/tensorflow#89799

This is basically f6d09e2, but for ROCm.

Quite a minor change, but one I ran across when trying to build the ROCm bits, because the build failed as it tried to import pipes.
Copybara import of the project:

--
fe2a4036944d0a3d9f9a16a85581a79ddba11775 by Aseem Athale <athaleaseem@gmail.com>:

Replace deprecated "pipes.quote" with "shlex.quote" for ROCm

This is basically f6d09e2, but for ROCm.

Signed-off-by: Aseem Athale <athaleaseem@gmail.com>

Merging this change closes #89799

PiperOrigin-RevId: 740356497
charleshofer pushed a commit to ROCm/xla that referenced this pull request Apr 3, 2025
Imported from GitHub PR tensorflow/tensorflow#89799

This is basically f6d09e2, but for ROCm.

Quite a minor change, but one I ran across when trying to build the ROCm bits, because the build failed as it tried to import pipes.
Copybara import of the project:

--
fe2a4036944d0a3d9f9a16a85581a79ddba11775 by Aseem Athale <athaleaseem@gmail.com>:

Replace deprecated "pipes.quote" with "shlex.quote" for ROCm

This is basically f6d09e2, but for ROCm.

Signed-off-by: Aseem Athale <athaleaseem@gmail.com>

Merging this change closes #89799

PiperOrigin-RevId: 740356497
mrodden pushed a commit to ROCm/xla that referenced this pull request Apr 3, 2025
Imported from GitHub PR tensorflow/tensorflow#89799

This is basically f6d09e2, but for ROCm.

Quite a minor change, but one I ran across when trying to build the ROCm bits, because the build failed as it tried to import pipes.
Copybara import of the project:

--
fe2a4036944d0a3d9f9a16a85581a79ddba11775 by Aseem Athale <athaleaseem@gmail.com>:

Replace deprecated "pipes.quote" with "shlex.quote" for ROCm

This is basically f6d09e2, but for ROCm.

Signed-off-by: Aseem Athale <athaleaseem@gmail.com>

Merging this change closes #89799

PiperOrigin-RevId: 740356497
mrodden pushed a commit to ROCm/xla that referenced this pull request Apr 3, 2025
Imported from GitHub PR tensorflow/tensorflow#89799

This is basically f6d09e2, but for ROCm.

Quite a minor change, but one I ran across when trying to build the ROCm bits, because the build failed as it tried to import pipes.
Copybara import of the project:

--
fe2a4036944d0a3d9f9a16a85581a79ddba11775 by Aseem Athale <athaleaseem@gmail.com>:

Replace deprecated "pipes.quote" with "shlex.quote" for ROCm

This is basically f6d09e2, but for ROCm.

Signed-off-by: Aseem Athale <athaleaseem@gmail.com>

Merging this change closes #89799

PiperOrigin-RevId: 740356497
charleshofer pushed a commit to ROCm/xla that referenced this pull request Apr 3, 2025
Imported from GitHub PR tensorflow/tensorflow#89799

This is basically f6d09e2, but for ROCm.

Quite a minor change, but one I ran across when trying to build the ROCm bits, because the build failed as it tried to import pipes.
Copybara import of the project:

--
fe2a4036944d0a3d9f9a16a85581a79ddba11775 by Aseem Athale <athaleaseem@gmail.com>:

Replace deprecated "pipes.quote" with "shlex.quote" for ROCm

This is basically f6d09e2, but for ROCm.

Signed-off-by: Aseem Athale <athaleaseem@gmail.com>

Merging this change closes #89799

PiperOrigin-RevId: 740356497
mrodden pushed a commit to ROCm/xla that referenced this pull request Apr 3, 2025
Imported from GitHub PR tensorflow/tensorflow#89799

This is basically f6d09e2, but for ROCm.

Quite a minor change, but one I ran across when trying to build the ROCm bits, because the build failed as it tried to import pipes.
Copybara import of the project:

--
fe2a4036944d0a3d9f9a16a85581a79ddba11775 by Aseem Athale <athaleaseem@gmail.com>:

Replace deprecated "pipes.quote" with "shlex.quote" for ROCm

This is basically f6d09e2, but for ROCm.

Signed-off-by: Aseem Athale <athaleaseem@gmail.com>

Merging this change closes #89799

PiperOrigin-RevId: 740356497
alekstheod pushed a commit to ROCm/xla that referenced this pull request Apr 11, 2025
Imported from GitHub PR tensorflow/tensorflow#89799

This is basically f6d09e2, but for ROCm.

Quite a minor change, but one I ran across when trying to build the ROCm bits, because the build failed as it tried to import pipes.
Copybara import of the project:

--
fe2a4036944d0a3d9f9a16a85581a79ddba11775 by Aseem Athale <athaleaseem@gmail.com>:

Replace deprecated "pipes.quote" with "shlex.quote" for ROCm

This is basically f6d09e2, but for ROCm.

Signed-off-by: Aseem Athale <athaleaseem@gmail.com>

Merging this change closes #89799

PiperOrigin-RevId: 740356497
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:gpu GPU related issues ready to pull PR ready for merge process size:XS CL Change Size: Extra Small
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

5 participants