Loading...
Loading...
Exports and validates Physical AI Studio policies for Runtime deployment. Use when working on policy.export(...), the physicalai export CLI, the ONNX/OpenVINO/Torch/ExecuTorch backends, export metadata, numerical parity checks, or the Studio side of the export/load contract that Runtime consumes with InferenceModel(...).
npx skill4agent add open-edge-platform/physical-ai-studio physicalai-train-exporting-and-validatinglibrary/src/physicalai/export/backends.pyExportBackendonnxopenvinotorchexecutorchmixin_policy.pyExportablePolicyMixinexport(output_dir, backend=...)library/src/physicalai/cli/export.pyphysicalai.policies.ACT.ckptpolicy.export(output_dir, backend=ExportBackend.ONNX)physicalai export --policy physicalai.policies.ACT --ckpt_path model.ckpt --backend onnx --output_dir ./exportreferences/<backend>.mdreferences/export-contract.mdInferenceModel(...)# from library/
physicalai export --policy <ClassPath> --ckpt_path <model.ckpt> --backend <backend> --output_dir ./export
uv run pytest tests/unit/export -k <backend>policy.export("./export-api", backend=ExportBackend.<BACKEND>)library/docs/how-to/export/references/export-contract.mdreferences/onnx.mdreferences/openvino.mdreferences/torch.mdreferences/executorch.md