3.0.0
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:
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
We recommend using the DVC VSCode Extension and/or DVC Studio 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 and PyTorch Lightning.
Don't hesitate to open a new issue requesting support for other frameworks.
Full changelog
- refactor: Create separate
vscode
module. by @daavoo in #692 - warn on log_artifact when no repo by @dberenbaum in #693
- pyproject: add custom pytest markers definition by @mattseddon in #694
- pytest: fix mocker as context manager and setenv test warnings by @mattseddon in #695
- updates test for dvc-studio-client changes by @dberenbaum in #689
- tests: Update studio tests with latest release. by @daavoo in #698
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #700
- Update example by @SoyGema in #697
- minor style edits to hf example notebook by @dberenbaum in #701
- Migrate from PyPI tokens to Trusted Publishers by @0x2b3bfa0 in #707
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #708
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #711
- live: warn when DVC_ROOT is set but DVC_EXP_BASELINE_REV is not by @pmrowla in #702
- 3.0 updates by @daavoo in #684
- track dvcyaml file by @dberenbaum in #710
- test for tracking dvcyaml by @dberenbaum in #713
New Contributors
- @SoyGema made their first contribution in #697
- @0x2b3bfa0 made their first contribution in #707
Full Changelog: 2.16.0...3.0.0