-
Notifications
You must be signed in to change notification settings - Fork 281
use safe pickle_load for resume_file #2329
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: chensuyue <[email protected]>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
for more information, see https://pre-commit.ci
Signed-off-by: chensuyue <[email protected]>
for more information, see https://pre-commit.ci
Signed-off-by: chensuyue <[email protected]>
for more information, see https://pre-commit.ci
|
The CI failure not related to this PR. |
User description
Type of Change
CVE fix
Description
use _safe_pickle_load for resume_file
PR Type
Enhancement
Description
pickle.loadwithload_data_from_pklfor safer loadingDiagram Walkthrough
File Walkthrough
quantization.py
Replace pickle.load with _safe_pickle_loadneural_compressor/quantization.py
_safe_pickle_loadfrom utility modulepickle.loadwith_safe_pickle_loadfor resume_file