Skip to content

Commit 1923d56

Browse files
committed
Remove future implementation
1 parent fdadf84 commit 1923d56

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/models/llama2/export_llama_lib.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878

7979

8080
EXECUTORCH_DEFINED_MODELS = ["llama2", "llama3", "llama3_1", "llama3_2"]
81-
TORCHTUNE_DEFINED_MODELS = ["llama3_2_vision"]
81+
TORCHTUNE_DEFINED_MODELS = []
8282

8383

8484
class WeightType(Enum):
@@ -798,8 +798,7 @@ def _load_llama_model(
798798
modelname = "llama2"
799799
model_class_name = "Llama2Model"
800800
elif modelname in TORCHTUNE_DEFINED_MODELS:
801-
if modelname == "llama3_2_vision":
802-
model_class_name = "Llama3_2Decoder"
801+
raise NotImplementedError("Torchtune Llama models are not yet supported in ExecuTorch export.")
803802
else:
804803
raise ValueError(f"{modelname} is not a valid Llama model.")
805804

0 commit comments

Comments
 (0)