Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

dvc.notes.md 941 B

You have to be logged in to leave a comment. Sign In

DVC NOTES

  • Only write needed things to output if the output is dependency for next stage
  • Do not use explicit name as key for dag.yaml's stage.params
  • Use external file as params for stage with
params:
 - external_file.yaml: # this means include all
 - another_file.yaml: # this means only get some keys
  - key1
  - key2
  • user -u tag so that python output is not buffered (which leads to delayed terminal output) when used with pipe | and tee
  • Do not put config.yaml file as dependency for a stage cause we only need some keys from it, put it in params instead
  • Yes you can use explicit name as key for dvc.yaml multiline
outs:
 - ${train.model.output}:
  persist: true
  • Use persist for outputs you dont wanna get deleted instantly when dvc repro runs
  • Must use always_change flags for stages you want to rerun all the time (this wont trigger others unless the output changes)
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...