Command
vraven capture
Compile a PyTorch model into the architecture-neutral VRAVEN Mechanism IR
Minimal form
vraven capture <model>
Arguments and options
| Option | Meaning | Default |
|---|---|---|
model | PyTorch model file | None |
--model-format | Model storage format. VRAVEN instrumentation supports state_dict and trusted pickle models; TorchScript can be loaded but cannot expose PyTorch hooks. | state_dict |
--model-factory, --factory | Import path such as my_project.models:Classifier | None |
--factory-kwargs | JSON object passed to the model factory | {} |
--state-dict-key | — | None |
--strip-prefix | — | None |
--device | — | cpu |
--non-strict | — | False |
--trusted-model | Allow Python-pickle model loading | False |
--input | Example .npy, .npz or trusted tensor .pt input | None |
--output | — | mechanism_ir.json |
Exact local helpRun
vraven capture --help against your installed version before automating a release workflow.