Skip to content

Document checkpoints without make_checkpoint() #2292

@dberenbaum

Description

@dberenbaum

Our documentation so far in https://dvc.org/doc/command-reference/exp/run (and maybe elsewhere?) assumes that checkpoints only work with make_checkpoint() or a signal file. However, checkpoints still work without make_checkpoint() if the stage is designed to make a single checkpoint instead of multiple checkpoints. The final output will still be saved for the following iteration as long as it is marked as checkpoint: true in the dvc.yaml.

This would be great to document because:

  1. It is language agnostic (without resorting to clunky workarounds) and therefore more consistent with the rest of DVC
  2. It provides a simpler starting point for using checkpoints

See https://github.com/iterative/dvc-checkpoints-mnist/tree/python_agnostic for an example.

@pmrowla @jorgeorpinel @dmpetrov

Metadata

Metadata

Assignees

Labels

A: docsArea: user documentation (gatsby-theme-iterative)type: enhancementSomething is not clear, small updates, improvement suggestions

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions