# GPUInfoNV
GPUInfoNV is a Python library for gathering and managing information about NVIDIA GPUs. It provides functionality to retrieve GPU statistics, check PyTorch availability, and free up GPU resources.
## Features
- Detect and gather information about NVIDIA GPUs
- Check PyTorch and CUDA availability
- Retrieve detailed GPU statistics
- Free up GPU resources, including process termination and cache clearing
## Installation
You can install GPUInfoNV using pip:
```bash
pip install gpuinfonv
```
## Quick Start
Here's a simple example of how to use GPUInfo:
```python
from gpuinfonv import GPUInfo
# Create a GPUInfo instance
gpu_info = GPUInfo()
# Print information about all detected GPUs
gpu_info.print_gpu_info()
# Free up GPU resources
gpu_info.free_up_gpu(0) # Free up GPU 0
```
## Documentation
For more detailed information, check out our [full documentation](https://your-documentation-url.com).
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
Raw data
{
"_id": null,
"home_page": "https://github.com/soumendra/gpuinfo",
"name": "gpuinfonv",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.10",
"maintainer_email": null,
"keywords": "gpu, nvidia, cuda, pytorch",
"author": "Soumendra Dhanee",
"author_email": "soumendra@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/47/f2/0516fe613c3f2bc2016e869889e55ad3b7fa529f9ce911e345acc56bc27d/gpuinfonv-0.1.0.tar.gz",
"platform": null,
"description": "# GPUInfoNV\n\nGPUInfoNV is a Python library for gathering and managing information about NVIDIA GPUs. It provides functionality to retrieve GPU statistics, check PyTorch availability, and free up GPU resources.\n\n## Features\n\n- Detect and gather information about NVIDIA GPUs\n- Check PyTorch and CUDA availability\n- Retrieve detailed GPU statistics\n- Free up GPU resources, including process termination and cache clearing\n\n## Installation\n\nYou can install GPUInfoNV using pip:\n\n```bash\npip install gpuinfonv\n```\n\n## Quick Start\n\nHere's a simple example of how to use GPUInfo:\n\n```python\nfrom gpuinfonv import GPUInfo\n\n# Create a GPUInfo instance\ngpu_info = GPUInfo()\n\n# Print information about all detected GPUs\ngpu_info.print_gpu_info()\n\n# Free up GPU resources\ngpu_info.free_up_gpu(0) # Free up GPU 0\n```\n\n## Documentation\n\nFor more detailed information, check out our [full documentation](https://your-documentation-url.com).\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A Python library for gathering and managing information about NVIDIA GPUs",
"version": "0.1.0",
"project_urls": {
"Documentation": "https://soumendra.github.io/gpuinfo/",
"Homepage": "https://github.com/soumendra/gpuinfo",
"Repository": "https://github.com/soumendra/gpuinfo"
},
"split_keywords": [
"gpu",
" nvidia",
" cuda",
" pytorch"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b1ca7f736973a625d95326927bd670dae1a8cbfc1a92ffa5a0aca78f8e964da7",
"md5": "4b0914b1a71db815582d2be8a797a258",
"sha256": "e058c2b6b98c902a6de8bd967a0134c37d10754079bb6672cdaa4bda81b13d76"
},
"downloads": -1,
"filename": "gpuinfonv-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4b0914b1a71db815582d2be8a797a258",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 5228,
"upload_time": "2024-08-14T22:39:49",
"upload_time_iso_8601": "2024-08-14T22:39:49.203240Z",
"url": "https://files.pythonhosted.org/packages/b1/ca/7f736973a625d95326927bd670dae1a8cbfc1a92ffa5a0aca78f8e964da7/gpuinfonv-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "47f20516fe613c3f2bc2016e869889e55ad3b7fa529f9ce911e345acc56bc27d",
"md5": "2697f630e83002ec5d3f3493ee653c53",
"sha256": "953b3466a39e834b0599f4ede8d06618c1f5102f55d85e9d666184467f363328"
},
"downloads": -1,
"filename": "gpuinfonv-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "2697f630e83002ec5d3f3493ee653c53",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.10",
"size": 4524,
"upload_time": "2024-08-14T22:39:51",
"upload_time_iso_8601": "2024-08-14T22:39:51.116139Z",
"url": "https://files.pythonhosted.org/packages/47/f2/0516fe613c3f2bc2016e869889e55ad3b7fa529f9ce911e345acc56bc27d/gpuinfonv-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-14 22:39:51",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "soumendra",
"github_project": "gpuinfo",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "gpuinfonv"
}