mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-26 13:03:06 +08:00
Fix some speculative decode tests with tl.dot (#17371)
Signed-off-by: Huy Do <huydhn@gmail.com>
This commit is contained in:
parent
d1f569b1b9
commit
88fcf00dda
@ -456,7 +456,7 @@ def test_spec_decode_e2e_greedy_correctness_real_model_large_bs(
|
||||
@pytest.mark.parametrize(
|
||||
"common_llm_kwargs",
|
||||
[{
|
||||
"block_size": 8,
|
||||
"block_size": 16,
|
||||
# 2 for small prompt, 256//8 for generated.
|
||||
"num_gpu_blocks_override": 2 + 256 // 8,
|
||||
"max_model_len": (2 + 256 // 8) * 8,
|
||||
@ -526,11 +526,8 @@ def test_spec_decode_e2e_greedy_correctness_with_preemption(
|
||||
@pytest.mark.parametrize(
|
||||
"per_test_common_llm_kwargs",
|
||||
[
|
||||
# As of this writing, vLLM only compiles with these 3 block sizes by
|
||||
# default.
|
||||
{
|
||||
"block_size": 8,
|
||||
},
|
||||
# https://github.com/triton-lang/triton/issues/2266 tl.dot
|
||||
# doesn't support embedding < 16
|
||||
{
|
||||
"block_size": 16,
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user