Skip to content

Commit 9777e23

Browse files
committed
Fix internal pyre warning
1 parent 7a0101f commit 9777e23

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/models/llama/export_llama_lib.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -888,6 +888,8 @@ def _load_llama_model(
888888
if modelname == "llama3_2_vision":
889889
module_name = "llama3_2_vision"
890890
model_class_name = "Llama3_2Decoder"
891+
else:
892+
raise ValueError(f"{modelname} is not a valid Llama model.")
891893
else:
892894
raise ValueError(f"{modelname} is not a valid Llama model.")
893895

0 commit comments

Comments
 (0)