Pull & Push¶
Execute storage commands for model artifacts.
mver pull¶
Pull all model artifacts for the current app's declared group version.
Must be run from an app directory containing a valid mver.yml.
Behavior:
- Reads
mver.ymlfrom the current directory - Looks up the declared group version in the registry
- Resolves the pull command for each pinned model version (see Command Resolution)
- Validates all commands before executing any — fails fast if any model version has no resolvable pull command
- Executes commands sequentially from the monorepo root
- Halts on first failure; already-completed pulls are not rolled back
cd apps/fraud-service
mver pull
# Pulling 'fraud-detector@2.1.0': dvc pull models/fraud-detector/v2.1.0
# Pulling 'embedder@0.9.4': dvc pull models/embedder/v0.9.4
# Pull complete.
No rollback
If a pull fails midway, successfully pulled models are not cleaned up. Re-run after fixing the issue.
mver push¶
Push model artifacts for a specific group version.
Does not require an mver.yml — operates directly on a named group version. Useful for CI pipelines that publish models after training.
Behavior:
Same sequential execution and pre-validation as mver pull, using push commands instead.
mver push production@1.4.0
# Pushing 'fraud-detector@2.1.0': dvc push models/fraud-detector/v2.1.0
# Pushing 'embedder@0.9.4': dvc push models/embedder/v0.9.4
# Push complete.
Error Conditions¶
| Situation | Behavior |
|---|---|
No mver.yml found (pull) |
Fails with clear message before doing anything |
| Group/version not in registry | Fails before executing any commands |
| No resolvable command for a model version | Fails before executing any commands, identifying the affected model |
| A command exits with non-zero | Halts immediately, reports which model failed and the exit code |