skip test_xlm_roberta_large (#14563)

symlink model not allowed in latest onnxruntime
This commit is contained in:
chenyu
2026-02-05 14:00:24 -05:00
committed by GitHub
parent 42c18da88a
commit 2b47a9a1b5
+1
View File
@@ -80,6 +80,7 @@ class TestHuggingFaceOnnxModels(unittest.TestCase):
print(f"Validating model: {repo_id}/{model_file} ({file_size/1e6:.2f}M)")
validate(onnx_model_path, custom_inputs, rtol=rtol, atol=atol)
@unittest.skip("onnxruntime 1.24+ rejects huggingface_hub symlinks as path traversal")
def test_xlm_roberta_large(self):
repo_id = "FacebookAI/xlm-roberta-large"
model_file = "onnx/model.onnx"