Simple utility to install pytorch, pytorch-geometric and pytorch-lightning. Detects CUDA version automatically.
Project description
PyTorch Install Helper
Super simple helper to install pytorch stuff without having to check cuda versions and go to websites for the installer URLs. Installs based on requested or detected CUDA version, doesn't check python versions.
Only Linux and macOS Supported
Detects what cuda version is available and runs the pip command to install latest pytorch and compatible cuda version
Installation
pip install torchinstaller
Usage
$ torchinstall -h
usage: torchinstall [-h] [--pytorch] [--pyg] [--pyg-lib-source] [--cuda {10.2,11.3,11.6,11.7}] [--lightning]
[--use {pip,conda,mamba,poetry}] [-install]
options:
-h, --help show this help message and exit
--pytorch, -pt Flag to install pytorch
--pyg, -pyg Flag to install pytorch-geometric
--pyg-lib-source, -pyg-src
Pytorch Geometric doesn't support wheels for M1/M2 macs, they recommend installing
from source
--cuda {10.2,11.3,11.6,11.7}, -c {10.2,11.3,11.6,11.7}
Manually specify cuda version instead of auto-detect (useful for cluster
installations).
--lightning, -l Flag to install pytorch-lightning
--use {pip,conda,mamba,poetry}, -use {pip,conda,mamba,poetry}
set command to install with
-install, -i Run installation (default is to dry run commands)
Note: poetry support is a work in-progress and is unstable
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
torchinstaller-0.4.0.tar.gz
(4.9 kB
view hashes)
Built Distribution
Close
Hashes for torchinstaller-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fd9fe0497f1e599fb659ed38718e6dbf4ae914edb41bb73778bbd9d6da8ed7e |
|
MD5 | 2376b328e71d949c3a9f1fa5a4a43384 |
|
BLAKE2b-256 | 0c6e77cf0861d87205ebacfde4e6c4c23457603d3e80f8ca0e0a999e4ab4d365 |