Fix docker compose (#1323)
Co-authored-by: Yanyao Wang <yanywang@amd.com>
Cette révision appartient à :
1 Parent
ecf0d32644
révision
454e935448
1 fichier modifié
+3
-3
@@ -4,9 +4,9 @@ services:
|
||||
context: ../../../
|
||||
dockerfile: projects/rocprofiler-compute/docker/Dockerfile.customrocmtest
|
||||
image: rocprofiler-compute-<username>
|
||||
# Forward some env vars
|
||||
environment:
|
||||
ROCR_VISIBLE_DEVICES: ${ROCR_VISIBLE_DEVICES}
|
||||
# Uncomment for environments using ROCR_VISIBLE_DEVICES env. var. to forward it to container
|
||||
# environment:
|
||||
# ROCR_VISIBLE_DEVICES: ${ROCR_VISIBLE_DEVICES}
|
||||
devices:
|
||||
- /dev/kfd
|
||||
- /dev/dri
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur