From dc168075257022ec9c9c4467378045539738469d Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Perez Date: Fri, 26 Aug 2022 04:45:56 -0400 Subject: [PATCH] guide: Pipe edits --- content/docs/command-reference/move.md | 14 +++++++++----- .../docs/user-guide/basic-concepts/dependency.md | 2 +- .../data-pipelines/defining-pipelines.md | 3 ++- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/content/docs/command-reference/move.md b/content/docs/command-reference/move.md index 045df8dc23..2fe4e00d46 100644 --- a/content/docs/command-reference/move.md +++ b/content/docs/command-reference/move.md @@ -87,9 +87,15 @@ model file: $ mv keras.h5 model.h5 ``` -> Note that, often the output of a stage is a dependency in another stage, -> creating a [dependency graph]. In this case, you may want to also update the -> `path` in the `deps` field of `dvc.yaml`. + + +Often the output of a stage is a dependency in another stage, creating a +[dependency graph]. In this case, you may want to also update the `path` in the +`deps` field of `dvc.yaml`. + +[dependency graph]: /doc/user-guide/data-pipelines/defining-pipelines + + Finally, we run `dvc commit` with the `-f` option to force save the changes to cache: @@ -98,8 +104,6 @@ Finally, we run `dvc commit` with the `-f` option to force save the changes to $ dvc commit -f ``` -[dependency graph]: /doc/user-guide/data-pipelines/defining-pipelines - ## Options - `-h`, `--help` - prints the usage/help message, and exit. diff --git a/content/docs/user-guide/basic-concepts/dependency.md b/content/docs/user-guide/basic-concepts/dependency.md index 10b860b18b..0d568a103f 100644 --- a/content/docs/user-guide/basic-concepts/dependency.md +++ b/content/docs/user-guide/basic-concepts/dependency.md @@ -5,5 +5,5 @@ tooltip: >- A file or directory (possibly tracked by DVC) recorded in the `deps` section of a stage (in `dvc.yaml`) or `.dvc` file file. Stages are invalidated (considered outdated) when any of their dependencies change. See `dvc stage - add`, `dvc repro`, among others. See also `dvc params`. + add`, `dvc params`, `dvc repro`, among others. --- diff --git a/content/docs/user-guide/data-pipelines/defining-pipelines.md b/content/docs/user-guide/data-pipelines/defining-pipelines.md index a39028ba43..d2cbbbbbe2 100644 --- a/content/docs/user-guide/data-pipelines/defining-pipelines.md +++ b/content/docs/user-guide/data-pipelines/defining-pipelines.md @@ -26,6 +26,8 @@ We call this file-based definition _codification_ (YAML format in our case). It has the added benefit of allowing you to develop pipelines on standard Git workflows ([GitOps]). +[gitops]: /doc/use-cases/versioning-data-and-model-files + Stages usually take some data and run some code, producing an output (e.g. an ML @@ -33,7 +35,6 @@ model). The pipeline is formed by making them interdependent, meaning that the output of a stage becomes the input of another, and so on. Technically, this is called a _dependency graph_ (DAG). -[gitops]: /doc/use-cases/versioning-data-and-model-files [data management]: /doc/start/data-management [metrics]: /doc/command-reference/metrics [plots]: /doc/user-guide/visualizing-plots