[Hardware][XPU] Register batch-invariant kernels for XPU (#41934)

Signed-off-by: tzielinski-habana <tomasz.zielinski@intel.com>
Signed-off-by: Tomasz Zielinski <85164140+tzielinski-habana@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Chendi.Xue <chendi.xue@intel.com>
This commit is contained in:
Tomasz Zielinski
2026-07-15 11:19:44 -04:00
committed by GitHub
co-authored by gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Chendi.Xue
parent 05eed72aec
commit 61141ed265
6 changed files with 127 additions and 55 deletions
@@ -9,7 +9,7 @@ import torch
from utils import (
_extract_step_logprobs,
_random_prompt,
skip_unsupported,
skip_if_not_cuda,
)
from vllm import LLM, SamplingParams
@@ -40,7 +40,7 @@ def _make_llm(max_num_seqs: int, backend: str) -> LLM:
)
@skip_unsupported
@skip_if_not_cuda
@pytest.mark.parametrize("backend", ["FLASH_ATTN"])
def test_dense_nvfp4_generation_is_deterministic_across_batch_sizes_e2e(backend):
seed = int(os.getenv("VLLM_TEST_SEED", "12345"))