Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
f4f0992b
Commit
f4f0992b
authored
Mar 25, 2025
by
Jesse Gross
Committed by
Jesse Gross
Mar 26, 2025
Browse files
llm: Fix debug logging for memory estimates
parent
1feff619
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
llm/memory.go
llm/memory.go
+1
-1
No files found.
llm/memory.go
View file @
f4f0992b
...
...
@@ -374,7 +374,7 @@ func (m MemoryEstimate) LogValue() slog.Value {
slog
.
Group
(
"weights"
,
// memory of the weights
"total"
,
format
.
HumanBytes2
(
m
.
memoryWeights
),
"total"
,
format
.
HumanBytes2
(
m
.
memoryWeights
+
m
.
memoryLayerOutput
),
// memory of repeating layers
"repeating"
,
format
.
HumanBytes2
(
m
.
memoryWeights
),
// memory of non-repeating layers
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment