Skip to content

Commit

Permalink
[Bugfix] Fix reinit procedure in ModelInputForGPUBuilder (vllm-projec…
Browse files Browse the repository at this point in the history
  • Loading branch information
alexm-neuralmagic authored and sfc-gh-mkeralapura committed Aug 12, 2024
1 parent 232cf3f commit c3cb225
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 c3cb225

Please sign in to comment.