improved error messag

This commit is contained in:
Mohit Sharma 2024-09-27 12:34:04 +00:00
parent 816d4b67b2
commit ac2dccd174
1 changed files with 3 additions and 1 deletions

View File

@ -13,7 +13,9 @@ if SYSTEM == "rocm":
try: try:
from vllm import _custom_C from vllm import _custom_C
except Exception as e: except Exception as e:
raise ImportError(f"Could not load `vllm._custom_C`. Full error: {e}") raise ImportError(
f"Could not load `vllm._custom_C` for ROCm skinny gemm. Full error: {e}"
)
class FastLinear(torch.nn.Module): class FastLinear(torch.nn.Module):