capture-onnx-graph CLI Bug: list append()
samuel100 opened this issue · 0 comments
samuel100 commented
olive capture-onnx-graph \
--device cpu \
--output_path model-int4-dynamo \
--model_name_or_path Qwen/Qwen2-0.5B \
--use_dynamo_exporter True \
--use_ort_genai True
Gives the following error:
Traceback (most recent call last):
File "/usr/local/bin/olive", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/olive/cli/launcher.py", line 52, in main
service.run()
File "/usr/local/lib/python3.10/dist-packages/olive/cli/capture_onnx.py", line 166, in run
run_config = self.get_run_config(tempdir)
File "/usr/local/lib/python3.10/dist-packages/olive/cli/capture_onnx.py", line 228, in get_run_config
to_replace.append(("passes", "c", "past_key_value_name"), self.args.past_key_value_name)
TypeError: list.append() takes exactly one argument (2 given)
----------------------------------------------------------------