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
f9777244
Commit
f9777244
authored
Feb 12, 2020
by
rusty1s
Browse files
path
parent
56564cc5
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
script/.gitignore
script/.gitignore
+1
-0
script/install.sh
script/install.sh
+2
-3
script/wheel.py
script/wheel.py
+0
-0
setup.py
setup.py
+1
-1
No files found.
script/.gitignore
0 → 100644
View file @
f9777244
index.html
script/install.sh
View file @
f9777244
...
@@ -20,7 +20,6 @@ if [ "${TRAVIS_OS_NAME}" = "linux" ] && [ "${IDX}" != "cpu" ]; then
...
@@ -20,7 +20,6 @@ if [ "${TRAVIS_OS_NAME}" = "linux" ] && [ "${IDX}" != "cpu" ]; then
fi
fi
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"windows"
]
&&
[
"
${
IDX
}
"
!=
"cpu"
]
;
then
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"windows"
]
&&
[
"
${
IDX
}
"
!=
"cpu"
]
;
then
wget
"https://developer.nvidia.com/compute/cuda/
${
CUDA_SHORT
}
/Prod2/local_installers2/cuda_
${
CUDA
}
_win10"
wget
-q
"https://developer.nvidia.com/compute/cuda/
${
CUDA_SHORT
}
/Prod2/local_installers2/cuda_
${
CUDA
}
_win10"
ls
./cuda_
${
CUDA
}
_win10
./cuda_
${
CUDA
}
_win10.exe
fi
fi
script/wheel.py
0 → 100644
View file @
f9777244
setup.py
View file @
f9777244
...
@@ -10,7 +10,7 @@ from torch.utils.cpp_extension import CppExtension, CUDAExtension, CUDA_HOME
...
@@ -10,7 +10,7 @@ from torch.utils.cpp_extension import CppExtension, CUDAExtension, CUDA_HOME
WITH_CUDA
=
torch
.
cuda
.
is_available
()
and
CUDA_HOME
is
not
None
WITH_CUDA
=
torch
.
cuda
.
is_available
()
and
CUDA_HOME
is
not
None
if
os
.
getenv
(
'FORCE_CUDA'
,
'0'
)
==
'1'
:
if
os
.
getenv
(
'FORCE_CUDA'
,
'0'
)
==
'1'
:
WITH_CUDA
=
True
WITH_CUDA
=
True
if
os
.
getenv
(
'FORCE_
NO_CUDA
'
,
'0'
)
==
'1'
:
if
os
.
getenv
(
'FORCE_
CPU
'
,
'0'
)
==
'1'
:
WITH_CUDA
=
False
WITH_CUDA
=
False
BUILD_DOCS
=
os
.
getenv
(
'BUILD_DOCS'
,
'0'
)
==
'1'
BUILD_DOCS
=
os
.
getenv
(
'BUILD_DOCS'
,
'0'
)
==
'1'
...
...
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