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
55cd160b
Commit
55cd160b
authored
Apr 23, 2020
by
rusty1s
Browse files
Merge branch 'master' of
https://github.com/rusty1s/pytorch_scatter
parents
0fa23d82
c79baa2b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
4 deletions
+26
-4
.travis.yml
.travis.yml
+2
-2
README.md
README.md
+19
-0
script/gcc.sh
script/gcc.sh
+5
-2
No files found.
.travis.yml
View file @
55cd160b
language
:
shell
os
:
-
linux
-
osx
#
- linux
#
- osx
-
windows
env
:
...
...
README.md
View file @
55cd160b
...
...
@@ -40,7 +40,26 @@ All included operations are broadcastable, work on varying data types, are imple
### Binaries
#### PyTorch 1.5.0
We provide pip wheels for all major OS/PyTorch/CUDA combinations, see
[
here
](
https://pytorch-geometric.com/whl
)
.
To install the binaries for PyTorch 1.5.0, simply run
```
pip install torch-scatter==latest+${CUDA} -f https://pytorch-geometric.com/whl/torch-1.5.0.html
```
where
`${CUDA}`
should be replaced by either
`cpu`
,
`cu92`
,
`cu101`
or
`cu102`
depending on your PyTorch installation.
| |
`cpu`
|
`cu92`
|
`cu101`
|
`cu102`
|
|-------------|-------|--------|---------|---------|
|
**Linux**
| ✅ | ✅ | ✅ | ✅ |
|
**Windows**
| ✅ | ❌ | ✅ | ✅ |
|
**macOS**
| ✅ | | | |
#### PyTorch 1.4.0
To install the binaries for PyTorch 1.4.0, simply run
```
...
...
script/gcc.sh
View file @
55cd160b
...
...
@@ -4,7 +4,10 @@ if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
sudo
add-apt-repository ppa:ubuntu-toolchain-r/test
--yes
sudo
apt update
sudo
apt
install
gcc-7 g++-7
--yes
export
CC
=
gcc-7
export
CXX
=
g++-7
sudo
update-alternatives
--install
/usr/bin/gcc gcc /usr/bin/gcc-7 60
\
--slave
/usr/bin/g++ g++ /usr/bin/g++-7
sudo
update-alternatives
--config
gcc
gcc
--version
g++
--version
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