Skip to content

Commit

Permalink
Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
artek0chumak committed Apr 10, 2024
1 parent 63a421b commit 5ca2a03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_full_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ def test_sampling(tokenizer, model, ref_model, max_new_tokens=10):


@pytest.mark.skipif(
MODEL_NAME.lower().find("bloom") == -1,
reason="Mixtral and Llama uses DynamicCache, which can change based on beam search choices",
"bloom" not in MODEL_NAME.lower(),
reason="Mixtral and Llama use DynamicCache, which can change based on beam search choices",
)
@pytest.mark.forked
def test_beam_search_generation(tokenizer, model, ref_model, max_new_tokens=4, num_beams=5):
Expand Down

0 comments on commit 5ca2a03

Please sign in to comment.