question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

exp save: save workspace state to an experiment ref

See original GitHub issue

dvc 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.yaml and metrics in metrics.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 repro and do dvc exp commit whenever they want to track the experiment results.
  • Enables users to use dvc repro and still use experiments. Some users may prefer this because they are already used to dvc repro, and in other cases dvc exp run might not work quite the same way. This eases the need to have dvc repro and dvc exp run behave exactly the same (see https://github.com/iterative/dvc.org/issues/2861).

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
shchekleincommented, Oct 6, 2021

One minor thought on this. When I initially read about this I thought about dvc commit + git commit semantics. While this is more like dvc exp stash? or dvc exp save, right? I guess, my concern is that commit is so overloaded that might confuse people.

1reaction
dberenbaumcommented, Oct 6, 2021

One minor thought on this. When I initially read about this I thought about dvc commit + git commit semantics. While this is more like dvc exp stash? or dvc exp save, right? I guess, my concern is that commit is 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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found