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
abb2e1dc
Commit
abb2e1dc
authored
Feb 11, 2020
by
rusty1s
Browse files
fix
parent
327b8b1a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
.travis.yml
.travis.yml
+2
-2
torch_scatter/__init__.py
torch_scatter/__init__.py
+2
-1
No files found.
.travis.yml
View file @
abb2e1dc
...
@@ -48,7 +48,7 @@ jobs:
...
@@ -48,7 +48,7 @@ jobs:
-
CUDA=10.1.105-1
-
CUDA=10.1.105-1
-
UBUNTU_VERSION=ubuntu1804
-
UBUNTU_VERSION=ubuntu1804
-
CUBLAS=libcublas-dev
-
CUBLAS=libcublas-dev
-
TORCH=${TORCH_VERSION}
+
-
TORCH=${TORCH_VERSION}
-
name
:
macosx/cpu
-
name
:
macosx/cpu
os
:
osx
os
:
osx
osx_image
:
xcode11.3
osx_image
:
xcode11.3
...
@@ -98,7 +98,7 @@ jobs:
...
@@ -98,7 +98,7 @@ jobs:
# - choco install python --version 3.7.6
# - choco install python --version 3.7.6
install
:
install
:
-
if [ "${TRAVIS_OS_NAME}" = "windows" ]; then alias python3=python; fi
-
if [ "${TRAVIS_OS_NAME}" = "windows" ]; then
echo "wadawd";
alias python3=python; fi
-
source install.sh
-
source install.sh
-
pip3 install numpy
-
pip3 install numpy
-
pip3 install torch==${TORCH} -f https://download.pytorch.org/whl/torch_stable.html
-
pip3 install torch==${TORCH} -f https://download.pytorch.org/whl/torch_stable.html
...
...
torch_scatter/__init__.py
View file @
abb2e1dc
...
@@ -15,7 +15,8 @@ from .composite import (scatter_std, scatter_logsumexp, scatter_softmax,
...
@@ -15,7 +15,8 @@ from .composite import (scatter_std, scatter_logsumexp, scatter_softmax,
torch
.
ops
.
load_library
(
torch
.
ops
.
load_library
(
osp
.
join
(
osp
.
dirname
(
osp
.
abspath
(
__file__
)),
'_version.so'
))
osp
.
join
(
osp
.
dirname
(
osp
.
abspath
(
__file__
)),
'_version.so'
))
_version
=
torch
.
ops
.
torch_scatter
.
cuda_version
()
cuda_version
=
torch
.
ops
.
torch_scatter
.
cuda_version
()
print
(
cuda_version
)
__version__
=
'2.0.3'
__version__
=
'2.0.3'
...
...
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