mirror of
https://github.com/lone-cloud/gerbil
synced 2026-06-03 19:54:44 -07:00
don't display metric totals in the tray hover menu to help conserve space
This commit is contained in:
parent
6171011d95
commit
7783b7833d
4 changed files with 11 additions and 11 deletions
|
|
@ -193,7 +193,7 @@ You can use the CLI mode on Windows in exactly the same way as in the Linux/macO
|
||||||
- Gerbil: installed from [AUR](https://aur.archlinux.org/packages/gerbil) via [yay](https://github.com/Jguer/yay)
|
- Gerbil: installed from [AUR](https://aur.archlinux.org/packages/gerbil) via [yay](https://github.com/Jguer/yay)
|
||||||
- KoboldCPP: nocuda build, vulkan backend
|
- KoboldCPP: nocuda build, vulkan backend
|
||||||
- Hardware: RX 7900 GRE (16GB VRAM, undervolted, overclocked), Ryzen 7 7800X3D, ASUS B650-E, 32GB RAM (EXPO 1: 6000Mhz)
|
- Hardware: RX 7900 GRE (16GB VRAM, undervolted, overclocked), Ryzen 7 7800X3D, ASUS B650-E, 32GB RAM (EXPO 1: 6000Mhz)
|
||||||
- LLM: [Q4 Gemma 3 27b abliterated](https://huggingface.co/mlabonne/gemma-3-27b-it-abliterated-GGUF?show_file_info=gemma-3-27b-it-abliterated.q4_k_m.gguf) with [Dolphin system message](https://github.com/QuixiAI/dolphin-system-messages)
|
- LLM: [Q4 Gemma 3 27b abliterated](https://huggingface.co/mlabonne/gemma-3-27b-it-abliterated-GGUF?show_file_info=gemma-3-27b-it-abliterated.q4_k_m.gguf)+ [Open WebUI](https://openwebui.com/) + [Dolphin system message](https://github.com/QuixiAI/dolphin-system-messages)
|
||||||
|
|
||||||
## Known Issues
|
## Known Issues
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,7 @@
|
||||||
"prettier": "^3.6.2",
|
"prettier": "^3.6.2",
|
||||||
"rollup-plugin-visualizer": "^6.0.5",
|
"rollup-plugin-visualizer": "^6.0.5",
|
||||||
"typescript": "^5.9.3",
|
"typescript": "^5.9.3",
|
||||||
"vite": "^7.1.11"
|
"vite": "^7.1.12"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@codemirror/search": "^6.5.11",
|
"@codemirror/search": "^6.5.11",
|
||||||
|
|
|
||||||
|
|
@ -89,22 +89,22 @@ function buildTooltipText() {
|
||||||
) {
|
) {
|
||||||
const metrics: string[] = [];
|
const metrics: string[] = [];
|
||||||
|
|
||||||
const cpuText = `CPU: ${currentMetrics.cpu.usage}%${currentMetrics.cpu.temperature ? ` • ${currentMetrics.cpu.temperature}°C` : ''}`;
|
const cpuText = `CPU: ${currentMetrics.cpu.usage}%${currentMetrics.cpu.temperature ? ` • ${currentMetrics.cpu.temperature}°C` : ''}`;
|
||||||
metrics.push(cpuText);
|
metrics.push(cpuText);
|
||||||
|
|
||||||
const ramText = `RAM: ${currentMetrics.memory.used.toFixed(2)} GB / ${currentMetrics.memory.total.toFixed(2)} GB (${currentMetrics.memory.usage}%)`;
|
const ramText = `RAM: ${currentMetrics.memory.used.toFixed(2)} GB • ${currentMetrics.memory.usage}%`;
|
||||||
metrics.push(ramText);
|
metrics.push(ramText);
|
||||||
|
|
||||||
if (currentMetrics.gpu?.gpus) {
|
if (currentMetrics.gpu?.gpus) {
|
||||||
currentMetrics.gpu.gpus.forEach((gpu, index) => {
|
currentMetrics.gpu.gpus.forEach((gpu, index) => {
|
||||||
const gpuLabel =
|
const gpuLabel =
|
||||||
currentMetrics.gpu!.gpus.length > 1 ? `GPU ${index + 1}` : 'GPU';
|
currentMetrics.gpu!.gpus.length > 1 ? `GPU ${index + 1}` : 'GPU';
|
||||||
const gpuText = `${gpuLabel}: ${gpu.usage}%${gpu.temperature ? ` • ${gpu.temperature}°C` : ''}`;
|
const gpuText = `${gpuLabel}: ${gpu.usage}%${gpu.temperature ? ` • ${gpu.temperature}°C` : ''}`;
|
||||||
metrics.push(gpuText);
|
metrics.push(gpuText);
|
||||||
|
|
||||||
const vramLabel =
|
const vramLabel =
|
||||||
currentMetrics.gpu!.gpus.length > 1 ? `VRAM ${index + 1}` : 'VRAM';
|
currentMetrics.gpu!.gpus.length > 1 ? `VRAM ${index + 1}` : 'VRAM';
|
||||||
const vramText = `${vramLabel}: ${gpu.memoryUsed.toFixed(2)} GB / ${gpu.memoryTotal.toFixed(2)} GB (${gpu.memoryUsage}%)`;
|
const vramText = `${vramLabel}: ${gpu.memoryUsed.toFixed(2)} GB • ${gpu.memoryUsage}%`;
|
||||||
metrics.push(vramText);
|
metrics.push(vramText);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
10
yarn.lock
10
yarn.lock
|
|
@ -3783,7 +3783,7 @@ __metadata:
|
||||||
rollup-plugin-visualizer: "npm:^6.0.5"
|
rollup-plugin-visualizer: "npm:^6.0.5"
|
||||||
systeminformation: "npm:^5.27.11"
|
systeminformation: "npm:^5.27.11"
|
||||||
typescript: "npm:^5.9.3"
|
typescript: "npm:^5.9.3"
|
||||||
vite: "npm:^7.1.11"
|
vite: "npm:^7.1.12"
|
||||||
winston: "npm:^3.18.3"
|
winston: "npm:^3.18.3"
|
||||||
winston-daily-rotate-file: "npm:^5.0.0"
|
winston-daily-rotate-file: "npm:^5.0.0"
|
||||||
yauzl: "npm:^3.2.0"
|
yauzl: "npm:^3.2.0"
|
||||||
|
|
@ -7063,9 +7063,9 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"vite@npm:^7.1.11":
|
"vite@npm:^7.1.12":
|
||||||
version: 7.1.11
|
version: 7.1.12
|
||||||
resolution: "vite@npm:7.1.11"
|
resolution: "vite@npm:7.1.12"
|
||||||
dependencies:
|
dependencies:
|
||||||
esbuild: "npm:^0.25.0"
|
esbuild: "npm:^0.25.0"
|
||||||
fdir: "npm:^6.5.0"
|
fdir: "npm:^6.5.0"
|
||||||
|
|
@ -7114,7 +7114,7 @@ __metadata:
|
||||||
optional: true
|
optional: true
|
||||||
bin:
|
bin:
|
||||||
vite: bin/vite.js
|
vite: bin/vite.js
|
||||||
checksum: 10c0/c4aa7f47b1fb07f734ed6f4f605d73e5acf7ff9754d75b4adbfbdddf0e520413019834620c1f7b4a207bce7e1d20a2636c584db2b1b17f5a3ba2cd23d47e50ab
|
checksum: 10c0/cef4d4b4a84e663e09b858964af36e916892ac8540068df42a05ced637ceeae5e9ef71c72d54f3cfc1f3c254af16634230e221b6e2327c2a66d794bb49203262
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue