|
1 | | -# MyGPU: Leichte GPU-Verwaltungstool: Ein kompakter Wrapper für `nvidia-smi` mit sauberem Web-Dashboard |
2 | | - |
3 | | -> *MyGPU ist ein leichtgewichtiges Tool zur Verwaltung von GPUs, das als kompakter Wrapper für `nvidia-smi` fungiert und über ein sauberes Web-Dashboard verfügt.* |
4 | | -
|
5 | | - |
| 1 | +<div align="center"> |
| 2 | + <a href="../ja/README.md">🇺🇸 英語</a> | |
| 3 | + <a href="ja/README.de.md">🇩🇪 ドイツ語</a> | |
| 4 | + <a href="ja/README.fr.md">🇫🇷 フランス語</a> | |
| 5 | + <a href="ja/README.es.md">🇪🇸 スペイン語</a> | |
| 6 | + <a href="ja/README.ja.md">🇯🇵 日本語</a> | |
| 7 | + <a href="ja/README.zh.md">🇨🇳 中国語</a> | |
| 8 | + <a href="ja/README.pt.md">🇵🇹 ポルトガル語</a> | |
| 9 | + <a href="ja/README.ko.md">🇰🇷 韓国語</a> |
| 10 | +</div> |
| 11 | + |
| 12 | +<div style="text-align:center; margin:18px 0;"> |
| 13 | + <img src="../monitor/api/static/logo.png" alt="MyGPU ロゴ"/> |
| 14 | +</div> |
| 15 | + |
| 16 | +> *MyGPU: GPU 管理ユーティリティの軽量版: NVIDIA nvidia-smi のコンパクトラッパーにクリーンなウェブダッシュボードを備えたものです。* |
| 17 | +
|
| 18 | + |
6 | 19 |  |
7 | | - |
8 | | - |
9 | | - |
| 20 | + |
| 21 | + |
| 22 | + |
10 | 23 |
|
11 | | -## Galerie |
12 | | - |
13 | | -### Web-Dashboard |
| 24 | +## ギャラリー |
14 | 25 |
|
15 | 26 | <details> |
16 | | - <summary>Web-Dashboard</summary> |
17 | | - <div style="display: flex; overflow-x: auto; gap: 10px; padding: 12px 0; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;"> |
18 | | - <!-- Bilder mit 16:9-Aspektratio (1624x675) verwenden, um gleichmäßige Rahmenbreite zu gewährleisten --> |
19 | | - <div style="flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1624/675; display: flex; align-items: center; justify-content: center;"> |
20 | | - <img src="../monitor/api/static/web1.png" style="width: 100%; height: 100%; object-fit: contain;" /> |
| 27 | + <summary>ウェブダッシュボード</summary> |
| 28 | + <div style="display:flex; overflow-x:auto; gap:10px; padding:12px 0; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;"> |
| 29 | + <!-- 画像は 1624x675 のアスペクト比に合わせてスライドフレームに配置 --> |
| 30 | + <div style="flex:0 0 100%; scroll-snap-align:center; aspect-ratio:1624/675; display:flex; align-items:center; justify-content:center;"> |
| 31 | + <img src="../monitor/api/static/web1.png" style="width:100%; height:100%; object-fit:contain;" /> |
21 | 32 | </div> |
22 | | - <div style="flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1624/675; display: flex; align-items: center; justify-content: center;"> |
23 | | - <img src="../monitor/api/static/web2.png" style="width: 100%; height: 100%; object-fit: contain;" /> |
| 33 | + <div style="flex:0 0 100%; scroll-snap-align:center; aspect-ratio:1624/675; display:flex; align-items:center; justify-content:center;"> |
| 34 | + <img src="../monitor/api/static/web2.png" style="width:100%; height:100%; object-fit:contain;" /> |
24 | 35 | </div> |
25 | | - <div style="flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1624/675; display: flex; align-items: center; justify-content: center;"> |
26 | | - <img src="../monitor/api/static/web3.png" style="width: 100%; height: 100%; object-fit: contain;" /> |
| 36 | + <div style="flex:0 0 100%; scroll-snap-align:center; aspect-ratio:1624/675; display:flex; align-items:center; justify-content:center;"> |
| 37 | + <img src="../monitor/api/static/web3.png" style="width:100%; height:100%; object-fit:contain;" /> |
27 | 38 | </div> |
28 | | - <div style="flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1624/675; display: flex; align-items: center; justify-content: center;"> |
29 | | - <img src="../monitor/api/static/web4.png" style="width: 100%; height: 100%; object-fit: contain;" /> |
| 39 | + <div style="flex:0 0 100%; scroll-snap-align:center; aspect-ratio:1624/675; display:flex; align-items:center; justify-content:center;"> |
| 40 | + <img src="../monitor/api/static/web4.png" style="width:100%; height:100%; object-fit:contain;" /> |
30 | 41 | </div> |
31 | 42 | </div> |
32 | 43 | </details> |
33 | | - |
34 | 44 | <details> |
35 | 45 | <summary>CLI</summary> |
36 | | - <div style="display: flex; overflow-x: auto; gap: 10px; padding: 12px 0; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;"> |
37 | | - <div style="flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1624/675; display: flex; align-items: center; justify-content: center;"> |
38 | | - <img src="../monitor/api/static/cli1.png" style="width: 100%; height: 100%; object-fit: contain;" /> |
| 46 | + <div style="display:flex; overflow-x:auto; gap:10px; padding:12px 0; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;"> |
| 47 | + <div style="flex:0 0 100%; scroll-snap-align:center; aspect-ratio:1624/675; display:flex; align-items:center; justify-content:center;"> |
| 48 | + <img src="../monitor/api/static/cli1.png" style="width:100%; height:100%; object-fit:contain;" /> |
39 | 49 | </div> |
40 | | - <!-- Weitere CLI-Bilder hier einfügen --> |
| 50 | + <!-- 他の画像も同様に配置 --> |
41 | 51 | </div> |
42 | 52 | </details> |
43 | 53 |
|
44 | | -### Warum MyGPU? |
| 54 | +### このツールを使う理由 |
45 | 55 |
|
46 | | -- **Leichtgewichtig**: Geringer Ressourcenbedarf. |
47 | | -- **Flexibel**: Als CLI-Tool, Hintergrunddienst oder voll ausgestattetes Web-Dashboard einsetzbar. |
48 | | -- **admin-zentriert**: Enthält Funktionen wie **VRAM-Enforcement** (Automatische Beendigung von Prozessen, die die VRAM-Grenzen überschreiten) und **Watchlists**. |
49 | | -- **Entwicklerfreundlich**: Integrierte Benchmarking- und Stresstest-Tools (GEMM, Teilchenphysik) zur Überprüfung der Systemstabilität. |
| 56 | +- **軽量**: リソース消費量が少ない。 |
| 57 | +- **柔軟性**: CLI ツールとして、または完全なウェブダッシュボードとして実行可能。 |
| 58 | +- **管理者向け**: **VRAM エンジアンス** (VRAM 使用量を制限する機能) や **ウォッチリスト** などの機能を備えている。 |
| 59 | +- **開発者向け**: システムの安定性を検証するための組み込みベンチマークとストレステスト (GEMM、粒子物理学など) 機能を備えている。 |
50 | 60 |
|
51 | 61 | --- |
52 | 62 |
|
53 | | -## Funktionen |
| 63 | +## 機能 |
54 | 64 |
|
55 | | -- **Echtzeitüberwachung**: |
56 | | - - Detaillierte GPU-Metriken (Nutzung, VRAM, Temperatur). |
57 | | - - Systemmetriken (CPU, RAM usw.). |
| 65 | +- **リアルタイム監視**: |
| 66 | + - GPU メトリック (利用率、VRAM、電力、温度) |
| 67 | + - システムメトリック (CPU、RAM など) |
58 | 68 |
|
59 | | -- **Admin- und Enforcement-Funktionen**: |
60 | | - - **VRAM-Grenzen**: Festlegen von VRAM-Nutzungsgrenzen pro GPU. |
61 | | - - **Automatische Beendigung**: Automatische Beendigung von Prozessen, die VRAM-Richtlinien verletzen (nur für Administratoren). |
62 | | - - **Watchlists**: Überwachen spezifischer PIDs oder Prozessnamen. |
| 69 | +- **管理者向け**: |
| 70 | + - **VRAM キャップ**: 各 GPU に対する VRAM 使用量の制限を設定。 |
| 71 | + - **自動終了**: VRAM ポリシーに違反するプロセスを自動的に終了 (管理者のみ)。 |
| 72 | + - **ウォッチリスト**: 特定の PID やプロセス名を監視。 |
63 | 73 |
|
64 | | -- **Benchmarking und Simulation**: |
65 | | - - **Stresstest**: Konfigurierbare GEMM-Lasten für die Überprüfung der thermischen Throttling und Stabilität. |
66 | | - - **Visuelle Simulation**: Interaktive 3D-Teilchenphysiksimulation zur Visualisierung der GPU-Last. |
| 74 | +- **ベンチマークとシミュレーション**: |
| 75 | + - **ストレステスト**: 構成可能な GEMM ワークロードで熱的スローシングと安定性をテスト。 |
| 76 | + - **視覚化シミュレーション**: インタラクティブな 3D 粒子物理学シミュレーションで GPU 負荷を視覚化。 |
67 | 77 |
|
68 | 78 | --- |
69 | 79 |
|
70 | | -## Roadmap und zukünftige Arbeiten |
| 80 | +## ロードマップと将来の作業 |
71 | 81 |
|
72 | | -Beiträge sind willkommen! Die wichtigsten zukünftigen Punkte umfassen: |
| 82 | +貢献は歓迎します! 主な今後のポイントは次のとおりです。 |
73 | 83 |
|
74 | | -- **Multi-GPU-Unterstützung**: Verbesserte Handhabung von Multi-Card-Setups und NVLink-Topologien. |
75 | | -- **Containerisierung**: Offizielle Docker-Unterstützung für eine einfache Bereitstellung in Containerumgebungen. |
76 | | -- **Remote-Zugriff**: SSH-Tunnel-Integration und sichere Remoteverwaltung. |
77 | | -- **Plattformübergreifend**: |
78 | | - - [ ] Linux-Unterstützung (Ubuntu/Debian-Fokus). |
79 | | - - [ ] macOS-Unterstützung (Apple Silicon-Überwachung). |
80 | | -- **Hardware-agnostisch**: |
81 | | - - [ ] AMD ROCm-Unterstützung. |
82 | | - - [ ] Intel Arc-Unterstützung. |
83 | | -- ~~**Mehrsprachige Dokumentation**: Unterstützung der meistgenutzten GitHub-Sprachen.~~ |
| 84 | +- **マルチGPU サポート**: マルチカードセットアップと NVLink トポロジーの強化。 |
| 85 | +- **コンテナ化**: 公式 Docker サポートで簡単なコンテナ環境へのデプロイを実現。 |
| 86 | +- **リモートアクセス**: SSH トンネリング統合とセキュアなリモート管理。 |
| 87 | +- **クロスプラットフォーム**: |
| 88 | + - [ ] Linux サポート (Ubuntu/Debian 集中)。 |
| 89 | + - [ ] macOS サポート (Apple Silicon モニタリング)。 |
| 90 | +- **ハードウェアアノニマス**: |
| 91 | + - [ ] AMD ROCm サポート。 |
| 92 | + - [ ] Intel Arc サポート。 |
| 93 | +- [ ] **多言語ドキュメント**: GitHub 上で最も人気のある言語のサポート。 |
84 | 94 |
|
85 | | -Siehe [CONTRIBUTING.md](../CONTRIBUTING.md) für Informationen zur Mitwirkung. |
| 95 | +[CONTRIBUTING.md](../CONTRIBUTING.md) を参照して、どのように貢献できるかを知ってください。 |
86 | 96 |
|
87 | 97 | --- |
88 | 98 |
|
89 | | -## Anforderungen |
| 99 | +## 要件 |
90 | 100 |
|
91 | 101 | - **OS**: Windows 10/11 |
92 | 102 | - **Python**: 3.10+ |
93 | | -- **Hardware**: NVIDIA-GPU mit installierten Treibern. |
94 | | -- **CUDA**: Toolkit 12.x (Streng erforderlich für Benchmarking/Simulation-Funktionen). |
95 | | - - *Hinweis: Wenn CUDA 12.x nicht erkannt wird, werden GPU-spezifische Benchmarking-Funktionen deaktiviert.* |
| 103 | +- **ハードウェア**: NVIDIA GPU とインストールされたドライバー。 |
| 104 | +- **CUDA**: 12.x ツールキット (ベンチマーク/シミュレーション機能を使用する場合は必須)。 |
| 105 | + - *注: CUDA 12.x が検出されない場合は、ベンチマーク機能が無効になります。* |
96 | 106 |
|
97 | 107 | --- |
98 | 108 |
|
99 | | -## Installation |
| 109 | +## インストール |
100 | 110 |
|
101 | | -Das Tool bietet verschiedene Installationsoptionen: |
| 111 | +ツールには、ニーズに合わせてモジュール形式でインストールできます。 |
102 | 112 |
|
103 | | -### 1. Minimal (CLI nur) |
| 113 | +### 1. 最小 (CLI のみ) |
104 | 114 |
|
105 | | -Am besten für Headless-Server oder Hintergrundüberwachung geeignet. |
| 115 | +ヘッドレスサーバーやバックグラウンド監視に最適です。 |
106 | 116 |
|
107 | | -- Befehlszeileninterface. |
108 | | -- Grundlegende System- und GPU-Metriken. |
| 117 | +- コマンドラインインターフェイス。 |
| 118 | +- システム/GPU メトリックの基本。 |
109 | 119 |
|
110 | | -### 2. Standard (CLI + Web-UI) |
| 120 | +### 2. 標準 (CLI + ウェブ UI) |
111 | 121 |
|
112 | | -Am besten für die meisten Benutzer geeignet. |
| 122 | +ほとんどのユーザーに適したオプションです。 |
113 | 123 |
|
114 | | -- Enthält Web-Dashboard. |
115 | | -- REST-API-Endpunkte. |
116 | | -- Echtzeitdiagramme. |
| 124 | +- ウェブダッシュボードが含まれています。 |
| 125 | +- REST API エンドポイント。 |
| 126 | +- リアルタイムチャート。 |
117 | 127 |
|
118 | | -### 3. Vollständig (Standard + Visualisierung) |
| 128 | +### 3. フル (標準 + 視覚化) |
119 | 129 |
|
120 | | -Am besten für Entwicklung und Stresstest geeignet. |
| 130 | +開発やストレステストに最適です。 |
121 | 131 |
|
122 | | -- Enthält Teilchenphysik-Simulation. |
123 | | -- Abhängigkeiten für PyTorch/CuPy-Benchmarking. |
| 132 | +- 粒子シミュレーションが含まれています。 |
| 133 | +- PyTorch/CuPy 依存関係によるベンチマーク。 |
124 | 134 |
|
125 | | -### Schnelle Startanleitung |
| 135 | +### クイックスタート |
126 | 136 |
|
127 | | -1. **Herunterladen** oder Klonen des Repositories. |
128 | | -2. **Einrichten**: |
| 137 | +1. **ダウンロード** またはリポジトリをクローンします。 |
| 138 | +2. **セットアップスクリプトを実行**: |
129 | 139 |
|
130 | | - ```powershell |
131 | | - .\setup.ps1 |
132 | | - ``` |
| 140 | + ```powershell |
| 141 | + .\setup.ps1 |
| 142 | + ``` |
133 | 143 |
|
134 | | -3. **Starten**: |
| 144 | +3. **起動**: |
135 | 145 |
|
136 | 146 | ```powershell |
137 | | -# Starten des Web-Dashboards (Standard/Vollständig) |
| 147 | +# ウェブダッシュボード (標準/フル) を起動 |
138 | 148 | python health_monitor.py web |
139 | 149 |
|
140 | | -# Starten der CLI |
| 150 | +# CLI を起動 |
141 | 151 | python health_monitor.py cli |
142 | 152 | ``` |
0 commit comments