Skip to content

Commit 2e83c31

Browse files
committed
print out the value of WITH_CUDA in the error
1 parent fdd86d6 commit 2e83c31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
if env_with_cuda is not None:
1414
if env_with_cuda not in ("0", "1"):
1515
raise ValueError(
16-
"Invalid flag with WITH_CUDA environment variable. Expected '0' or '1'"
16+
f"WITH_CUDA environment variable got invalid value {env_with_cuda}. Expected '0' or '1'"
1717
)
1818
use_cuda = env_with_cuda == "1"
1919
else:

0 commit comments

Comments
 (0)