mirror of
https://github.com/mudler/LocalAI.git
synced 2026-01-21 12:51:18 -05:00
chore: drop noisy logs (#8142)
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
committed by
GitHub
parent
b88ae31e4e
commit
f5fade97e6
@@ -344,8 +344,6 @@ func getNVIDIAGPUMemory() []GPUMemoryInfo {
|
||||
if totalBytes > 0 {
|
||||
usagePercent = float64(usedBytes) / float64(totalBytes) * 100
|
||||
}
|
||||
|
||||
xlog.Debug("using system RAM for unified memory GPU", "device", name, "system_ram_bytes", totalBytes)
|
||||
} else if isNA {
|
||||
// Unknown device with N/A values - skip memory info
|
||||
xlog.Debug("nvidia-smi returned N/A for unknown device", "device", name)
|
||||
|
||||
@@ -2,7 +2,6 @@ package xsysinfo
|
||||
|
||||
import (
|
||||
"github.com/mudler/memory"
|
||||
"github.com/mudler/xlog"
|
||||
)
|
||||
|
||||
// SystemRAMInfo contains system RAM usage information
|
||||
@@ -25,7 +24,6 @@ func GetSystemRAMInfo() (*SystemRAMInfo, error) {
|
||||
if total > 0 {
|
||||
usagePercent = float64(used) / float64(total) * 100
|
||||
}
|
||||
xlog.Debug("System RAM Info", "total", total, "used", used, "free", free, "usage_percent", usagePercent)
|
||||
return &SystemRAMInfo{
|
||||
Total: total,
|
||||
Used: used,
|
||||
|
||||
Reference in New Issue
Block a user