Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

studio: Extract post_to_studio and decoulple from make_report #705

Merged

Conversation

daavoo
Copy link
Contributor

@daavoo daavoo commented Sep 7, 2023

No description provided.

@daavoo daavoo added refactoring A: studio Area: Studio integration labels Sep 7, 2023
@daavoo daavoo self-assigned this Sep 7, 2023
@daavoo daavoo linked an issue Sep 7, 2023 that may be closed by this pull request
@daavoo daavoo force-pushed the 704-decouple-studio-updates-from-make_report branch from 90c8947 to 3a6478c Compare September 7, 2023 09:28
@daavoo daavoo merged commit 7d2528e into 484-30-release Sep 7, 2023
11 checks passed
@daavoo daavoo deleted the 704-decouple-studio-updates-from-make_report branch September 7, 2023 09:38
@daavoo daavoo mentioned this pull request Sep 7, 2023
daavoo added a commit that referenced this pull request Sep 20, 2023
* 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

* Studio dvcyaml (#709)

* drop dvc.yaml prefix from studio plots

* refactor

* drop .dvc files

* dvc version bump

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Bump dvc and dvc-render

---------

Co-authored-by: dberenbaum <dave@iterative.ai>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
skshetry pushed a commit that referenced this pull request Sep 21, 2023
* 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

* drop dvc.yaml prefix from studio plots

* refactor

* drop .dvc files

* track dvcyaml file

* Studio dvcyaml (#709)

* drop dvc.yaml prefix from studio plots

* refactor

* drop .dvc files

* dvc version bump

* drop unneeded relpath call

* drop extra make_report call

---------

Co-authored-by: daavoo <daviddelaiglesiacastro@gmail.com>
daavoo added a commit that referenced this pull request Sep 21, 2023
* 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

* drop dvc.yaml prefix from studio plots

* refactor

* drop .dvc files

* track dvcyaml file

* Studio dvcyaml (#709)

* drop dvc.yaml prefix from studio plots

* refactor

* drop .dvc files

* dvc version bump

* drop unneeded relpath call

* drop extra make_report call

* test for git add dvc.yaml in exp run

---------

Co-authored-by: daavoo <daviddelaiglesiacastro@gmail.com>
dberenbaum added a commit that referenced this pull request Feb 15, 2024
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: studio Area: Studio integration refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Decouple Studio updates from make_report
1 participant