Skip to content

Commit 7c70403

Browse files
authored
Remove limit arg in eval script (#12455)
Summary: Removing limit arg in eval script (bugfix) Reviewed By: cccclai Differential Revision: D78283044
1 parent 986be2a commit 7c70403

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

examples/qualcomm/oss_scripts/llama/eval_llama_qnn.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,6 @@ def eval_llama(
271271
model=eval_wrapper,
272272
tasks=args.tasks,
273273
num_fewshot=args.num_fewshot,
274-
limit=args.limit,
275274
)
276275

277276
for task, res in eval_results["results"].items():
@@ -294,11 +293,6 @@ def main() -> None:
294293
help="Choose which range setting method (e.g. mse_weight). If not specified, will do minmax for weights and activations",
295294
type=str,
296295
)
297-
parser.add_argument(
298-
"--limit",
299-
help="the number of examples per task (only use this for testing), If <1, limit is a percentage of the total number of examples",
300-
type=str,
301-
)
302296

303297
args = parser.parse_args()
304298
args.llama_model = "llama3_2"

0 commit comments

Comments
 (0)