[Bugfix] Fix the bug of cos invalid shape when dp (#2558)
### What this PR does / why we need it? Fix the bug of cos invalid shape when dp ### How was this patch tested? - vLLM version: v0.10.1.1 - vLLM main: https://github.com/vllm-project/vllm/commit/1fdc732419d9b9eb00e003f38d6e02c480131ac8 Signed-off-by: weiguihua2 <weiguihua2@huawei.com>
This commit is contained in:
1 parent
a9e78a3299
commit
acdc53c2f6
1 file changed
+4
@@ -419,3 +419,7 @@ class NPUTorchairModelRunner(NPUModelRunner):
|
||||
|
||||
def _build_drafter_prepare_inputs_torchair_param(self):
|
||||
return True
|
||||
|
||||
def get_dp_padding(self, num_tokens):
|
||||
"""Override from NPUModelRunner to get dp padding"""
|
||||
return 0, None
|
||||
Reference in new issue
Block a user