# 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 pytorch-cuda-installer
```
## Usage
After installation, you can use the package in two ways:
1. As a command-line tool:
```
pytorch-cuda-installer --torch --torchvision --torchaudio
```
2. As a Python module:
```python
from pytorch_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.
Raw data
{
"_id": null,
"home_page": null,
"name": "pytorch-cuda-installer",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "pytorch, cuda, installer, deep-learning, nvidia",
"author": null,
"author_email": "G\u00fcven\u00e7 Usanmaz <gusanmaz@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/8e/20/59b13c16ab5ccafb6276910e819b7b5de13bc16cc91c173f5dc1962d1c85/pytorch_cuda_installer-0.1.0.tar.gz",
"platform": null,
"description": "# PyTorch CUDA Installer\n\nPyTorch 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.\n\n## Installation\n\nYou can install the PyTorch CUDA Installer using pip:\n\n```\npip install pytorch-cuda-installer\n```\n\n## Usage\n\nAfter installation, you can use the package in two ways:\n\n1. As a command-line tool:\n\n ```\n pytorch-cuda-installer --torch --torchvision --torchaudio\n ```\n\n2. As a Python module:\n\n ```python\n from pytorch_cuda_installer import install_pytorch\n\n install_pytorch(cuda_key=None, packages=['torch', 'torchvision', 'torchaudio'])\n ```\n\nUse any combination of `--torch`, `--torchvision`, and `--torchaudio` to select which packages to install.\n",
"bugtrack_url": null,
"license": null,
"summary": "A tool to automatically install PyTorch packages with CUDA support if available",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/gusanmaz/pytorch-cuda-installer"
},
"split_keywords": [
"pytorch",
" cuda",
" installer",
" deep-learning",
" nvidia"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9bc26c79ec4ac8d59203a95d7b53288d4b61c891337316512e6e20dd325f5f87",
"md5": "7408808cfd9c49fef99664ff495d5e6b",
"sha256": "356b1918ad2de7b5525fef22fbbbb6d0e183b68b6b5014f02eddc4e7528ef0c0"
},
"downloads": -1,
"filename": "pytorch_cuda_installer-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7408808cfd9c49fef99664ff495d5e6b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 3801,
"upload_time": "2024-08-05T11:22:42",
"upload_time_iso_8601": "2024-08-05T11:22:42.942496Z",
"url": "https://files.pythonhosted.org/packages/9b/c2/6c79ec4ac8d59203a95d7b53288d4b61c891337316512e6e20dd325f5f87/pytorch_cuda_installer-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8e2059b13c16ab5ccafb6276910e819b7b5de13bc16cc91c173f5dc1962d1c85",
"md5": "a0e766693be5dcbdcdaa5410d98d3578",
"sha256": "98b3b0e1ef55c12ab8df60d47da91ccd4c5eaedd3e661cfb588a0288f0c78cd6"
},
"downloads": -1,
"filename": "pytorch_cuda_installer-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "a0e766693be5dcbdcdaa5410d98d3578",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 3286,
"upload_time": "2024-08-05T11:22:44",
"upload_time_iso_8601": "2024-08-05T11:22:44.604638Z",
"url": "https://files.pythonhosted.org/packages/8e/20/59b13c16ab5ccafb6276910e819b7b5de13bc16cc91c173f5dc1962d1c85/pytorch_cuda_installer-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-05 11:22:44",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "gusanmaz",
"github_project": "pytorch-cuda-installer",
"github_not_found": true,
"lcname": "pytorch-cuda-installer"
}