@@ -38,7 +38,8 @@ def collective_rpc(self,
38
38
CustomUniExecutorAsync = CustomUniExecutor
39
39
40
40
41
- @pytest .mark .parametrize ("model" , [f"{ MODEL_WEIGHTS_S3_BUCKET } /distilgpt2" ])
41
+ @pytest .mark .parametrize ("model" ,
42
+ [f"{ MODEL_WEIGHTS_S3_BUCKET } /distilbert/distilgpt2" ])
42
43
def test_custom_executor_type_checking (model ):
43
44
with pytest .raises (ValueError ):
44
45
engine_args = EngineArgs (model = model ,
@@ -51,7 +52,8 @@ def test_custom_executor_type_checking(model):
51
52
AsyncLLMEngine .from_engine_args (engine_args )
52
53
53
54
54
- @pytest .mark .parametrize ("model" , [f"{ MODEL_WEIGHTS_S3_BUCKET } /distilgpt2" ])
55
+ @pytest .mark .parametrize ("model" ,
56
+ [f"{ MODEL_WEIGHTS_S3_BUCKET } /distilbert/distilgpt2" ])
55
57
def test_custom_executor (model , tmp_path ):
56
58
cwd = os .path .abspath ("." )
57
59
os .chdir (tmp_path )
@@ -75,7 +77,8 @@ def test_custom_executor(model, tmp_path):
75
77
os .chdir (cwd )
76
78
77
79
78
- @pytest .mark .parametrize ("model" , [f"{ MODEL_WEIGHTS_S3_BUCKET } /distilgpt2" ])
80
+ @pytest .mark .parametrize ("model" ,
81
+ [f"{ MODEL_WEIGHTS_S3_BUCKET } /distilbert/distilgpt2" ])
79
82
def test_custom_executor_async (model , tmp_path ):
80
83
cwd = os .path .abspath ("." )
81
84
os .chdir (tmp_path )
@@ -103,7 +106,8 @@ async def t():
103
106
os .chdir (cwd )
104
107
105
108
106
- @pytest .mark .parametrize ("model" , [f"{ MODEL_WEIGHTS_S3_BUCKET } /distilgpt2" ])
109
+ @pytest .mark .parametrize ("model" ,
110
+ [f"{ MODEL_WEIGHTS_S3_BUCKET } /distilbert/distilgpt2" ])
107
111
def test_respect_ray (model ):
108
112
# even for TP=1 and PP=1,
109
113
# if users specify ray, we should use ray.
0 commit comments