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

fix: Fail scan on InvalidMagicError in picklescan, update default for… #7381

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

brandonrising
Copy link
Collaborator

… read_checkpoint_meta to scan unless explicitly told not to

Summary

Update our picklescan usage to no longer ignore scan errors.
Update read_checkpoint_meta in model_util.py to default to running scans

QA Instructions

Corrupt a ckpt file and scan it. Ensure it fails scanning in the probe.

Merge Plan

Can be merged when approved

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

@github-actions github-actions bot added python PRs that change python files backend PRs that change backend files services PRs that change app services labels Nov 25, 2024
… read_checkpoint_meta to scan unless explicitly told not to
@brandonrising brandonrising force-pushed the brandon/improve-scanning-of-models branch from 7660bdb to 756008d Compare November 26, 2024 20:57
@brandonrising brandonrising merged commit ed46ace into main Nov 26, 2024
14 checks passed
@brandonrising brandonrising deleted the brandon/improve-scanning-of-models branch November 26, 2024 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend PRs that change backend files python PRs that change python files services PRs that change app services
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants