Skip to content

Commit e48e761

Browse files
authored
Fix DP dummy run cfg (#284)
Signed-off-by: Wuxun Zhang <wuxun.zhang@intel.com>
1 parent 8c20fce commit e48e761

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

examples/data_parallel.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
"""
3131

3232
import os
33-
import sys
3433
from time import sleep
3534
import torch
3635

@@ -177,8 +176,6 @@ def start(rank):
177176

178177
if __name__ == "__main__":
179178
args = parse_args()
180-
print("Execution is currently disabled. Exiting. expected fix in SW-241422")
181-
sys.exit(0) # Exits gracefully with an success code
182179

183180
dp_size = args.dp_size
184181
tp_size = args.tp_size

vllm_gaudi/v1/worker/hpu_model_runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4060,7 +4060,7 @@ def _dummy_run(self, max_num_batched_tokens: int) -> None:
40604060
prompt_cfg = None
40614061
decode_cfg = 1, 1, 1
40624062
# add dummy decode run
4063-
self._execute_dummy_scenario(prompt_cfg, decode_cfg)
4063+
self._prepare_dummy_scenario(prompt_cfg, decode_cfg)
40644064
return
40654065

40664066
def initialize_kv_cache(self, kv_cache_config: KVCacheConfig) -> None:

0 commit comments

Comments
 (0)