← CLI reference
Command

vraven compare

Compare two saved models on the same bounded sample cohort

Minimal form

vraven compare <model_a> <model_b>

Arguments and options

OptionMeaningDefault
model_aLeft model fileNone
model_bRight 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
--model-a-factoryOptional factory override for model ANone
--model-b-factoryOptional factory override for model BNone
--model-a-factory-kwargsOptional JSON kwargs for model ANone
--model-b-factory-kwargsOptional JSON kwargs for model BNone
--inputBatched tensor input fileNone
--labelsOptional per-sample target labelsNone
--mode—fast
--class-namesComma-separated class labelsNone
--left-name—model_a
--right-name—model_b
--max-samples—128
--fingerprint-dimensions—128
--max-layers—256
--max-units—128
--output—vraven_model_comparison.json
Exact local helpRun vraven compare --help against your installed version before automating a release workflow.