Skip to main content

A tool to automatically install PyTorch packages with CUDA support if available

Project description

PyTorch CUDA Installer

PyTorch CUDA Installer is a Python package that simplifies the process of installing PyTorch packages with CUDA support. It automatically detects the available CUDA version on your system and installs the appropriate PyTorch packages.

Installation

You can install the PyTorch CUDA Installer using pip:

pip install torch-cuda-installer

Usage

After installation, you can use the package in two ways:

  1. As a command-line tool:

    torch-cuda-installer --torch --torchvision --torchaudio
    
  2. As a Python module:

    from torch_cuda_installer import install_pytorch
    
    install_pytorch(cuda_key=None, packages=['torch', 'torchvision', 'torchaudio'])
    

Use any combination of --torch, --torchvision, and --torchaudio to select which packages to install.

Project details


Download files

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

Source Distribution

torch_cuda_installer-0.1.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

torch_cuda_installer-0.1.0-py3-none-any.whl (3.6 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