Skip to content

Commit

Permalink
warmup use temperature =0
Browse files Browse the repository at this point in the history
  • Loading branch information
jikunshang committed Jan 24, 2025
1 parent a43e177 commit 5bed452
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vllm/worker/hpu_model_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -2002,8 +2002,9 @@ def warmup_graphs(self,
seq_len,
is_prompt,
kv_caches,
temperature=1.0 if batch_size
not in warmed_random_sampler_bs else 0)
temperature=0)
# temperature=1.0 if batch_size
# not in warmed_random_sampler_bs else 0)
warmed_random_sampler_bs.add(batch_size)
used_mem = align_workers(mem_prof.consumed_device_memory,
torch.distributed.ReduceOp.MAX)
Expand Down

0 comments on commit 5bed452

Please sign in to comment.