GPUpass is a Terminal User Interface (TUI) tool written in Rust for managing GPU passthrough to virtual machines. It provides an intuitive terminal-based interface to configure and manage GPU device assignment for VMs.
- TUI-based interactive interface for GPU passthrough management
- GPU device detection and listing
- Virtual machine configuration management
- Passthrough setup and management
- Multi-language support
- Rust toolchain (edition 2021 or later)
- Linux operating system
- Appropriate permissions for GPU passthrough operations
# Clone the repository
git clone https://github.com/yangstafiltra/GPUpass.git
cd GPUpass
# Build the project
cargo build --release
# Run
sudo ./target/release/gpupass- ratatui - Terminal UI framework
- crossterm - Terminal manipulation library
- serde / serde_json - Serialization and deserialization
- which - Locate executable binaries
- libc - Raw FFI bindings
- tempfile - Temporary file handling
MIT
GPUpass 是一个使用 Rust 编写的终端用户界面(TUI)工具,用于管理虚拟机中的 GPU 直通功能。它提供了一个直观的终端界面,用于配置和管理虚拟机 GPU 设备分配。
- 基于 TUI 的交互式 GPU 直通管理界面
- GPU 设备检测与列表
- 虚拟机配置管理
- 直通设置与管理
- 多语言支持
- Rust 工具链(edition 2021 或更高版本)
- Linux 操作系统
- GPU 直通操作所需的适当权限
# 克隆仓库
git clone https://github.com/yangstafiltra/GPUpass.git
cd GPUpass
# 构建项目
cargo build --release
# 运行
sudo ./target/release/gpupass- ratatui - 终端 UI 框架
- crossterm - 终端操作库
- serde / serde_json - 序列化与反序列化
- which - 定位可执行二进制文件
- libc - 原始 FFI 绑定
- tempfile - 临时文件处理
MIT
EN: This project was developed with the assistance of Artificial Intelligence (AI). While every effort has been made to ensure code quality and correctness, AI-generated content may contain errors or suboptimal implementations. If you encounter any issues, bugs, or have suggestions for improvement, please don't hesitate to open an issue or submit a pull request. Your feedback is highly valuable and greatly contributes to the ongoing improvement of this project.
中: 本项目是在人工智能(AI)的协助下开发的。尽管我们已尽力确保代码质量和正确性,但 AI 生成的内容可能存在错误或非最优实现。如果您遇到任何问题、Bug 或有改进建议,请随时提交 Issue 或提交 Pull Request。您的反馈非常宝贵,对本项目的持续改进至关重要。