Skip to content

Arm backend: Skip instead of returning in Llama test #9906

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 4, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion backends/arm/test/models/test_llama.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import sys
import unittest

import pytest
import torch

from executorch.backends.arm.test import common, conftest
Expand Down Expand Up @@ -102,7 +103,7 @@ def test_llama_tosa_MI(self):
llama_model, llama_inputs, llama_meta = self.prepare_model()

if llama_model is None and llama_inputs is None and llama_meta is None:
return
pytest.skip("Missing model and/or input files")

with torch.no_grad():
(
Expand Down
Loading