Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
norm
vllm
Commits
2b7d3aca
Unverified
Commit
2b7d3aca
authored
Jun 27, 2023
by
Cody Yu
Committed by
GitHub
Jun 27, 2023
Browse files
Update setup.py (#282)
Co-authored-by:
neubig
<
neubig@gmail.com
>
parent
4026a049
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
setup.py
setup.py
+2
-3
No files found.
setup.py
View file @
2b7d3aca
...
...
@@ -20,10 +20,9 @@ ABI = 1 if torch._C._GLIBCXX_USE_CXX11_ABI else 0
CXX_FLAGS
+=
[
f
"-D_GLIBCXX_USE_CXX11_ABI=
{
ABI
}
"
]
NVCC_FLAGS
+=
[
f
"-D_GLIBCXX_USE_CXX11_ABI=
{
ABI
}
"
]
if
not
torch
.
cuda
.
is_available
()
:
if
CUDA_HOME
is
None
:
raise
RuntimeError
(
f
"Cannot find CUDA at CUDA_HOME:
{
CUDA_HOME
}
. "
"CUDA must be available in order to build the package."
)
f
"Cannot find CUDA_HOME. CUDA must be available in order to build the package."
)
def
get_nvcc_cuda_version
(
cuda_dir
:
str
)
->
Version
:
...
...
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