Skip to content

Commit ffa1ec5

Browse files
Pull request pytorch#118: Support Toy models in aot_neutron_compile via --model_name
Merge in AITEC/executorch from pf-toymodels-support to main-nxp * commit '0390a5c78d2342cba8f2507587900166f07c5794': Support Toy models in aot_neutron_compile via --model_name
2 parents 60ede6e + 0390a5c commit ffa1ec5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/nxp/aot_neutron_compile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def get_model_and_inputs_from_name(model_name: str):
7777
logging.warning(
7878
"Using a model from examples/models not all of these are currently supported"
7979
)
80-
model, example_inputs, _ = EagerModelFactory.create_model(*MODEL_NAME_TO_MODEL[model_name])
80+
model, example_inputs, _, _ = EagerModelFactory.create_model(*MODEL_NAME_TO_MODEL[model_name])
8181
else:
8282
raise RuntimeError(
8383
f"Model '{model_name}' is not a valid name. Use --help for a list of available models."

0 commit comments

Comments
 (0)