Skip to main content

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). 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 returned seconds as much as I have.

Metadata

Release files for cuthon 0.0

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.0
File Size Uploaded Provenance Actions
cuthon-0.0.tar.gz 2.4 kB Without provenance Details for cuthon-0.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for cuthon 0.0
File Interpreter ABI Platform Actions
cuthon-0.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for cuthon-0.0-py2.py3-none-any.whl
cuthon-0.0-py2.7.egg Legacy Egg format - - Details for cuthon-0.0-py2.7.egg

Total release size: 10.6 kB

Release files / cuthon-0.0.tar.gz

Download URL cuthon-0.0.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
00a6a646e70f07dc737d1f3b0d670f8061ae4f64a64d75c12b760bddc1d0de08
BLAKE2b-256 checksum
How to use checksums
09824bd32f32007e8f2f2c5c1789b7f550b4bb9062788b7a63e6f6143d33b357
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL cuthon-0.0-py2.py3-none-any.whl
Size 3.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c133bc75af10dc09fe3fe2f37346da0104c2ff6f27f07cd650696bc92391d85d
BLAKE2b-256 checksum
How to use checksums
df4ba8d6475ddcbc75b2820b2e4e382bef079210a883a09157f5f3fefe97216a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cuthon-0.0-py2.7.egg

Download URL cuthon-0.0-py2.7.egg
Size 4.2 kB
Tags Egg
SHA-256 checksum
How to use checksums
b1cb08d12dd70432b9fff1c00194fd64ff2f4cc4b88e3782d910da1c34f736b9
BLAKE2b-256 checksum
How to use checksums
449761b12f971f17872e6f421f698259bbe40b4e9e28840add0e10612f47414f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for cuthon 0.0

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