mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2025-09-07 21:19:51 +00:00
Merge pull request #1005 from fishingfly/improve/backend-error-msg
fix: refine backend error message to include ROCM_HOME
This commit is contained in:
commit
ec12429c46
1 changed files with 9 additions and 9 deletions
2
setup.py
2
setup.py
|
@ -317,7 +317,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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue