Views
No views yet
.py file that supplies the reducer callable. Loading the resource
with PackageImporter.load_pickle("localcall", "payload.pkl") executes the
package-local callable and writes a benign marker file.package_local_callable.pt: PoC PyTorch Package artifact.make_poc.py: Builds the artifact from benign package-local source.verify.py: Runs runtime and scanner checks.verify_result.json: Captured verifier output after local validation.1python -m venv .venv
2. .venv/bin/activate
3pip install torch==2.11.0 modelscan==0.8.8
4python make_poc.py
5python verify.pyruntime_value: package-local-callablemarker_text: PACKAGE_LOCAL_CALLABLEpackage_local_callable.pt:package_local_callable/localcall/payload.pkltotal_issues: 0localcall/marker.py is skipped as unsupportedpackage_local_callable.ptad0754085aec04ede2cf5ad0f7960f0a340a12233dabe8a2c0f45c4d323440b1torch 2.11.0+cpumodelscan 0.8.8PackageImporter.load_pickle.PackageImporter.load_pickle.