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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file install_torch-1.0.tar.gz.

File metadata

  • Download URL: install_torch-1.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.9 Windows/10

File hashes

Hashes for install_torch-1.0.tar.gz
Algorithm Hash digest
SHA256 fdb340e293a6cc6321fbf9a4eba4751c28afece7952510aba7945fa6fc50d894
MD5 ffac63761c9a5732aa4e9d52d08265b4
BLAKE2b-256 fe44c73db8928faff8a03e7f0ab0a3704e791c65550a060ee407651b47828005

See more details on using hashes here.

File details

Details for the file install_torch-1.0-py3-none-any.whl.

File metadata

  • Download URL: install_torch-1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.9 Windows/10

File hashes

Hashes for install_torch-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9ca5b4d80a34e6372c90afd6fd344913f818fdad0cd78577f12505b3a01ef8d2
MD5 ea428e8385df67fdb2a90d367e2a37d3
BLAKE2b-256 ec6bb30715b9f5a9d45103ec999d0a5c3e5cb50f635a376b93e64a049b09f86e

See more details on using hashes here.

Supported by

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