Skip to content

Commit

Permalink
fix: loss bound offload result in json
Browse files Browse the repository at this point in the history
Signed-off-by: thxCode <[email protected]>
  • Loading branch information
thxCode committed Jul 4, 2024
1 parent c293abd commit febaba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/gguf-parser/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ func main() {
}
if offloadLayersStep < e.OffloadLayers {
cnt := e.OffloadLayers/offloadLayersStep + 1
if e.OffloadLayers%offloadLayersStep != 0 {
if e.OffloadLayers%offloadLayersStep != 0 || e.FullOffloaded {
cnt++
}
ess := make([]LLaMACppUsageEstimateMemorySummary, cnt)
Expand Down

0 comments on commit febaba2

Please sign in to comment.