File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ run_and_verify() {
3535 exit 1
3636 fi
3737 $PYTHON_EXECUTABLE -m examples.models.llama.eval_llama \
38- --model llama2
38+ --model llama2 \
3939 -c stories110M.pt \
4040 -p params.json \
4141 -t tokenizer.model \
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ run_and_verify() {
3535 exit 1
3636 fi
3737 $PYTHON_EXECUTABLE -m examples.models.llama.runner.eager \
38- --model llama2
38+ --model llama2 \
3939 -c stories110M.pt \
4040 -p params.json \
4141 -t tokenizer.model \
Original file line number Diff line number Diff line change @@ -806,7 +806,7 @@ def _load_llama_model(
806806 if modelname in EXECUTORCH_DEFINED_MODELS :
807807 # Set to llama2 because all models in EXECUTORCH_DEFINED_MODELS share the same archteciture as
808808 # defined in example/models/llama2.
809- modelname = "llama2 "
809+ modelname = "llama "
810810 model_class_name = "Llama2Model"
811811 elif modelname in TORCHTUNE_DEFINED_MODELS :
812812 raise NotImplementedError (
You can’t perform that action at this time.
0 commit comments