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

Add fail_if_symlink to fns.io functions #3150

Merged
merged 7 commits into from
Dec 16, 2024

Conversation

kshpv
Copy link
Collaborator

@kshpv kshpv commented Dec 16, 2024

Changes

  • Add fail_if_symlink check to check symbolic links before load statistics files
  • Remove try block for fns.io.save_file in dump_statistics

Reason for changes

Prevent problems with symlinks

@kshpv kshpv requested a review from a team as a code owner December 16, 2024 15:41
@github-actions github-actions bot added the NNCF Common Pull request that updates NNCF Common label Dec 16, 2024
@AlexanderDokuchaev AlexanderDokuchaev merged commit c479989 into openvinotoolkit:develop Dec 16, 2024
14 checks passed
kshpv added a commit to kshpv/nncf that referenced this pull request Dec 16, 2024
### Changes 

- Add `fail_if_symlink` check to check symbolic links before load
statistics files
- Remove try block for `fns.io.save_file` in dump_statistics

### Reason for changes

Prevent problems with symlinks

---------

Co-authored-by: Alexander Dokuchaev <[email protected]>
KodiaqQ pushed a commit that referenced this pull request Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NNCF Common Pull request that updates NNCF Common
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants