exp save: save workspace state to an experiment ref
See original GitHub issuedvc exp commit would create an experiment from the current state of the workspace.
Use cases for this command include:
- Not using DVC pipelines but still want to track experiments in a lightweight way. For example, by just having params in
params.yamland metrics inmetrics.json(see #6168), DVC can track and compare experiments. - Code has already been run. The user might have already run code and wants to record it without committing it to their working branch.
- Want to examine the results before deciding whether to save it as an experiment. Users can do
dvc reproand dodvc exp commitwhenever they want to track the experiment results. - Enables users to use
dvc reproand still use experiments. Some users may prefer this because they are already used todvc repro, and in other casesdvc exp runmight not work quite the same way. This eases the need to havedvc reproanddvc exp runbehave exactly the same (see https://github.com/iterative/dvc.org/issues/2861).
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Azure Machine Learning Python - Experiment class
Represents the main entry point for creating and working with experiments in Azure Machine Learning. An Experiment is a container of trials that...
Read more >ref: which `repro` options does `exp run` support? · Issue #2861 ...
dvc exp run doesn't support all the options supported by dvc repro but the ... exp save: save workspace state to an experiment...
Read more >Use Refresh-Only Mode to Sync Terraform State
Use refresh-only plans and applies to update Terraform state to match real-world infrastructure. Understand the implicit refresh behavior in Terraform plan ...
Read more >status | Data Version Control - DVC
Searches for changes in the existing tracked data and pipelines. In local mode, it shows which files or directories have changed in the...
Read more >Edit and save files with Workspaces - Chrome Developers
Press Command+P (Mac) or Control+P (Windows, Linux, ChromeOS) to open the Open File dialog. See Figure 10. Type script , then select app/script....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

One minor thought on this. When I initially read about this I thought about
dvc commit+git commitsemantics. While this is more likedvc exp stash? ordvc exp save, right? I guess, my concern is thatcommitis so overloaded that might confuse people.Hmm, agreed. I like
dvc exp save. It’s less tangled in git lingo and more obvious to users.