Skip to content

Add GPU device passthrough for running rocminfo inside container - #7706

Draft
arvindcheru wants to merge 2 commits into
mainfrom
users/acheruva/test_rocminfo_fix
Draft

Add GPU device passthrough for running rocminfo inside container#7706
arvindcheru wants to merge 2 commits into
mainfrom
users/acheruva/test_rocminfo_fix

Conversation

@arvindcheru

Copy link
Copy Markdown
Contributor

Motivation

This pull request updates the container configuration in the .github/workflows/test_native_linux_packages_install.yml workflow to improve GPU passthrough and environment isolation for tests running on OSSCI GPU runners.

ISSUE ID : #7705

Technical Details

Container configuration improvements for GPU support:

  • Added multiple --device, --group-add, and --env-file options to the container run configuration to enable GPU device passthrough and proper group permissions, ensuring that tools like rocminfo and RDHC GPU checks function correctly inside the container. Also sets the container user to root for compatibility.

Test Plan

[] Verify install CI (test_native_linux_packages_install.yml)_on all OS profiles (ubuntu2404, rhel8, rhel10, sles16)

Test Result

Submission Checklist

@therock-pr-bot

therock-pr-bot Bot commented Aug 27, 2026

Copy link
Copy Markdown

✅ All Checks Passed — Ready for Review

Check Status Details
📝 PR Description ✅ Pass
Forbidden Files ✅ Pass
🧪 Unit Test ✅ Pass PR does not contain code files — Unit Test auto-passed
🔎 pre-commit ✅ Pass
🚫 Draft PR 🔜 To Be Enabled
🚩 Feature Flag 🔜 To Be Enabled
📊 Code Coverage 🔜 To Be Enabled
🤖 therock-pr-bot ✅ Pass

🎉 All checks passed! This PR is ready for review.

📖 Need help? See the Policy FAQ for details on every check and how to fix failures.

🙋 Wish to Override Policy?

@therock-pr-bot

Copy link
Copy Markdown

🎉 All checks passed! This PR is ready for review.

@arvindcheru
arvindcheru force-pushed the users/acheruva/test_rocminfo_fix branch from 3eafdb2 to f2d2fc4 Compare August 28, 2026 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: TODO

Development

Successfully merging this pull request may close these issues.

1 participant