← CLI reference
Command

vraven capture

Compile a PyTorch model into the architecture-neutral VRAVEN Mechanism IR

Minimal form

vraven capture <model>

Arguments and options

OptionMeaningDefault
modelPyTorch model fileNone
--model-formatModel storage format. VRAVEN instrumentation supports state_dict and trusted pickle models; TorchScript can be loaded but cannot expose PyTorch hooks.state_dict
--model-factory, --factoryImport path such as my_project.models:ClassifierNone
--factory-kwargsJSON object passed to the model factory{}
--state-dict-key—None
--strip-prefix—None
--device—cpu
--non-strict—False
--trusted-modelAllow Python-pickle model loadingFalse
--inputExample .npy, .npz or trusted tensor .pt inputNone
--output—mechanism_ir.json
Exact local helpRun vraven capture --help against your installed version before automating a release workflow.