From 4f123c31abfe1ed19697392f8f5d298564addcc0 Mon Sep 17 00:00:00 2001
From: Li Li
Date: Tue, 12 Dec 2023 20:34:32 +0000
Subject: [PATCH] set debug print
---
.github/scripts/fbgemm_gpu_build.bash | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/.github/scripts/fbgemm_gpu_build.bash b/.github/scripts/fbgemm_gpu_build.bash
index dfdebd3a79..c49d8cea17 100644
--- a/.github/scripts/fbgemm_gpu_build.bash
+++ b/.github/scripts/fbgemm_gpu_build.bash
@@ -95,7 +95,9 @@ __configure_fbgemm_gpu_build_rocm () {
-DTORCH_USE_HIP_DSA=1
)
- new_path="$PATH:/opt/rocm/llvm/bin:\
+ echo "==============old path"
+ echo $PATH
+ new_path="$PATH:/opt/rocm/llvm/bin:\
/opt/rocm/opencl/bin:\
/opt/rocm/hip/bin:\
/opt/rocm/hcc/bin:\
@@ -107,6 +109,7 @@ __configure_fbgemm_gpu_build_rocm () {
/usr/bin:\
/sbin:\
/bin"
+ echo "==============new path"
echo $new_path
print_exec conda env config vars set ${env_prefix} PATH="$new_path"
}