Skip to content

Commit fa0f793

Browse files
fix skipif check on tests involving gated HF models (#1553)
SUMMARY: Community user PRs are still failing tracing test checks. This loosens the skip check so it resolves correctly After merge and rebase, this should also resolve issue for #1521 TEST PLAN: Confirmed with @dbarbuzzi that this resolved the issue for #1445 . Signed-off-by: Brian Dellabetta <bdellabe@redhat.com>
1 parent 6895af1 commit fa0f793

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/llmcompressor/transformers/tracing/test_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121

2222
@pytest.mark.skipif(
23-
os.getenv("HF_TOKEN") is None,
23+
(not os.getenv("HF_TOKEN")),
2424
reason="Skipping tracing tests requiring gated model access",
2525
)
2626
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)