You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
proxy: parallelize startup preload within process groups
Models in the same group now preload concurrently via goroutines instead
of sequentially. Groups are still loaded in order to respect exclusivity.
This significantly reduces startup time when a group has multiple models
(e.g., an LLM + STT + TTS that share GPU resources). Each model's
container starts and health-checks simultaneously.
- Group preload models by ProcessGroup before starting
- Use sync.WaitGroup to parallelize within each group
- Call swapProcessGroup once per group (handles exclusivity)
- Log group completion with model count
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments