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
39ef6f1b
Commit
39ef6f1b
authored
Feb 13, 2020
by
rusty1s
Browse files
typo
parent
39e9de70
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
script/cuda.sh
script/cuda.sh
+1
-3
No files found.
script/cuda.sh
View file @
39ef6f1b
...
@@ -98,14 +98,12 @@ fi
...
@@ -98,14 +98,12 @@ fi
# Fix Cuda9.2 on Windows: https://github.com/pytorch/pytorch/issues/6109
# Fix Cuda9.2 on Windows: https://github.com/pytorch/pytorch/issues/6109
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"windows"
]
&&
[
"
${
IDX
}
"
=
"cu92"
]
;
then
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"windows"
]
&&
[
"
${
IDX
}
"
=
"cu92"
]
;
then
cat
-n
"
${
CUDA_HOME
}
/include/crt/host_config.h"
sed
-i
.bak
-e
'129,141d'
"
${
CUDA_HOME
}
/include/crt/host_config.h"
sed
-i
.bak
-e
'129,141d'
"
${
CUDA_HOME
}
/include/crt/host_config.h"
cat
-n
"
${
CUDA_HOME
}
/include/crt/host_config.h"
fi
fi
# Fix "member may not be initialized" error on Windows: https://github.com/pytorch/pytorch/issues/27958
# Fix "member may not be initialized" error on Windows: https://github.com/pytorch/pytorch/issues/27958
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"windows"
]
&&
[
"
${
IDX
}
"
!=
"cpu"
]
;
then
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"windows"
]
&&
[
"
${
IDX
}
"
!=
"cpu"
]
;
then
sed
-i
.bak
-e
's/constexpr/const/g'
/c/tools/miniconda3/envs/test/lib/site-packages/torch/include/torch/csrc/jit/script/module.h
sed
-i
.bak
-e
's/constexpr/const/g'
/c/tools/miniconda3/envs/test/lib/site-packages/torch/include/torch/csrc/jit/script/module.h
sed
-i
.bak
-e
's/constexpr/const/g'
/c/tools/miniconda3/envs/test/lib/site-packages/torch/include/torch/csrc/jit/
script/
argument_spec.h
sed
-i
.bak
-e
's/constexpr/const/g'
/c/tools/miniconda3/envs/test/lib/site-packages/torch/include/torch/csrc/jit/argument_spec.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
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