Skip to main content

Cuthon is a simple Python script to avoid setting CUDA_VISIBLE_DEVICES when running python programs on a GPU. The script will find the first unused GPU(s) then run the program as usual. At its simplest:

` cuthon my_program.py `

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).

Metadata

Release files for cuthon 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cuthon 0.2
File Size Uploaded Provenance Actions
cuthon-0.2.tar.gz 2.6 kB Without provenance Details for cuthon-0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cuthon 0.2
File Interpreter ABI Platform Actions
cuthon-0.2-py2.py3-none-any.whl Python 3, Python 2 none any Details for cuthon-0.2-py2.py3-none-any.whl

Total release size: 6.6 kB

Release files / cuthon-0.2.tar.gz

Download URL cuthon-0.2.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
92849d23c3c74bf599ebf4e298dbbe01d2ec9824399d8364c0ecf3a07dbd1525
BLAKE2b-256 checksum
How to use checksums
ac2e760250640f0c4cd625dd6207fdca2c66f519320f97eb92b7bfd9fb2ae886
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cuthon-0.2-py2.py3-none-any.whl

Download URL cuthon-0.2-py2.py3-none-any.whl
Size 4.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
6c48796505c6a1e77aa7b9eac49bce6dd4f7e327ae70fd226e05946a4955e61d
BLAKE2b-256 checksum
How to use checksums
5aca3b241df78eed82cac69ad1083015fa064e837622d5fb2336c23bd5e83fd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for cuthon 0.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page