We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afbf5e4 commit 25dfa11Copy full SHA for 25dfa11
backends/arm/test/models/test_llama.py
@@ -61,7 +61,7 @@ def prepare_model(self):
61
logging.warning(
62
"Skipping Llama test because of lack of input. To run use --llama_inputs <.pt> <.json>"
63
)
64
- return
+ return None, None, None
65
66
assert os.path.isfile(checkpoint) and os.path.isfile(
67
params_file
@@ -105,6 +105,9 @@ def prepare_model(self):
105
def test_llama_tosa_MI(self):
106
llama_model, llama_inputs, llama_meta = self.prepare_model()
107
108
+ if llama_model is None and llama_inputs is None and llama_meta is None:
109
+ return
110
+
111
with torch.no_grad():
112
(
113
ArmTester(
0 commit comments