Skip to content

Conversation

@copybara-service
Copy link

@copybara-service copybara-service bot commented Nov 28, 2025

PR #34520: [ROCm] Use rocminfo instead of lspci as it will report all connected gpus ev…

Imported from GitHub PR #34520

…en inside docker container

📝 Summary of Changes
Use rocminfo to detect number of gpus visible to xla

🎯 Justification
lspci will report all the gpus connected to bus
even inside the docker container with a limited visibility,
hence the number of available gpus will be invalid for
the tests synchonization

🚀 Kind of Contribution
Please remove what does not apply: 🐛 Bug Fix

📊 Benchmark (for Performance Improvements)
Not relevant

🧪 Unit Tests:
Not relevant

🧪 Execution Tests:
Not relevant

Copybara import of the project:

--
bfd4a77 by Alexandros Theodoridis [email protected]:

Use rocminfo instead of lspci as it will report all connected gpus even inside docker container

--
ae08786 by Alexandros Theodoridis [email protected]:

Use rocminfo from local_config_rocm

--
bb21833 by Alexandros Theodoridis [email protected]:

Trigger CI/CD pipeline

--
b4e8784 by Alexandros Theodoridis [email protected]:

Add missing rocminfo dependencies

Merging this change closes #34520

FUTURE_COPYBARA_INTEGRATE_REVIEW=#34520 from ROCm:switch_parallel_gpu_execute_to_use_rocminfo b4e8784

@copybara-service copybara-service bot force-pushed the test_837792013 branch 2 times, most recently from 67f94bc to 32a337e Compare November 28, 2025 16:50
… connected gpus ev…

Imported from GitHub PR #34520

…en inside docker container

📝 Summary of Changes
Use rocminfo to detect number of gpus visible to xla

🎯 Justification
lspci will report all the gpus connected to bus
even inside the docker container with a limited visibility,
hence the number of available gpus will be invalid for
the tests synchonization

🚀 Kind of Contribution
Please remove what does not apply: 🐛 Bug Fix

📊 Benchmark (for Performance Improvements)
Not relevant

🧪 Unit Tests:
Not relevant

🧪 Execution Tests:
Not relevant

Copybara import of the project:

--
bfd4a77 by Alexandros Theodoridis <[email protected]>:

Use rocminfo instead of lspci as it will report all connected gpus even inside docker container

--
ae08786 by Alexandros Theodoridis <[email protected]>:

Use rocminfo from local_config_rocm

--
bb21833 by Alexandros Theodoridis <[email protected]>:

Trigger CI/CD pipeline

--
b4e8784 by Alexandros Theodoridis <[email protected]>:

Add missing rocminfo dependencies

Merging this change closes #34520

FUTURE_COPYBARA_INTEGRATE_REVIEW=#34520 from ROCm:switch_parallel_gpu_execute_to_use_rocminfo b4e8784
PiperOrigin-RevId: 837792013
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.

1 participant