Cuthon is a simple Python script to avoid setting CUDA_VISIBLE_DEVICES when running python programs on a GPU. This tool is intended for a fairly niche use-case: running python programs on an interactive node which has more than one GPU. For those that have done this often you may be relieved at never having to run nvidia-smi followed by setting CUDA_VISIBLE_DEVICES again (when running a python program that is). This script should save you about 11.5 seconds per python program launch – approximately the time it takes to run nvidia-smi followed by setting the CUDA_VISIBLE_DEVICES environment variable. I hope you enjoy those seconds back as much as I have.
Metadata
Release files for cuthon 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cuthon-0.1.tar.gz | 2.6 kB | Without provenance | Details for cuthon-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cuthon-0.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for cuthon-0.1-py2.py3-none-any.whl |
Total release size: 6.8 kB
Release files / cuthon-0.1.tar.gz
| Download URL | cuthon-0.1.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
73b9ef5ce8a862294761978c81292b56d1497114049dde687cc20e48015f4672
|
|
BLAKE2b-256 checksum How to use checksums |
e9711d497d52d9aa5871a2048d17121ebf459d00b6fa8925ea452e1f04b59ee1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / cuthon-0.1-py2.py3-none-any.whl
| Download URL | cuthon-0.1-py2.py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
31e07961f0f62582c61320ce6608a1536d9fe82ac8c820e60f0b3c6da2a83a8e
|
|
BLAKE2b-256 checksum How to use checksums |
b5476535154016454462ed5b78f853446c8de11684449dabfe60bcf1f5b849c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for cuthon 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.