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
torch-scatter
Commits
fd42ff06
Commit
fd42ff06
authored
Jul 31, 2020
by
rusty1s
Browse files
fix
parent
b9d33690
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
script/torch.sh
script/torch.sh
+1
-0
No files found.
script/torch.sh
View file @
fd42ff06
...
@@ -12,4 +12,5 @@ fi
...
@@ -12,4 +12,5 @@ fi
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"windows"
]
&&
[
"
${
TORCH_VERSION
}
"
=
"1.6.0"
]
;
then
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"windows"
]
&&
[
"
${
TORCH_VERSION
}
"
=
"1.6.0"
]
;
then
echo
"Fix nvcc for PyTorch 1.6.0"
echo
"Fix nvcc for PyTorch 1.6.0"
sed
-i
.bak
-e
's/CONSTEXPR_EXCEPT_WIN_CUDA/const/g'
/c/tools/miniconda3/envs/test/lib/site-packages/torch/include/torch/csrc/jit/api/module.h
sed
-i
.bak
-e
's/CONSTEXPR_EXCEPT_WIN_CUDA/const/g'
/c/tools/miniconda3/envs/test/lib/site-packages/torch/include/torch/csrc/jit/api/module.h
sed
-i
.bak
-e
's/return \*(this->value)/return \*((type\*)this->value)/g'
/c/tools/miniconda3/envs/test/lib/site-packages/torch/include/pybind11/cast.h
fi
fi
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