Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update output for quantized models by ORT on VNNI machine #572

Merged
merged 6 commits into from
Nov 17, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
only consider quant models
Signed-off-by: jcwchen <jacky82226@gmail.com>
  • Loading branch information
jcwchen committed Nov 8, 2022
commit 2b41ad51fc042ec6ec86f894f3531d1730ce1102
2 changes: 1 addition & 1 deletion workflow_scripts/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def get_all_models():
for directory in ["text", "vision"]:
for root, _, files in os.walk(directory):
for file in files:
if file.endswith(tar_ext_name) or file.endswith(onnx_ext_name):
if (file.endswith(tar_ext_name) or file.endswith(onnx_ext_name)) and ("-int8" in file or "-qdq" in file):
model_list.append(os.path.join(root, file))
return model_list

Expand Down