Skip to content

Commit 24a935e

Browse files
authored
fix: remove add_labels in Component (#2458)
1 parent 7212859 commit 24a935e

File tree

1 file changed

+2
-10
lines changed
  • components/backends/vllm/src/dynamo/vllm

1 file changed

+2
-10
lines changed

components/backends/vllm/src/dynamo/vllm/main.py

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,7 @@ async def init_prefill(runtime: DistributedRuntime, config: Config):
133133
Instantiate and serve
134134
"""
135135

136-
component = (
137-
runtime.namespace(config.namespace)
138-
.component(config.component)
139-
.add_labels([("model", config.model)])
140-
)
136+
component = runtime.namespace(config.namespace).component(config.component)
141137
await component.create_service()
142138

143139
generate_endpoint = component.endpoint(config.endpoint)
@@ -170,11 +166,7 @@ async def init(runtime: DistributedRuntime, config: Config):
170166
Instantiate and serve
171167
"""
172168

173-
component = (
174-
runtime.namespace(config.namespace)
175-
.component(config.component)
176-
.add_labels([("model", config.model)])
177-
)
169+
component = runtime.namespace(config.namespace).component(config.component)
178170
await component.create_service()
179171

180172
generate_endpoint = component.endpoint(config.endpoint)

0 commit comments

Comments
 (0)