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

Verify model deletion after testing #6127

Merged
merged 3 commits into from
May 3, 2024
Merged

Conversation

ramkrishna2910
Copy link
Contributor

Description

Deletes model downloaded to disk after testing to avoid storage issues.

Signed-off-by: Ramakrishnan Sivakumar <ramkrishna2910@gmail.com>
@ramkrishna2910 ramkrishna2910 requested a review from a team as a code owner May 3, 2024 19:32
Copy link

codecov bot commented May 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.04%. Comparing base (83194ed) to head (a4b13f7).
Report is 28 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6127      +/-   ##
==========================================
+ Coverage   56.95%   57.04%   +0.08%     
==========================================
  Files         506      506              
  Lines       30467    30935     +468     
  Branches     4592     4592              
==========================================
+ Hits        17353    17646     +293     
- Misses      12285    12464     +179     
+ Partials      829      825       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Ramakrishnan Sivakumar <ramkrishna2910@gmail.com>
@justinchuby
Copy link
Contributor

Thanks!

Signed-off-by: Ramakrishnan Sivakumar <ramkrishna2910@gmail.com>
@ramkrishna2910
Copy link
Contributor Author

@justinchuby using a temp file did not help as the cache folder was persistent until the context manager quit at the end of the test. That was still causing storage issues.
So, instead I am deleting the onnx file in each iteration of the loop.

@justinchuby
Copy link
Contributor

I think it's possible to create a context for each model? But this looks good too

@justinchuby justinchuby added this pull request to the merge queue May 3, 2024
Merged via the queue into onnx:main with commit 7513c16 May 3, 2024
38 checks passed
isdanni pushed a commit to isdanni/onnx that referenced this pull request May 6, 2024
### Description
Deletes model downloaded to disk after testing to avoid storage issues.

---------

Signed-off-by: Ramakrishnan Sivakumar <ramkrishna2910@gmail.com>
Signed-off-by: isdanni <leedanni@gmail.com>
gramalingam pushed a commit to gramalingam/onnx that referenced this pull request Jun 6, 2024
### Description
Deletes model downloaded to disk after testing to avoid storage issues.

---------

Signed-off-by: Ramakrishnan Sivakumar <ramkrishna2910@gmail.com>
Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
andife pushed a commit to andife/onnx that referenced this pull request Jul 20, 2024
### Description
Deletes model downloaded to disk after testing to avoid storage issues.

---------

Signed-off-by: Ramakrishnan Sivakumar <ramkrishna2910@gmail.com>
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants