Libegpu
Libegpu is a library for enumerating external GPU (eGPU) devices & enclosures.
✨ Features
- Enumerates PCIe-tunneled eGPU devices from AMD, NVIDIA, and Intel
- Enumerates USB-attached eGPU enclosures from Razer (e.g. the Razer Core X V2)
- Includes an
lsegpuCLI tool for enumerating eGPU devices & enclosures - Includes Python bindings to the Rust library (a work in progress)
- 100% free and unencumbered public domain software
🛠️ Prerequisites
- Rust 1.85+ (2024 edition) if building from source code
⬇️ Installation
Installation from PyPI
Installation from Source Code
👉 Examples
Enumerating eGPU Devices
for device in list_devices.unwrap
Enumerating eGPU Enclosures
for enclosure in list_enclosures.unwrap
📚 Reference
👨💻 Development