-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow for logging to Studio when not inside a repo (#646)
* post to studio even without git/dvc repo * tests for no-git scenario * studio: make no-repo paths relative to cwd * make ruff happy * don't require exp name * don't require baseline rev * refactor studio path formatting * live: Set new defaults `report=None` and `save_dvc_exp=True`. * frameworks: Drop model_file. * update examples * Write to root dvc.yaml (#687) * add dvcyaml to root * clean up dvcyaml implementation * fix existing tests * add new tests * add unit tests for updating dvcyaml * use posix paths * don't resolve symlinks * drop entire dvclive dir on cleanup * fix studio tests * revert cleanup changes * unify rel_path util func * cleanup test * refactor tests * add test for multiple dvclive instances * put dvc_file logic into _init_dvc_file --------- Co-authored-by: daavoo <daviddelaiglesiacastro@gmail.com> * report: Drop "auto" logic. Fallback to `None` when conditions are not met for other types. * studio: Extract `post_to_studio` and decoulple from `make_report` (#705) * refactor(tests): Split `test_main` into separate files. Rename test_frameworks to frameworks. * fix matplotlib warning * fix studio tests * fix windows studio paths * fix windows studio paths for plots * skip fabric tests if not installed * drop dvc repo * drop dvcignore * drop unrelated test_fabric.py file * fix windows paths * fix windows paths * adapt plot paths even if no dvc repo * default baseline rev to all zeros * consolidate repro tests * set null sha as variable * add type hints to studio * limit windows path handling to studio * fix typing errors in studio module * fix mypy in live module * drop checking for dvc_file --------- Co-authored-by: daavoo <daviddelaiglesiacastro@gmail.com>
- Loading branch information
1 parent
b8526e9
commit 35ce2f3
Showing
5 changed files
with
131 additions
and
85 deletions.
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.