Skip to content

Commit

Permalink
Skip compilation warnings during warmup phase (HabanaAI#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkaniecki authored and zhouyu5 committed Sep 20, 2024
1 parent f07146e commit 1d9281c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/worker/habana_model_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -1314,7 +1314,7 @@ def warmup_scenario(self,
torch.hpu.synchronize()
for _ in range(times):
inputs = self.prepare_model_input(seqs)
self.execute_model(inputs, kv_caches, warmup_mode=False)
self.execute_model(inputs, kv_caches, warmup_mode=True)
torch.hpu.synchronize()
gc.collect()

Expand Down

0 comments on commit 1d9281c

Please sign in to comment.