mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-06 04:23:15 -05:00
When a scale-up failed, the reconciler tried again on every busy or pressure tick, which logged a warning and sent a new backend install each time. The "attempt" field in that warning was the loop index, so it always read 1 and hid the repeats. A model that no request has loaded yet logged "no load info" at warn level on every tick. Track consecutive scale-up failures per model in memory. After a failure, wait 30s, doubling on each further failure up to 10 minutes, before the next try. A successful scale-up resets the count. Log the failure count and the wait. Mark the missing load record with ErrNoLoadInfo and log it at debug level, because only a first request can fix it. Assisted-by: Claude Code:claude-sonnet-5-5 Signed-off-by: Ettore Di Giacinto <mudler@localai.io>