mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
[ROCm] Fix MIGraphX ciagent user Permissions issues (#13137)
### Description <!-- Describe your changes. --> fix migraphx ci pipeline failed problem. Disabled MIGraphX pipeline now. It will be Enabled when this PR merge. ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. -->
This commit is contained in:
parent
5182d6610d
commit
3157cdb19a
1 changed files with 4 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ jobs:
|
|||
--device=/dev/dri \
|
||||
--group-add $(video) \
|
||||
--group-add $(render) \
|
||||
--user $UID:$(id -g $USER) \
|
||||
--volume $(Build.SourcesDirectory):/onnxruntime_src \
|
||||
--volume $(Build.BinariesDirectory):/build \
|
||||
--workdir /onnxruntime_src \
|
||||
|
|
@ -71,6 +72,7 @@ jobs:
|
|||
--device=/dev/dri \
|
||||
--group-add $(video) \
|
||||
--group-add $(render) \
|
||||
--user $UID:$(id -g $USER) \
|
||||
--volume $(Build.SourcesDirectory):/onnxruntime_src \
|
||||
--volume $(Build.BinariesDirectory):/build \
|
||||
--workdir /build/RelWithDebInfo \
|
||||
|
|
@ -78,3 +80,5 @@ jobs:
|
|||
/onnxruntime_src/tools/ci_build/github/pai/migraphx_test_launcher.sh
|
||||
workingDirectory: $(Build.SourcesDirectory)
|
||||
displayName: 'Run onnxruntime unit tests'
|
||||
|
||||
- template: templates/clean-agent-build-directory-step.yml
|
||||
|
|
|
|||
Loading…
Reference in a new issue