Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
myrfy001
vllm_dsv4
Commits
84eaa684
"vscode:/vscode.git/clone" did not exist on "f791dc8648e1f6ec33f402d679b6b116a76d4e1b"
Unverified
Commit
84eaa684
authored
Mar 21, 2024
by
Allen.Dou
Committed by
GitHub
Mar 20, 2024
Browse files
Abort when nvcc command is not found in the PATH (#3527)
parent
5ee14494
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
CMakeLists.txt
CMakeLists.txt
+6
-0
No files found.
CMakeLists.txt
View file @
84eaa684
...
@@ -49,6 +49,12 @@ endif()
...
@@ -49,6 +49,12 @@ endif()
#
#
append_cmake_prefix_path
(
"torch"
"torch.utils.cmake_prefix_path"
)
append_cmake_prefix_path
(
"torch"
"torch.utils.cmake_prefix_path"
)
# Ensure the 'nvcc' command is in the PATH
find_program
(
NVCC_EXECUTABLE nvcc
)
if
(
NOT NVCC_EXECUTABLE
)
message
(
FATAL_ERROR
"nvcc not found"
)
endif
()
#
#
# Import torch cmake configuration.
# Import torch cmake configuration.
# Torch also imports CUDA (and partially HIP) languages with some customizations,
# Torch also imports CUDA (and partially HIP) languages with some customizations,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment