pytorch_cluster
PyTorch Extension Library of Optimized Graph Cluster Algorithms
File Explorer
Download Latest Version (.zip)- cu101-Linux-env.sh
- cu101-Linux.sh
- cu101-Windows-env.sh
- cu101-Windows.sh
- cu102-Linux-env.sh
- cu102-Linux.sh
- cu102-Windows-env.sh
- cu102-Windows.sh
- cu111-Linux-env.sh
- cu111-Linux.sh
- cu111-Windows-env.sh
- cu111-Windows.sh
- cu113-Linux-env.sh
- cu113-Linux.sh
- cu113-Windows-env.sh
- cu113-Windows.sh
- cu115-Linux-env.sh
- cu115-Linux.sh
- cu115-Windows-env.sh
- cu115-Windows.sh
- cu116-Linux-env.sh
- cu116-Linux.sh
- cu116-Windows-env.sh
- cu116-Windows.sh
- cu117-Linux-env.sh
- cu117-Linux.sh
- cu117-Windows-env.sh
- cu117-Windows.sh
- cu118-Linux-env.sh
- cu118-Linux.sh
- cu118-Windows-env.sh
- cu118-Windows.sh
- cu121-Linux-env.sh
- cu121-Linux.sh
- cu121-Windows-env.sh
- cu121-Windows.sh
- cu124-Linux-env.sh
- cu124-Linux.sh
- cu124-Windows-env.sh
- cu124-Windows.sh
- cu126-Linux-env.sh
- cu126-Linux.sh
- cu126-Windows-env.sh
- cu126-Windows.sh
- cu128-Linux-env.sh
- cu128-Linux.sh
- cu128-Windows-env.sh
- cu128-Windows.sh
- cu129-Linux-env.sh
- cu129-Linux.sh
- cu129-Windows-env.sh
- cu129-Windows.sh
- cu130-Linux-env.sh
- cu130-Linux.sh
- building.yml
- linting.yml
- stale.yml
- testing.yml
- TorchClusterConfig.cmake.in
- KDTreeVectorOfVectorsAdaptor.h
- nanoflann.hpp
- fps_cpu.cpp
- fps_cpu.h
- graclus_cpu.cpp
- graclus_cpu.h
- grid_cpu.cpp
- grid_cpu.h
- knn_cpu.cpp
- knn_cpu.h
- radius_cpu.cpp
- radius_cpu.h
- rw_cpu.cpp
- rw_cpu.h
- sampler_cpu.cpp
- sampler_cpu.h
- utils.h
- fps_cuda.cu
- fps_cuda.h
- graclus_cuda.cu
- graclus_cuda.h
- grid_cuda.cu
- grid_cuda.h
- knn_cuda.cu
- knn_cuda.h
- nearest_cuda.cu
- nearest_cuda.h
- radius_cuda.cu
- radius_cuda.h
- rw_cuda.cu
- rw_cuda.h
- utils.cuh
- cluster.h
- extensions.h
- fps.cpp
- graclus.cpp
- grid.cpp
- knn.cpp
- macros.h
- nearest.cpp
- radius.cpp
- rw.cpp
- sampler.cpp
- version.cpp
- test_fps.py
- test_graclus.py
- test_grid.py
- test_knn.py
- test_nearest.py
- test_radius.py
- test_rw.py
- test_sampler.py
- __init__.py
- fps.py
- graclus.py
- grid.py
- knn.py
- nearest.py
- radius.py
- rw.py
- sampler.py
- testing.py
- typing.py
- .coveragerc
- .gitignore
- CMakeLists.txt
- LICENSE
- MANIFEST.in
- pyproject.toml
- README.md
- setup.cfg
- setup.py
# Installation Guide
git clone https://github.com/rusty1s/pytorch_cluster
Downloads the entire project code from GitHub to your computer.
cd pytorch_cluster
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommended- Python 3 Python is required to use pip.
pip install torch-cluster -f https://data.pyg.org/whl/torch-2.11.0+${CUDA}.html
Installs the package published on PyPI directly β no need to clone the source.
pip install torch-cluster -f https://data.pyg.org/whl/torch-2.10.0+${CUDA}.html
Installs the package published on PyPI directly β no need to clone the source.
pip install torch-cluster -f https://data.pyg.org/whl/torch-2.9.0+${CUDA}.html
Installs the package published on PyPI directly β no need to clone the source.
pip install torch-cluster
Installs the package published on PyPI directly β no need to clone the source.
Pulled directly from this repo's README.
3. CMake
Mediumcmake ..
Analyzes the source code and generates build configuration files (must be run inside the build folder).
Pulled directly from this repo's README.
4. Python
Easypip install torch-cluster -f https://data.pyg.org/whl/torch-2.11.0+${CUDA}.html
Installs the package published on PyPI directly β no need to clone the source.
pip install torch-cluster -f https://data.pyg.org/whl/torch-2.10.0+${CUDA}.html
Installs the package published on PyPI directly β no need to clone the source.
pip install torch-cluster -f https://data.pyg.org/whl/torch-2.9.0+${CUDA}.html
Installs the package published on PyPI directly β no need to clone the source.
pip install torch-cluster
Installs the package published on PyPI directly β no need to clone the source.
Pulled directly from this repo's README.
