-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
experiments: add dvc exp push/pull/list
#5042
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pmrowla
changed the title
experiments: add
[WIP] experiments: add Dec 7, 2020
dvc exp push/pull/list
dvc exp push/pull/list
Looks like a couple of the new tests are flaky, marking this WIP until they get fixed. Everything else should be ready for review. |
efiop
reviewed
Dec 7, 2020
efiop
reviewed
Dec 7, 2020
efiop
reviewed
Dec 7, 2020
pmrowla
changed the title
[WIP] experiments: add
experiments: add Dec 8, 2020
dvc exp push/pull/list
dvc exp push/pull/list
efiop
approved these changes
Dec 8, 2020
* roughly equivalent to `git ls-remote --refs`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
β I have followed the Contributing to DVC checklist.
π If this PR requires documentation updates, I have created a separate PR (or issue, at least) in dvc.org and linked it here.
Thank you for the contribution - we'll try to review it as soon as possible. π
Related to #4897.
dvc exp list [--rev <rev>] [--all] [<git_remote>]
to list available local or remote experiments.exp show
).git_remote
is provided, command will list remote experiments, otherwise it will list local experiments.git_remote
should be either a Git remote name (i.e.origin
) or a full Git repo URL (supports all Git URL specs, HTTP/SSH/etc)--rev <revision>
is provided, all experiments derived from the specified revision will be listed (defaults to current HEAD).--all
is provided, all experiments (derived from any revision) will be listed.dvc exp push [-f] <git_remote> <experiment>
to push a single experiment to a Git remote.git_remote
should be a Git remote or full Git URL.experiment
should be the name of a local experiment-f/--force
is provided, the remote experiment will be overridden if it already exists. Otherwise, a pre-existing remote experiment will only be updated if it can be fast-forwarded.git push origin <branch>
vsgit push --force origin <branch>
.resume
locally to generate more checkpoints, and then push again.dvc exp pull [-f] <git_remote> <experiment>
to pull a single experiment from a Git remote.dvc exp push
.Note: this does not implement
dvc push/pull
for experiment cache artifacts yet, it only implementsgit push/pull
(even though the CLI output will suggest that the user rundvc push/pull
).