Skip to content

Commit

Permalink
Rerun test_tokenizer on fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei-Aksionov committed Apr 16, 2024
1 parent ca5816f commit d6d9b76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from litgpt.tokenizer import Tokenizer


@pytest.mark.flaky(reruns=5)
@pytest.mark.parametrize("config", config_module.configs, ids=[c["hf_config"]["name"] for c in config_module.configs])
def test_tokenizer_against_hf(config):
access_token = os.getenv("HF_TOKEN")
Expand Down

0 comments on commit d6d9b76

Please sign in to comment.