Breaking Changes
`dvcyaml` now accepts a path and defaults to the `dvc.yaml` at the root of your DVC Repository.
DVCLive was previously writing to `dvclive/dvc.yaml`. It will now default writing to the `dvc.yaml` at the root of your DVC Repository.
You can now pass a custom path to the `dvcyaml` argument.
For example, to preserve the behavior of the previous version:
py
with Live(dvcyaml="dvclive/dvc.yaml") as live:
pass
`save_dvc_exp` now defaults to `True`.
Setting `save_dvc_exp=True` was already recommended in all our example snippets but we will now try to create a DVC Experiment always by default.
If you are using a DVC Pipeline and running with `dvc exp run`, this change won't have an effect on your project.
`report` now defaults to `None`.
You can still manually set the `report` to [one of the supported formats](https://dvc.org/doc/dvclive/live#parameters)
We recommend using the [DVC VSCode Extension](https://marketplace.visualstudio.com/items?itemName=Iterative.dvc) and/or [DVC Studio](https://dvc.org/doc/studio/experiments) to see live updates to the plots created by DVCLive.
Removed `model_file` from the framework integrations.
In order to log model checkpoints, you can use the `log_model` argument for [HuggingFace](https://dvc.org/doc/dvclive/ml-frameworks/huggingface#log-model-checkpoints) and [PyTorch Lightning](https://dvc.org/doc/dvclive/ml-frameworks/pytorch-lightning#log-model-checkpoints).
Don't hesitate to open a new issue requesting support for other frameworks.
Full changelog
* refactor: Create separate `vscode` module. by daavoo in https://github.com/iterative/dvclive/pull/692
* warn on log_artifact when no repo by dberenbaum in https://github.com/iterative/dvclive/pull/693
* pyproject: add custom pytest markers definition by mattseddon in https://github.com/iterative/dvclive/pull/694
* pytest: fix mocker as context manager and setenv test warnings by mattseddon in https://github.com/iterative/dvclive/pull/695
* updates test for dvc-studio-client changes by dberenbaum in https://github.com/iterative/dvclive/pull/689
* tests: Update studio tests with latest release. by daavoo in https://github.com/iterative/dvclive/pull/698
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/iterative/dvclive/pull/700
* Update example by SoyGema in https://github.com/iterative/dvclive/pull/697
* minor style edits to hf example notebook by dberenbaum in https://github.com/iterative/dvclive/pull/701
* Migrate from PyPI tokens to Trusted Publishers by 0x2b3bfa0 in https://github.com/iterative/dvclive/pull/707
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/iterative/dvclive/pull/708
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/iterative/dvclive/pull/711
* live: warn when DVC_ROOT is set but DVC_EXP_BASELINE_REV is not by pmrowla in https://github.com/iterative/dvclive/pull/702
* 3.0 updates by daavoo in https://github.com/iterative/dvclive/pull/684
* track dvcyaml file by dberenbaum in https://github.com/iterative/dvclive/pull/710
* test for tracking dvcyaml by dberenbaum in https://github.com/iterative/dvclive/pull/713
New Contributors
* SoyGema made their first contribution in https://github.com/iterative/dvclive/pull/697
* 0x2b3bfa0 made their first contribution in https://github.com/iterative/dvclive/pull/707
**Full Changelog**: https://github.com/iterative/dvclive/compare/2.16.0...3.0.0