Skip to content

Commit

Permalink
#10727: Removed a seqlen parameter from Mistral model prefill test an…
Browse files Browse the repository at this point in the history
…d update compile time estimates
  • Loading branch information
mtairum authored and ttmchiou committed Jul 30, 2024
1 parent 1bbd7f1 commit c8abf33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,7 @@ def forward(self, x):
@pytest.mark.models_performance_bare_metal
@pytest.mark.parametrize(
"seq_len",
(
128,
4096,
),
(4096,),
)
def test_mistral_model_inference(device, seq_len, use_program_cache, reset_seeds, is_ci_env):
# Set additional Mistral flag for CI
Expand Down
4 changes: 2 additions & 2 deletions models/demos/wormhole/mistral7b/tests/test_mistral_perf.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ def forward(self, x):
@pytest.mark.parametrize(
"kv_cache_len, expected_compile_time, expected_inference_time",
(
(32, 6, 0.105),
(1024, 6, 0.225),
(32, 15, 0.105),
(1024, 15, 0.225),
),
)
def test_mistral_model_perf(
Expand Down

0 comments on commit c8abf33

Please sign in to comment.