diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..c6f902d --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,4 @@ +# Code owners for this repository. +# The Platform Team is the default reviewer for every pull request. +# See https://docs.github.com/articles/about-code-owners +* @CentML/platform-team diff --git a/docs/apps/dynamo.mdx b/docs/apps/dynamo.mdx index 10ef14f..ec70f77 100644 --- a/docs/apps/dynamo.mdx +++ b/docs/apps/dynamo.mdx @@ -29,7 +29,7 @@ Prepare the following: From **New Deployment**, choose **Dynamo**. The **Endpoint** step contains the required serving settings: -- **Endpoint Name** — a unique name containing lowercase letters, numbers, and hyphens. It must begin with a lowercase letter, end with a letter or number, and be no more than 20 characters. +- **Endpoint Name** — a unique name containing lowercase letters, numbers, and hyphens. It must begin with a lowercase letter, end with a letter or number, and be no more than 20 characters. The cluster can enforce a shorter limit, because the endpoint name is combined with your user ID and the cluster domain; if the name is too long, the request fails and the error states the maximum allowed length. - **Model** — the Hugging Face model identifier loaded by the vLLM workers. - **Served Model Name** — an optional alias clients can send in the OpenAI `model` field. If you leave it empty, use the Hugging Face model identifier. - **Hugging Face Token** — required for gated and private models. Select a token saved in [Secrets](/resources/vault). @@ -50,15 +50,15 @@ For Bearer token and mTLS setup, see [Securing Endpoints](/resources/private). D The **Advanced** step includes optional runtime and observability settings: -- **Dynamo Runtime Version** — the NVIDIA Dynamo vLLM runtime version the deployment runs. The list shows versions that NVIDIA CCluster has validated, and you can also type another published version tag. Leave it empty to use the platform default, which accounts for the target cluster and the KV transfer policy. Changing the version of an existing deployment restarts every component. When the deployment does not run the newest validated version, the **Detail** tab shows **Update Available**. +- **Dynamo Runtime Version** — the NVIDIA Dynamo vLLM runtime version the deployment runs. The list shows versions that NVIDIA CCluster has validated, and you can also type another published version tag. Leave it empty on a new deployment to use the platform default, which accounts for the target cluster and the KV transfer policy. When you edit an existing deployment and leave it empty, the deployment keeps its current version, unless you also change the KV transfer policy, in which case it takes the platform default. Changing the version of an existing deployment restarts every component. When the deployment does not run the newest validated version, the **Detail** tab shows **Update Available**. - **Enable logging** — enabled by default. Container output is collected and displayed in the deployment's **Logs** tab. - **Enable Model Caching** — stores model files in a node-local persistent cache. Restarts and replicas scheduled on the same node can reuse the files instead of downloading them again. - **Priority class** — an optional Kubernetes PriorityClass name for the deployment's pods. Leave it empty unless your cluster defines a PriorityClass you want these pods to use. -- **Extra Arguments (all worker pools)** — additional vLLM worker arguments, applied to every worker pool. During the beta, use this field only when directed by NVIDIA CCluster support; an unsupported value can prevent the worker from starting. Disaggregated deployments reject arguments that override the Prefill and Decode settings NVIDIA CCluster manages, such as `--kv-transfer-config`. +- **Extra Arguments (all worker pools)** — additional vLLM worker arguments, applied to every worker pool. During the beta, use this field only when directed by NVIDIA CCluster support; an unsupported value can prevent the worker from starting. Disaggregated deployments reject arguments that override the Prefill and Decode settings NVIDIA CCluster manages, such as `--kv-transfer-config`. Dynamo plane flags such as `--request-plane`, `--event-plane`, and `--response-plane` are also reserved and rejected. - **Environment Variables** — additional variables passed to the Frontend and every worker pool. Use shell-compatible names containing letters, numbers, and underscores, beginning with a letter or underscore. Names that NVIDIA CCluster manages, such as `DYN_HTTP_PORT` and `DYN_REQUEST_PLANE`, are rejected. -The Frontend uses KV-aware routing (`DYN_ROUTER_MODE=kv`) by default. To use another Dynamo router mode, such as `round-robin`, set `DYN_ROUTER_MODE` in **Environment Variables**. See [Using the Dynamo Frontend](https://docs.nvidia.com/dynamo/v1.5.1/kubernetes/kv-aware-routing/using-the-dynamo-frontend) for how KV-aware routing selects a worker. +The Frontend uses KV-aware routing (`DYN_ROUTER_MODE=kv`) by default. To use another Dynamo router mode, such as `round-robin`, set `DYN_ROUTER_MODE` in **Environment Variables**. See [Using the Dynamo Frontend](https://docs.nvidia.com/dynamo/v1.6.2/kubernetes/kv-aware-routing/using-the-dynamo-frontend) for how KV-aware routing selects a worker. @@ -178,7 +178,7 @@ On clusters that support GPU Direct RDMA, `"weight_transfer": {}` lets a startin The `endpoint_bearer_token` in this request protects the deployed inference endpoint. It is separate from the credential used to authenticate the request to the NVIDIA CCluster API. -`communications.kv_transfer.policy` selects the KV transfer policy: `allow_tcp`, the console default, or `require_gpu_direct_rdma`. If you omit `communications`, NVIDIA CCluster uses its default NIXL configuration, which also allows TCP. To pin a runtime version, set `runtime_version` to a Dynamo runtime version tag; otherwise NVIDIA CCluster selects the platform default for the cluster and policy. +`communications.kv_transfer.policy` selects the KV transfer policy: `allow_tcp`, the console default, or `require_gpu_direct_rdma`. If you omit `communications`, NVIDIA CCluster uses its default NIXL configuration, which also allows TCP. To pin a runtime version, set `runtime_version` to a Dynamo runtime version tag; otherwise NVIDIA CCluster selects the platform default for the cluster and policy. When you update an existing deployment and omit `runtime_version`, the deployment keeps its current version unless the update changes `communications` or `weight_transfer`; then NVIDIA CCluster selects the platform default. Prefill and Decode pools are fixed-size in the current release and do not autoscale independently. Do not set `concurrency` or `cooldown_period` on the pools, and do not include the aggregated top-level fields `hardware_instance_id`, `min_replicas`, `max_replicas`, `concurrency`, or `cooldown_period` in a disaggregated request. Use `worker_pools` from `GET /deployments/dynamo/{deployment_id}` as the source of truth for its hardware and replica configuration. @@ -295,7 +295,7 @@ The Frontend runs as three pods on separate nodes where possible, but it does no Review Dynamo's OpenAI-compatible HTTP and KServe gRPC interfaces. diff --git a/docs/apps/inference.mdx b/docs/apps/inference.mdx index 16e36cd..393c5e3 100644 --- a/docs/apps/inference.mdx +++ b/docs/apps/inference.mdx @@ -18,6 +18,14 @@ At a minimum, you need to specify: - **Image pull authentication → Registry credentials** — select **Saved registry credentials** for images that require authentication. For NVIDIA NGC (`nvcr.io`), first [save credentials](/resources/vault#example-nvidia-ngc-nvcrio) with username `$oauthtoken` and your NGC API key as the password. Leave the selection empty for images that allow anonymous pulls. Alternatively, choose **Existing cluster pull secret** for a secret managed by your administrator; API deployments can [reference it by name](/resources/custom-image#use-an-existing-image-pull-secret). - **Hugging Face Token** — select a Hugging Face token saved in [Secrets](/resources/vault) for gated or private models. Do not pass `HF_TOKEN` as a plain environment variable. + + General Inference Endpoint step with image, port, protocol, image pull authentication, Hugging Face token, and private endpoint fields + + + +Every deployment must be protected — there are no public endpoints. Secure your endpoint with a Bearer token (an `Authorization: Bearer ` header), an mTLS client certificate, or both. To enable mTLS, select the **Private Endpoint** option, which generates a TLS certificate you can download as a .pem file after the deployment is complete. For more details, see [Securing Endpoints](/resources/private). + + The create wizard has three steps: **Endpoint**, **Advanced**, and **Hardware**. Optional runtime settings are in **Advanced**, and **Scaling** settings are in **Hardware**. **Advanced** @@ -37,29 +45,6 @@ The create wizard has three steps: **Endpoint**, **Advanced**, and **Hardware**. General Inference Advanced step with logging, model caching, session affinity, priority class, request body limit, health check path, command, metrics, environment variable, and config file settings -**Scaling** - -CCluster scales replicas from in-flight request concurrency (**Max Concurrency**). Leave concurrency unset for no concurrency target (effectively unlimited). - -| Setting | Description | -| --- | --- | -| **Min Replicas** | Lower bound for replica count. `0` allows scale-to-zero when demand drops. | -| **Max Replicas** | Upper bound for replica count. Set equal to **Min Replicas** for a fixed size. | -| **Max Concurrency** | Target in-flight requests per replica. Optional; leave unset for no concurrency target. | -| **Cooldown Period (s)** | Scale-down stabilization time, from `0` to `3600`. | - - -Changing min or max replica counts on a running deployment scales in place and **does not create a new revision**. Spec changes such as image, command, or affinity do. See [Managing Deployments](/resources/managing-deployments). - - - - General Inference Endpoint step with image, port, protocol, image pull authentication, Hugging Face token, and private endpoint fields - - - -Every deployment must be protected — there are no public endpoints. Secure your endpoint with a Bearer token (an `Authorization: Bearer ` header), an mTLS client certificate, or both. To enable mTLS, select the **Private Endpoint** option, which generates a TLS certificate you can download as a .pem file after the deployment is complete. For more details, see [Securing Endpoints](/resources/private). - - For building your own custom container image and deploying on NVIDIA CCluster, please refer to this [resource](/resources/custom-image). @@ -120,7 +105,24 @@ By default, NVIDIA CCluster provides several managed clusters and GPU instances General Inference Hardware step with cluster, hardware cards, storage, and scaling settings -Select the regional cluster and hardware instance that best fits your need. To mount persistent storage, add a mount in the **Storage** section below the hardware cards; see [Managing Storage](/resources/storage). Then click Deploy. +Select the regional cluster and hardware instance that best fits your need. To mount persistent storage, add a mount in the **Storage** section below the hardware cards; see [Managing Storage](/resources/storage). + +**Scaling** + +CCluster scales replicas from in-flight request concurrency (**Max Concurrency**). Leave concurrency unset for no concurrency target (effectively unlimited). + +| Setting | Description | +| --- | --- | +| **Min Replicas** | Lower bound for replica count. `0` allows scale-to-zero when demand drops. | +| **Max Replicas** | Upper bound for replica count. Set equal to **Min Replicas** for a fixed size. | +| **Max Concurrency** | Target in-flight requests per replica. Optional; leave unset for no concurrency target. | +| **Cooldown Period (s)** | Scale-down stabilization time, from `0` to `3600`. | + + +Changing min or max replica counts on a running deployment scales in place and **does not create a new revision**. Spec changes such as image, command, or affinity do. See [Managing Deployments](/resources/managing-deployments). + + +Then click **Deploy**. You can integrate your own private cluster into CCluster through bring-your-own-infrastructure support. To get started, open a support request through your NVIDIA CCluster support channel. diff --git a/docs/apps/jobs.mdx b/docs/apps/jobs.mdx index 2dace5b..fbed8b6 100644 --- a/docs/apps/jobs.mdx +++ b/docs/apps/jobs.mdx @@ -9,7 +9,7 @@ Jobs let you run any containerized workload as a **batch task** that runs to com Under the **Job Information** section, provide the core details for your workload: -- **Job Name** — a unique name for the job. It must start with a lowercase letter, contain only lowercase letters, digits, or hyphens (`-`), end with an alphanumeric character, and be at most 20 characters. +- **Job Name** — a unique name for the job. It must start with a lowercase letter, contain only lowercase letters, digits, or hyphens (`-`), end with an alphanumeric character, and be at most 20 characters. The cluster can enforce a shorter limit; the error message states the maximum allowed length. - **Container Image URL** — the container image to run (e.g., `nvcr.io/nvidia/base/ubuntu`). - **Container Tag** — the image tag (e.g., `latest`). - **Image pull authentication → Registry credentials** — enter **Registry username** and **Password or access token** for images that require authentication. For NVIDIA NGC (`nvcr.io`), enter the literal username `$oauthtoken` and your NGC API key as the password. Leave both empty for images that allow anonymous pulls; if you provide one, you must provide the other. Alternatively, choose **Existing cluster pull secret** for a secret managed by your administrator. API deployments can [reference it using `image_pull_secret_name`](/resources/custom-image#use-an-existing-image-pull-secret).