{"categories":[{"label":"Monitoring","url":"https://skillfed.io/packages/category/system-monitoring/3"}],"enrichment":{"capability":"GPUtil queries NVIDIA GPU status and availability by wrapping nvidia-smi, returning ordered lists of GPUs filtered by current load and memory usage.","skillfed_tags":["gpu-selection","nvidia-smi-wrapper","hardware-monitoring"],"use_cases":["Automatically select an idle GPU before launching a deep learning training job to avoid resource conflicts.","Monitor GPU utilization in a separate thread and log or alert when specific GPUs exceed load or memory thresholds.","Implement a queue system that waits for a GPU to become available before starting a compute task, with configurable retry intervals.","Rank multiple GPUs by current memory usage to assign workloads to the least-loaded device.","Exclude specific GPUs from selection (by ID or UUID) to reserve them for other processes or tasks."],"what_it_does":"GPUtil is a thin Python wrapper around nvidia-smi that detects available NVIDIA GPUs and ranks them by current load and memory consumption. It was designed to help deep learning frameworks automatically select idle GPUs, but works for any task needing GPU availability data. The module has no external dependencies beyond Python's standard library, making it lightweight to install\u2014but it only works on systems with NVIDIA hardware and drivers installed.\n\nThe package provides two main functions: getAvailable() returns a filtered, ordered list of GPU device IDs based on load and memory thresholds, and getFirstAvailable() blocks until a GPU meeting those criteria becomes available, with configurable retry logic. It also includes utility functions to display current GPU status. Since its last release in 2018, the package has not been updated despite ongoing repository activity, which may affect compatibility with newer NVIDIA driver versions or Python releases.","worth_installing":"Yes, if you have NVIDIA hardware and need lightweight GPU availability detection. The package is stable, has no external dependencies, and works well for its narrow purpose. However, be cautious: it has not been updated since 2018, so compatibility with very recent NVIDIA drivers or Python versions is unverified. For production systems or modern deep learning frameworks, verify first that it works with your specific CUDA and driver versions."},"id":"gputil","links":{"html":"https://skillfed.io/packages/gputil","md":"https://skillfed.io/packages/gputil.md","pypi":"https://pypi.org/project/gputil/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2018-12-18","license_spdx":null,"license_treatment":"permissive","name":"GPUtil","python_support":"unspecified","summary":"GPUtil is a Python module for getting the GPU status from NVIDA GPUs using nvidia-smi."},"popularity":{"monthly_downloads":742526,"position":5180,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.4.0"}
