aibrix icon indicating copy to clipboard operation
aibrix copied to clipboard

ModelAdapters do not dynamically route to new pods

Open TheCodeWrangler opened this issue 8 months ago • 2 comments

🐛 Describe the bug

When I scale up my deployment using a lora adapter I see that all the traffic to the lora adapter always goes to the pod that initially was there when the ModelAdapter was created.

Requests to the base model are still load balanced across the new backends

Additionally after scaling down if the initial pod is removed i see errors from the system when requesting the lora module BUT kubectl describe modeladapter lora-name shows that it is still Running (though likely pointing to a dead resource)

Steps to Reproduce

  1. Deploy a lora adapter with HPA on deployment
  2. Load test to trigger scale up
  3. Observe the number of running requests per pod are all on one pod

Expected behavior

Load should be balanced across all running pods

Environment

2.1.0

TheCodeWrangler avatar May 16 '25 20:05 TheCodeWrangler

Thinking about this more I am using a keda autoscaler on my backends.... Do I need to use AIbrix Auto scalers?

TheCodeWrangler avatar May 17 '25 21:05 TheCodeWrangler

I'm facing the same issue with v3.0.0. The controller is not triggering the adapter load for the new pods.

dittops avatar May 23 '25 06:05 dittops