-
Notifications
You must be signed in to change notification settings - Fork 16
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
Show number of parameters when onnx
files are being analyzed
#125
base: main
Are you sure you want to change the base?
Conversation
# Begin evaluating the ONNX model | ||
tracer_args.script_name = onnx_name | ||
tracer_args.models_found[tracer_args.script_name] = model_info | ||
explore_invocation( | ||
model_inputs=onnx_inputs, | ||
model_info=model_info, | ||
invocation_info=invocation_info, | ||
invocation_info=model_info.unique_invocations[onnx_hash], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: the code could be a bit simpler if it was ModelInfo.add_unique_invocation() -> UniqueInvocationInfo
(ie, the function returned the new UniqueInvocationInfo instance).
That way you wouldn't have to look it up in the dictionary a few lines of code later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this! Please implement the one comment before merging.
Description
Bug fix: Ensure that we show number of parameters when
onnx
files are being analyzed