File tree Expand file tree Collapse file tree 3 files changed +7
-10
lines changed
Expand file tree Collapse file tree 3 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 11model :
2- name : gpt2
2+ name : openai-community/ gpt2
33 description : " Deploy `openai-community/gpt2` using vllm."
44 tags :
55 - llm
66 - vllm
77 - openai-community/gpt2
88
9- steps :
10- vllm_model_deployer_step :
11- parameters :
12- config :
13- model : openai-community/gpt2
9+ parameters :
10+ model : openai-community/gpt2
Original file line number Diff line number Diff line change 1616#
1717
1818from zenml import pipeline
19- from zenml import Model
2019from typing import Annotated
2120from steps .vllm_deployer import vllm_model_deployer_step
2221from zenml .integrations .vllm .services .vllm_deployment import VLLMDeploymentService
2322
2423
25- @pipeline (model = Model ( name = "gpt2" ) )
24+ @pipeline ()
2625def deploy_vllm_pipeline (
27- model : str = "gpt2" ,
26+ model : str ,
2827 timeout : int = 1200 ,
2928) -> Annotated [VLLMDeploymentService , "GPT2" ]:
3029 service = vllm_model_deployer_step (
3130 model = model ,
3231 timeout = timeout ,
3332 )
34- return service
33+ return service
Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ def main(
7171 pipeline_args ["config_path" ] = os .path .join (config_folder , config )
7272
7373 from pipelines .deploy_pipeline import deploy_vllm_pipeline
74+
7475 deploy_vllm_pipeline .with_options (** pipeline_args )()
7576
7677
You can’t perform that action at this time.
0 commit comments