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
OpenDAS
apex
Commits
62f06964
Unverified
Commit
62f06964
authored
Nov 02, 2021
by
Hubert Lu
Committed by
GitHub
Nov 02, 2021
Browse files
Update setup.py
Co-authored-by:
Jeff Daily
<
jeff.daily@amd.com
>
parent
4b15f641
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
setup.py
setup.py
+0
-5
No files found.
setup.py
View file @
62f06964
...
...
@@ -34,11 +34,6 @@ def check_if_rocm_pytorch():
IS_ROCM_PYTORCH
=
check_if_rocm_pytorch
()
if
IS_ROCM_PYTORCH
:
rocm_include_dirs
=
[
"/opt/rocm/include/hiprand"
,
"/opt/rocm/include/rocrand"
]
else
:
rocm_include_dirs
=
[]
if
not
torch
.
cuda
.
is_available
()
and
not
IS_ROCM_PYTORCH
:
# https://github.com/NVIDIA/apex/issues/486
# Extension builds after https://github.com/pytorch/pytorch/pull/23408 attempt to query torch.cuda.get_device_capability(),
...
...
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