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

Also Extract model.onnx.tar.gz on Model download #359

Merged
merged 3 commits into from
Aug 22, 2023

Conversation

rahul-tuli
Copy link
Member

@rahul-tuli rahul-tuli commented Aug 22, 2023

Currently, model.onnx.tar.gz was only extracted when Model(stub).onnx_model.path was accessed; this led to a failure in deepsparse: https://github.com/neuralmagic/deepsparse/actions/runs/5895963143/job/16084105769

This PR addresses the failure by auto extracting the onnx_model on download.

The fix proposed was to call self.onnx_model.path at the end of Model class's download() method

The deepsparse failures pass after this fix;

Screen Shot 2023-08-22 at 1 14 20 PM

@rahul-tuli rahul-tuli merged commit 24cfe83 into main Aug 22, 2023
4 checks passed
@rahul-tuli rahul-tuli deleted the bugfix-extract-model.onnx.tar.gz-on-download branch August 22, 2023 17:27
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.

None yet

3 participants