Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions src/dvclive/live.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,13 +277,11 @@ def _init_dvc_pipeline(self):
self._inside_dvc_exp = True
if self._save_dvc_exp:
logger.info("Ignoring `save_dvc_exp` because `dvc exp run` is running")
else:
# `dvc repro` execution
if self._save_dvc_exp:
logger.info("Ignoring `save_dvc_exp` because `dvc repro` is running")
# `dvc repro` execution
elif self._save_dvc_exp:
logger.warning(
"Some DVCLive features are unsupported in `dvc repro`."
"\nTo use DVCLive with a DVC Pipeline, run it with `dvc exp run`."
"Ignoring `save_dvc_exp` because `dvc repro` is running."
"\nUse `dvc exp run` to save experiment."
)
self._save_dvc_exp = False

Expand Down