mirror of
https://github.com/wassname/vllm.git
synced 2026-09-17 13:00:06 +08:00
[Bugfix] Fix reinit procedure in ModelInputForGPUBuilder (#7360)
This commit is contained in:
@@ -348,6 +348,8 @@ class ModelInputForGPUBuilder(ModelRunnerInputBuilderBase[ModelInputForGPU]):
|
||||
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__()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user