← 返回命令列表

Linux command

dvc-freeze 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Freeze a stage

dvc freeze [stage_name]

Freeze multiple stages

dvc freeze [stage1] [stage2]

Freeze with verbose output

dvc freeze -v [stage_name]

说明

dvc freeze freezes pipeline stages so they are considered unchanged by dvc status and not re-executed during dvc repro. Frozen stages will not regenerate outputs even if their dependencies have changed, even with --force. Freezing is useful to avoid re-running expensive upstream stages while iterating on downstream stages in a pipeline.

参数

-h, --help
Show help message and exit.
-q, --quiet
Do not write anything to standard output.
-v, --verbose
Display detailed tracing information.

FAQ

What is the dvc-freeze command used for?

dvc freeze freezes pipeline stages so they are considered unchanged by dvc status and not re-executed during dvc repro. Frozen stages will not regenerate outputs even if their dependencies have changed, even with --force. Freezing is useful to avoid re-running expensive upstream stages while iterating on downstream stages in a pipeline.

How do I run a basic dvc-freeze example?

Run `dvc freeze [stage_name]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -h, --help do in dvc-freeze?

Show help message and exit.