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
13362593
Commit
13362593
authored
Apr 23, 2020
by
rusty1s
Browse files
old state
parent
387edc9b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
script/cuda.sh
script/cuda.sh
+4
-1
script/torch.sh
script/torch.sh
+0
-2
No files found.
script/cuda.sh
View file @
13362593
...
@@ -30,7 +30,7 @@ if [ "${TRAVIS_OS_NAME}" = "linux" ] && [ "$IDX" = "cu102" ]; then
...
@@ -30,7 +30,7 @@ if [ "${TRAVIS_OS_NAME}" = "linux" ] && [ "$IDX" = "cu102" ]; then
export
TOOLKIT
=
"cudatoolkit=
${
CUDA_SHORT
}
"
export
TOOLKIT
=
"cudatoolkit=
${
CUDA_SHORT
}
"
fi
fi
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"windows"
]
;
then
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"windows"
]
&&
[
"
$IDX
"
=
"cpu"
]
;
then
export
TOOLKIT
=
cpuonly
export
TOOLKIT
=
cpuonly
fi
fi
...
@@ -38,18 +38,21 @@ if [ "${TRAVIS_OS_NAME}" = "windows" ] && [ "$IDX" = "cu92" ]; then
...
@@ -38,18 +38,21 @@ if [ "${TRAVIS_OS_NAME}" = "windows" ] && [ "$IDX" = "cu92" ]; then
export
CUDA_SHORT
=
9.2
export
CUDA_SHORT
=
9.2
export
CUDA_URL
=
https://developer.nvidia.com/compute/cuda/
${
CUDA_SHORT
}
/Prod2/local_installers2
export
CUDA_URL
=
https://developer.nvidia.com/compute/cuda/
${
CUDA_SHORT
}
/Prod2/local_installers2
export
CUDA_FILE
=
cuda_
${
CUDA_SHORT
}
.148_win10
export
CUDA_FILE
=
cuda_
${
CUDA_SHORT
}
.148_win10
export
TOOLKIT
=
"cudatoolkit=
${
CUDA_SHORT
}
"
fi
fi
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"windows"
]
&&
[
"
$IDX
"
=
"cu101"
]
;
then
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"windows"
]
&&
[
"
$IDX
"
=
"cu101"
]
;
then
export
CUDA_SHORT
=
10.1
export
CUDA_SHORT
=
10.1
export
CUDA_URL
=
https://developer.nvidia.com/compute/cuda/
${
CUDA_SHORT
}
/Prod/local_installers
export
CUDA_URL
=
https://developer.nvidia.com/compute/cuda/
${
CUDA_SHORT
}
/Prod/local_installers
export
CUDA_FILE
=
cuda_
${
CUDA_SHORT
}
.105_418.96_win10.exe
export
CUDA_FILE
=
cuda_
${
CUDA_SHORT
}
.105_418.96_win10.exe
export
TOOLKIT
=
"cudatoolkit=
${
CUDA_SHORT
}
"
fi
fi
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"windows"
]
&&
[
"
$IDX
"
=
"cu102"
]
;
then
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"windows"
]
&&
[
"
$IDX
"
=
"cu102"
]
;
then
export
CUDA_SHORT
=
10.2
export
CUDA_SHORT
=
10.2
export
CUDA_URL
=
https://developer.nvidia.com/compute/cuda/
${
CUDA_SHORT
}
/Prod/local_installers
export
CUDA_URL
=
https://developer.nvidia.com/compute/cuda/
${
CUDA_SHORT
}
/Prod/local_installers
export
CUDA_FILE
=
cuda_
${
CUDA_SHORT
}
.89_441.22_win10
export
CUDA_FILE
=
cuda_
${
CUDA_SHORT
}
.89_441.22_win10
export
TOOLKIT
=
"cudatoolkit=
${
CUDA_SHORT
}
"
fi
fi
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"osx"
]
&&
[
"
$IDX
"
=
"cpu"
]
;
then
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"osx"
]
&&
[
"
$IDX
"
=
"cpu"
]
;
then
...
...
script/torch.sh
View file @
13362593
...
@@ -5,7 +5,5 @@ if [ "${TRAVIS_OS_NAME}" = "windows" ] && [ "${IDX}" != "cpu" ]; then
...
@@ -5,7 +5,5 @@ 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/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
ls
/c/tools/miniconda3/envs/test/lib/site-packages/torch/lib
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