Skip to content

Commit 3789d5a

Browse files
authored
Update test_sampler.py
Signed-off-by: quic-xiyushi <xiyushi@qti.qualcomm.com>
1 parent ef9ae14 commit 3789d5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/transformers/sampler/test_sampler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def test_sampler_transform(
195195
@pytest.mark.on_qaic
196196
@pytest.mark.parametrize(
197197
"model, prompts, prefill_seq_len, ctx_len, generation_len, full_batch_size, spec_length, is_vlm",
198-
sampler_transform_configs,
198+
greedy_sampling_configs,
199199
)
200200
def test_greedy_sampling(
201201
model: str,
@@ -221,7 +221,7 @@ def test_greedy_sampling(
221221
additional_params["processor"] = AutoProcessor.from_pretrained(model)
222222
prompts = prompts[1]
223223
else:
224-
additional_configs["num_hidden_layers"] = 2
224+
additional_configs["num_hidden_layers"] = 4
225225
qeff_class = QEFFAutoModelForCausalLM
226226
spec_length -= 1
227227
model_w_sampler = qeff_class.from_pretrained(

0 commit comments

Comments
 (0)