Commit 7549ff33 authored by fishingfly's avatar fishingfly
Browse files

fix: refine backend error message to include ROCM_HOME


Signed-off-by: default avatarfishingfly <zhoyuzf@163.com>
parent f142f4df
......@@ -316,7 +316,7 @@ class CMakeBuild(BuildExtension):
elif ROCM_HOME is not None:
cmake_args += ["-DKTRANSFORMERS_USE_ROCM=ON"]
else:
raise ValueError("Unsupported backend: CUDA_HOME and MUSA_HOME are not set.")
raise ValueError("Unsupported backend: CUDA_HOME, MUSA_HOME, and ROCM_HOME are not set.")
# log cmake_args
print("CMake args:", cmake_args)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment