Skip to content

Commit

Permalink
[Bugfix] Fix reinit procedure in ModelInputForGPUBuilder (vllm-projec…
Browse files Browse the repository at this point in the history
…t#7360)

Signed-off-by: Alvant <[email protected]>
  • Loading branch information
alexm-neuralmagic authored and Alvant committed Oct 26, 2024
1 parent a1ff013 commit 169f21e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vllm/worker/model_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,8 @@ def __init__(
self.multi_modal_inputs = multi_modal_inputs
self.prefix_cache_hit = prefix_cache_hit

self.n_seqs = len(self.seq_ids)

if not reinit:
self.__post_init__()

Expand Down

0 comments on commit 169f21e

Please sign in to comment.