Skip to content

Commit

Permalink
Run ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
2015aroras committed Apr 24, 2024
1 parent 7226133 commit d99b8b8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/hf_olmo/hf_olmo_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
from olmo.torch_util import seed_all


@pytest.mark.skipif(version.parse(transformers.__version__) >= version.parse("4.40.0"), reason="hf_olmo auto classes are not compatible with transformers >=v4.40.0")
@pytest.mark.skipif(
version.parse(transformers.__version__) >= version.parse("4.40.0"),
reason="hf_olmo auto classes are not compatible with transformers >=v4.40.0",
)
def test_auto_hf_classes(model_path: str):
from transformers import AutoConfig, AutoModelForCausalLM, AutoTokenizer

Expand Down

0 comments on commit d99b8b8

Please sign in to comment.