mirror of
https://github.com/lone-cloud/gerbil
synced 2026-06-03 19:54:44 -07:00
minor updates
This commit is contained in:
parent
605e781944
commit
580452b567
2 changed files with 3 additions and 3 deletions
|
|
@ -64,7 +64,7 @@ export const ModelAnalysisModal = ({
|
||||||
{analysis && (
|
{analysis && (
|
||||||
<Stack gap="xs">
|
<Stack gap="xs">
|
||||||
{analysis.general.name && (
|
{analysis.general.name && (
|
||||||
<InfoRow label="Model Name" value={analysis.general.name} />
|
<InfoRow label="Name" value={analysis.general.name} />
|
||||||
)}
|
)}
|
||||||
<InfoRow label="Architecture" value={analysis.general.architecture} />
|
<InfoRow label="Architecture" value={analysis.general.architecture} />
|
||||||
{analysis.general.parameterCount && (
|
{analysis.general.parameterCount && (
|
||||||
|
|
|
||||||
|
|
@ -92,7 +92,7 @@ function buildTooltipText() {
|
||||||
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.usage}%`;
|
const ramText = `RAM: ${currentMetrics.memory.usage}% • ${currentMetrics.memory.used.toFixed(2)} GB`;
|
||||||
metrics.push(ramText);
|
metrics.push(ramText);
|
||||||
|
|
||||||
if (currentMetrics.gpu?.gpus) {
|
if (currentMetrics.gpu?.gpus) {
|
||||||
|
|
@ -104,7 +104,7 @@ function buildTooltipText() {
|
||||||
|
|
||||||
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.memoryUsage}%`;
|
const vramText = `${vramLabel}: ${gpu.memoryUsage}% • ${gpu.memoryUsed.toFixed(2)} GB`;
|
||||||
metrics.push(vramText);
|
metrics.push(vramText);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue