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
dc55a996
Commit
dc55a996
authored
Mar 23, 2019
by
Cubbee
Committed by
mcarilli
Mar 23, 2019
Browse files
Fix typo in setup.py error message on torch version check (#219)
parent
0a991543
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
setup.py
setup.py
+1
-1
No files found.
setup.py
View file @
dc55a996
...
...
@@ -22,7 +22,7 @@ ext_modules = []
if
"--cpp_ext"
in
sys
.
argv
or
"--cuda_ext"
in
sys
.
argv
:
if
TORCH_MAJOR
==
0
:
raise
RuntimeError
(
"--cpp_ext requires Pytorch 1.0 or later, "
"found torch.__version__ = {}"
.
format
(
torch
.
__version
))
"found torch.__version__ = {}"
.
format
(
torch
.
__version
__
))
from
torch.utils.cpp_extension
import
BuildExtension
cmdclass
[
'build_ext'
]
=
BuildExtension
...
...
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