Skip to content

Commit 5773513

Browse files
committed
remove HF_HUB_AMD_ORG_ACCESS since model is public
Signed-off-by: xuebwang-amd <xuebwang@amd.com>
1 parent 09a498f commit 5773513

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/quantization/test_mixed_precision.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,6 @@
1919
"quark") is not None and version.parse(
2020
importlib.metadata.version("amd-quark")) >= version.parse('0.8.99')
2121

22-
try:
23-
huggingface_hub.list_repo_refs(
24-
"amd/Qwen3-8B-WMXFP4FP8-AMXFP4FP8-AMP-KVFP8")
25-
HF_HUB_AMD_ORG_ACCESS = True
26-
except huggingface_hub.errors.RepositoryNotFoundError:
27-
HF_HUB_AMD_ORG_ACCESS = False
28-
2922

3023
@dataclass
3124
class ModelCase:
@@ -55,9 +48,6 @@ def get_model_args(self) -> str:
5548
@pytest.mark.parametrize("model_name, accuracy_numbers", TEST_CONFIGS.items())
5649
@pytest.mark.skipif(not QUARK_MXFP4_AVAILABLE,
5750
reason="amd-quark>=0.9 is not available")
58-
@pytest.mark.skipif(
59-
not HF_HUB_AMD_ORG_ACCESS,
60-
reason="Read access to huggingface.co/amd is required for this test.")
6151
def test_mixed_precision_model_accuracies(model_name: str,
6252
accuracy_numbers: dict):
6353

0 commit comments

Comments
 (0)