Metadata-Version: 2.2
Name: cuda-selector
Version: 0.1.3
Summary: A simple tool to select the optimal CUDA device based on memory, power, or utilization.
Home-page: https://github.com/samermakni/cuda-selector
Author: Samer Makni
Author-email: samermakni@outlook.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-python
Dynamic: summary

# Auto Cuda Selector

A simple tool to select the optimal CUDA device based on memory, power, or utilization.


### Install
```bash
pip install cuda-selector
```
### Usage
```python
from cuda_selector import auto_cuda

# Select cuda device with most memory available
device = auto_cuda()

# Select cuda device with lowest power usasge usage
device = auto_cuda('power')

# Select cuda device with lowest power usasge usage
device = auto_cuda('utilization')
```
