Dvc: experiments: `core.experiments` config setting overridden in certain situations

Created on 27 Jul 2020  路  1Comment  路  Source: iterative/dvc

If core.experiments is set in .dvc/config and not committed, experiments support will end up being disabled when we do reset --hard during experiments checkout. This also affects .dvc/experiments being added to .gitignore.

Temporary workarounds:

  • Use dvc config --local when setting core.experiments true
  • git commit changes to .dvc/config after doing dvc config core.experiments true, and before running any other experiments related commands
bug experiments p2-medium

Most helpful comment

In the long run, experiments checkout behavior will need to be smarter than the POC git reset --hard implementation, and this issue should be resolved when that happens.

>All comments

In the long run, experiments checkout behavior will need to be smarter than the POC git reset --hard implementation, and this issue should be resolved when that happens.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

prihoda picture prihoda  路  3Comments

anotherbugmaster picture anotherbugmaster  路  3Comments

dnabanita7 picture dnabanita7  路  3Comments

shcheklein picture shcheklein  路  3Comments

analystanand picture analystanand  路  3Comments