Skip to content

Commit

Permalink
[Bug] Fixed the yaml of deployments in heterogenous GPU settings to m…
Browse files Browse the repository at this point in the history
…ake KPA scaling work as expected. (#513)

Make spec.selector.matchLabels combination unique for deployments in the model.

Co-authored-by: Jingyuan Zhang <[email protected]>
  • Loading branch information
zhangjyr and Jingyuan Zhang authored Dec 10, 2024
1 parent a5e9849 commit cc526f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ spec:
selector:
matchLabels:
model.aibrix.ai/name: "llama2-7b"
app: "simulator-llama2-7b-a40"
template:
metadata:
labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ spec:
selector:
matchLabels:
model.aibrix.ai/name: "llama2-7b"
app: "simulator-llama2-7b-a100"
template:
metadata:
labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ spec:
matchLabels:
adapter.model.aibrix.ai/enabled: "true"
model.aibrix.ai/name: "llama2-7b"
app: "mock-llama2-7b"
template:
metadata:
labels:
Expand Down

0 comments on commit cc526f7

Please sign in to comment.