Skip to main content

This script can be used to automatically install torch and CUDA.

Project description

Install torch

This script can be used to automatically install torch and CUDA.

How it works?

  1. The user is prompted to select whether they want to install the CPU or GPU version of torch.
  2. If the GPU version is selected, the user is prompted to enter the version of CUDA they want to install.
  3. The script checks if CUDA is already installed and if it is not, it downloads and installs the version specified by the user.
  4. The script then downloads and installs the appropriate version of torch based on the user's initial selection.

Requirements

This script requires the following Python packages:

  • rich
  • beautifulsoup4
  • wget
  • requests
  • requests-html
  • tqdm

You can install these packages by running pip install -r requirements.txt.

Usage

To use this script install it using pip:

pip install install_torch
install-torch

Alternatively, you can download the script and run it directly using Python:

git clone https://github.com/hawier-dev/install_torch.git
python install_torch.py

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

install_torch-1.0.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

install_torch-1.0-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page