Bump Flashinfer version to 0.6.16.post3 (#50892)

Signed-off-by: jiahanc <173873397+jiahanc@users.noreply.github.com>
Signed-off-by: wzhao18 <wzhao18.sz@gmail.com>
Co-authored-by: jiahanc <173873397+jiahanc@users.noreply.github.com>
Co-authored-by: Kevin H. Luu <khluu000@gmail.com>
This commit is contained in:
Wei Zhao
2026-08-09 00:54:07 -07:00
committed by GitHub
co-authored by jiahanc Kevin H. Luu
parent eb24bc38cf
commit f18e10a7e1
5 changed files with 51 additions and 58 deletions
+11 -3
View File
@@ -5824,7 +5824,10 @@ class GPUModelRunner(
@contextmanager
def maybe_randomize_inputs(
self, input_ids: torch.Tensor | None, inputs_embeds: torch.Tensor | None
self,
input_ids: torch.Tensor | None,
inputs_embeds: torch.Tensor | None,
randomize_inputs: bool = False,
):
"""
Randomize input_ids if VLLM_RANDOMIZE_DP_DUMMY_INPUTS is set.
@@ -5834,7 +5837,9 @@ class GPUModelRunner(
"""
dp_size = self.vllm_config.parallel_config.data_parallel_size
randomize_inputs = envs.VLLM_RANDOMIZE_DP_DUMMY_INPUTS and dp_size > 1
randomize_inputs = randomize_inputs or (
envs.VLLM_RANDOMIZE_DP_DUMMY_INPUTS and dp_size > 1
)
if not randomize_inputs:
yield
elif input_ids is not None:
@@ -5911,6 +5916,7 @@ class GPUModelRunner(
is_graph_capturing: bool = False,
num_active_loras: int = 0,
profile_seq_lens: int | None = None,
randomize_inputs: bool = False,
) -> tuple[torch.Tensor, torch.Tensor]:
"""
Run a dummy forward pass to warm up/profile run or capture the
@@ -6208,7 +6214,9 @@ class GPUModelRunner(
num_tokens_across_dp[:] = num_tokens_padded
with (
self.maybe_randomize_inputs(input_ids, inputs_embeds),
self.maybe_randomize_inputs(
input_ids, inputs_embeds, randomize_inputs=randomize_inputs
),
set_forward_context(
attn_metadata,
self.vllm_config,