You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the scanner checks if there is any imports from a package which is not a part of the standard library. However, when it comes to dumps of machine learning models, they are going to have imports from the used libraries (e.g. scikit-learn, numpy, scipy, lightgbm, etc).
It would be nice to have an option to include a list of libraries which are considered safe by the user, and not raise a warning on their imports.
We are planning to use this library at @huggingface, but such a modification is necessary to make it work for us. It would be really nice if we could include it in the upstream.
cc @McPatate (who would be happy to work on a PR).
Right now the scanner checks if there is any imports from a package which is not a part of the standard library. However, when it comes to dumps of machine learning models, they are going to have imports from the used libraries (e.g. scikit-learn, numpy, scipy, lightgbm, etc).
It would be nice to have an option to include a list of libraries which are considered safe by the user, and not raise a warning on their imports.
We are planning to use this library at @huggingface, but such a modification is necessary to make it work for us. It would be really nice if we could include it in the upstream.
cc @McPatate (who would be happy to work on a PR).
WDYT @ESultanik ?
The text was updated successfully, but these errors were encountered: