# 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:
```python
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.
Raw data
{
"_id": null,
"home_page": null,
"name": "torch-cuda-installer",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "pytorch, torch, cuda, installer, deep-learning, nvidia",
"author": null,
"author_email": "G\u00fcven\u00e7 Usanmaz <gusanmaz@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/2c/4d/68523a42e3240b600b8ef1b82510cf40d5c3ade7e2106c99422f2df3f7d2/torch_cuda_installer-0.1.0.tar.gz",
"platform": null,
"description": "\n# 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 torch-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 torch-cuda-installer --torch --torchvision --torchaudio\n ```\n\n2. As a Python module:\n\n ```python\n from torch_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/torch-cuda-installer"
},
"split_keywords": [
"pytorch",
" torch",
" cuda",
" installer",
" deep-learning",
" nvidia"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d6b6663168d50f9ee570f798356602d4d2eb6e014494c022371e4a04990d707e",
"md5": "69a9c3abab987d1759d0a7c0a16fb550",
"sha256": "1c2312e30624b01516207140894583403a2466623d312da5deed55599623ec8c"
},
"downloads": -1,
"filename": "torch_cuda_installer-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "69a9c3abab987d1759d0a7c0a16fb550",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 3645,
"upload_time": "2024-08-05T12:29:13",
"upload_time_iso_8601": "2024-08-05T12:29:13.359784Z",
"url": "https://files.pythonhosted.org/packages/d6/b6/663168d50f9ee570f798356602d4d2eb6e014494c022371e4a04990d707e/torch_cuda_installer-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2c4d68523a42e3240b600b8ef1b82510cf40d5c3ade7e2106c99422f2df3f7d2",
"md5": "e5cf126cd313a11395af40920228b5a2",
"sha256": "fea771c493bc79140e5b2183df267fafb0d51bd578253c40dbe76ebe1592006d"
},
"downloads": -1,
"filename": "torch_cuda_installer-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "e5cf126cd313a11395af40920228b5a2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 3214,
"upload_time": "2024-08-05T12:29:14",
"upload_time_iso_8601": "2024-08-05T12:29:14.938282Z",
"url": "https://files.pythonhosted.org/packages/2c/4d/68523a42e3240b600b8ef1b82510cf40d5c3ade7e2106c99422f2df3f7d2/torch_cuda_installer-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-05 12:29:14",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "gusanmaz",
"github_project": "torch-cuda-installer",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "torch-cuda-installer"
}