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
gaoqiong
flash-attention
Commits
aab603af
Unverified
Commit
aab603af
authored
Aug 14, 2023
by
Aman Gupta Karmani
Committed by
GitHub
Aug 14, 2023
Browse files
fix binary wheel installation when nvcc is not available (#448)
parent
f8dccfc9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
setup.py
setup.py
+0
-2
No files found.
setup.py
View file @
aab603af
...
@@ -247,8 +247,6 @@ class CachedWheelsCommand(_bdist_wheel):
...
@@ -247,8 +247,6 @@ class CachedWheelsCommand(_bdist_wheel):
if
FORCE_BUILD
:
if
FORCE_BUILD
:
return
super
().
run
()
return
super
().
run
()
raise_if_cuda_home_none
(
"flash_attn"
)
# Determine the version numbers that will be used to determine the correct wheel
# Determine the version numbers that will be used to determine the correct wheel
# We're using the CUDA version used to build torch, not the one currently installed
# We're using the CUDA version used to build torch, not the one currently installed
# _, cuda_version_raw = get_cuda_bare_metal_version(CUDA_HOME)
# _, cuda_version_raw = get_cuda_bare_metal_version(CUDA_HOME)
...
...
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