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 auto_mixed_precision_model_path.py #230

Merged
merged 2 commits into from
Jul 19, 2022

Conversation

xiaowuhu
Copy link
Collaborator

Signed-off-by: xiaowuhu [email protected]

Due to onnx.save_model() function use append mode to write tensor data file, so if call it many times on same file, the file size will become unnecessary too big. So we need to remove the existing tensor data file before next save.

xiaowuhu added 2 commits July 19, 2022 17:26
Signed-off-by: xiaowuhu <[email protected]>

Due to onnx.save_model() function use append mode to write tensor data file, so if call it many times on same file, the file size will become unnecessary too big. So we need to remove the existing tensor data file before next save.
Signed-off-by: xiaowuhu <[email protected]>
fix flake8 issuse.
@xiaowuhu xiaowuhu requested a review from fatcat-z July 19, 2022 09:54
Copy link

@fatcat-z fatcat-z left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants