Simple utility to install pytorch, pytorch-geometric and pytorch-lightning. Detects CUDA version automatically.
Project description
PyTorch Install Helper
Super basic helper to install pytorch stuff without having to check cuda versions and go to websites for the installer URLs.
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] [--poetry] [--dryrun] [--pyg] [--lightning]
optional arguments:
-h, --help show this help message and exit
--poetry, -p Uses poetry for install. Creates a torch source and adds torch to pyproject.toml
--dryrun, -d just prints the commands that would be run
--pyg, -pyg Flag to also install pytorch-geometric
--lightning, -l Flag to also install pytorch-lightning
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.2.8.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for torchinstaller-0.2.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdfe278eca79898579d866da42a7c2b353ce79029306fb843dcc665a1d358a28 |
|
MD5 | f001b7644a851d692f3d4b35f81d0d2d |
|
BLAKE2b-256 | 7af69140ff265fe99441b16d9d23987bc85f3b28163ba979423bbadddac885da |