mirror of
https://github.com/ollama/ollama.git
synced 2026-04-17 15:53:27 +02:00
mlxrunner: show time since last used in cache dump tree
This commit is contained in:
@@ -529,6 +529,9 @@ func (c *kvCache) dumpTree() {
|
||||
if nodeBytes > 0 {
|
||||
label += " " + mlx.PrettyBytes(int(nodeBytes)).String()
|
||||
}
|
||||
if !n.lastUsed.IsZero() {
|
||||
label += fmt.Sprintf(" %s ago", time.Since(n.lastUsed).Truncate(time.Millisecond))
|
||||
}
|
||||
var flags []string
|
||||
if n.user {
|
||||
flags = append(flags, "user")
|
||||
|
||||
Reference in New Issue
Block a user