From 5978d2f9ab5c858140d1b6667bb36e033254e3b4 Mon Sep 17 00:00:00 2001 From: amd-jiali Date: Thu, 2 Oct 2025 09:32:32 -0700 Subject: [PATCH] Print out the hipRuntimeVersion message from WARN to always show up (#1911) Authored-by: Jiali Li --- src/init.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/init.cc b/src/init.cc index a43f6d70da..df5d0d6022 100644 --- a/src/init.cc +++ b/src/init.cc @@ -150,7 +150,8 @@ ncclResult_t checkHsaEnvSetting() { INFO(NCCL_INIT, "Hipruntime version: %d, firmware version: %d", hipRuntimeVersion, firmwareVersion); if (!validHsaScratchEnvSetting(hsaScratchEnv, hipRuntimeVersion, firmwareVersion, devProp.gcnArchName)) { - WARN("HSA_NO_SCRATCH_RECLAIM=1 must be set to avoid RCCL perf hit, rocm ver:%d", hipRuntimeVersion); + // Always print out this warning message + printf("Fatal Error: HSA_NO_SCRATCH_RECLAIM=1 must be set to avoid performance degradation with HIP Runtime version:%d, GPU Firmware version:%d\n", hipRuntimeVersion, firmwareVersion); return ncclSystemError; } return ncclSuccess;