From 4e7148e312c3086964304bcf0b0ae7bbd08d01ba Mon Sep 17 00:00:00 2001 From: "ben.hansen" Date: Wed, 11 Nov 2026 21:49:01 +0000 Subject: [PATCH] Update AIR help links to current documentation paths --- acceptance/air/config-help/output.txt | 4 ++-- acceptance/air/help/output.txt | 2 +- acceptance/air/run-submit-deps/output.txt | 2 +- cmd/air/compute.go | 4 ++-- cmd/air/image.go | 2 +- cmd/air/runconfig.go | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/acceptance/air/config-help/output.txt b/acceptance/air/config-help/output.txt index 75dad55277c..8770b640d39 100644 --- a/acceptance/air/config-help/output.txt +++ b/acceptance/air/config-help/output.txt @@ -131,7 +131,7 @@ config.environment.version >>> [CLI] air run -h config.compute.accelerator_type config.compute.accelerator_type - Which accelerator to run on, e.g. GPU_1xA10. See https://docs.databricks.com/aws/en/machine-learning/ai-runtime/cli/yaml-config#reference for the current list of supported GPU types. Matched case-sensitively. + Which accelerator to run on, e.g. GPU_1xA10. See https://docs.databricks.com/aws/en/machine-learning/ai-runtime/connecting/cli/yaml-config#reference for the current list of supported GPU types. Matched case-sensitively. Supported accelerator types: GPU_1xH100 - 1 accelerator per node @@ -177,7 +177,7 @@ config.code_source.root_path >>> [CLI] air run -h compute.num_accelerators config.compute.num_accelerators - Total number of GPUs to allocate. Must be a positive multiple of the accelerator type's per-node GPU count. See https://docs.databricks.com/aws/en/machine-learning/ai-runtime/cli/yaml-config#reference for supported GPU types. + Total number of GPUs to allocate. Must be a positive multiple of the accelerator type's per-node GPU count. See https://docs.databricks.com/aws/en/machine-learning/ai-runtime/connecting/cli/yaml-config#reference for supported GPU types. Type: int Required: no diff --git a/acceptance/air/help/output.txt b/acceptance/air/help/output.txt index e4cac86c73d..03ea4697ee0 100644 --- a/acceptance/air/help/output.txt +++ b/acceptance/air/help/output.txt @@ -137,7 +137,7 @@ Use "databricks air images [command] --help" for more information about a comman >>> [CLI] air images push --help This CLI command is in Preview. For current feature status and requirements, see: - AWS: https://docs.databricks.com/aws/en/machine-learning/ai-runtime/cli/docker-images + AWS: https://docs.databricks.com/aws/en/machine-learning/ai-runtime/connecting/cli/docker-images Azure: https://learn.microsoft.com/azure/databricks/machine-learning/ai-runtime/connecting/cli/docker-images Push a container image to Databricks Artifact Registry under the specified Unity Catalog catalog and schema. diff --git a/acceptance/air/run-submit-deps/output.txt b/acceptance/air/run-submit-deps/output.txt index ffe886f9b6a..68f58e64c65 100644 --- a/acceptance/air/run-submit-deps/output.txt +++ b/acceptance/air/run-submit-deps/output.txt @@ -66,7 +66,7 @@ Stream logs after submission using: === a requirements.yaml file path is rejected; deps must be inline >>> [CLI] air run -f run-file.yaml -Error: invalid config run-file.yaml: environment.dependencies must be a list of packages or reference a requirements.txt (see https://docs.databricks.com/aws/en/machine-learning/ai-runtime/cli/yaml-config#reference). A direct file reference is not supported +Error: invalid config run-file.yaml: environment.dependencies must be a list of packages or reference a requirements.txt (see https://docs.databricks.com/aws/en/machine-learning/ai-runtime/connecting/cli/yaml-config#reference). A direct file reference is not supported Tip: use the --debug flag to see more details and a trace of this error: databricks --debug air run … diff --git a/cmd/air/compute.go b/cmd/air/compute.go index 03fa6d75a5e..ac1f5a12d8b 100644 --- a/cmd/air/compute.go +++ b/cmd/air/compute.go @@ -91,8 +91,8 @@ func gpusPerNode(g gpuType) (int, error) { // computeConfig is the `compute` block of the run YAML: which accelerators to // use and how many. type computeConfig struct { - NumAccelerators int `yaml:"num_accelerators" help:"Total number of GPUs to allocate. Must be a positive multiple of the accelerator type's per-node GPU count. See https://docs.databricks.com/aws/en/machine-learning/ai-runtime/cli/yaml-config#reference for supported GPU types."` - AcceleratorType string `yaml:"accelerator_type" help:"Which accelerator to run on, e.g. GPU_1xA10. See https://docs.databricks.com/aws/en/machine-learning/ai-runtime/cli/yaml-config#reference for the current list of supported GPU types. Matched case-sensitively."` + NumAccelerators int `yaml:"num_accelerators" help:"Total number of GPUs to allocate. Must be a positive multiple of the accelerator type's per-node GPU count. See https://docs.databricks.com/aws/en/machine-learning/ai-runtime/connecting/cli/yaml-config#reference for supported GPU types."` + AcceleratorType string `yaml:"accelerator_type" help:"Which accelerator to run on, e.g. GPU_1xA10. See https://docs.databricks.com/aws/en/machine-learning/ai-runtime/connecting/cli/yaml-config#reference for the current list of supported GPU types. Matched case-sensitively."` PoolID *string `yaml:"pool_id" help:"GPU pool to run on, by id. A GPU pool is a pre-provisioned accelerator reservation; contact your Databricks account team to provision one. Must be 1-255 characters. List available pools with 'air pools list'."` PriorityClass *string `yaml:"priority_class" help:"Scheduling priority within the pool: BEST_EFFORT (lowest, preemptable) or NORMAL. Requires pool_id."` } diff --git a/cmd/air/image.go b/cmd/air/image.go index 4ed01c15b78..ad33094b0c8 100644 --- a/cmd/air/image.go +++ b/cmd/air/image.go @@ -125,7 +125,7 @@ func newImagePushCommandWithDeps(deps imagePushDeps) *cobra.Command { Use: "push", Short: "*Preview* Push a container image to Databricks Artifact Registry", Long: `This CLI command is in Preview. For current feature status and requirements, see: - AWS: https://docs.databricks.com/aws/en/machine-learning/ai-runtime/cli/docker-images + AWS: https://docs.databricks.com/aws/en/machine-learning/ai-runtime/connecting/cli/docker-images Azure: https://learn.microsoft.com/azure/databricks/machine-learning/ai-runtime/connecting/cli/docker-images Push a container image to Databricks Artifact Registry under the specified Unity Catalog catalog and schema. diff --git a/cmd/air/runconfig.go b/cmd/air/runconfig.go index 4bd8cf00bae..89bf1097aa8 100644 --- a/cmd/air/runconfig.go +++ b/cmd/air/runconfig.go @@ -399,7 +399,7 @@ type dependencies struct { func (d *dependencies) UnmarshalYAML(node *yaml.Node) error { if node.Kind != yaml.SequenceNode { - return errors.New("environment.dependencies must be a list of packages or reference a requirements.txt (see https://docs.databricks.com/aws/en/machine-learning/ai-runtime/cli/yaml-config#reference). A direct file reference is not supported") + return errors.New("environment.dependencies must be a list of packages or reference a requirements.txt (see https://docs.databricks.com/aws/en/machine-learning/ai-runtime/connecting/cli/yaml-config#reference). A direct file reference is not supported") } d.set = true return node.Decode(&d.list)