Troubleshooting Mistral model deployment
A diagnostic reference matrix maps Mistral model deployment errors in Cloudera AI Gateway and Inference, including startup timeouts and multi-GPU hangs, to specific troubleshooting procedures.
Symptom navigation
The following table lists common symptoms, operational conditions, and cross-references to diagnostic resolutions:
| Symptom | Resolution section |
|---|---|
Endpoint fails with Timed out waiting for engine core processes to start ...
Waited 600s |
For mode information, see Startup times out |
Endpoint remains in creating status for approximately 30 minutes, then fails with
Engine core initialization failed |
For mode information, see Startup hangs on multi-GPU nodes |
| The Anywhere Cloud console does not permit selecting 2 GPUs | For mode information, see Console does not offer 2 GPUs |
| Endpoint pod appears unresponsive or stalled during initial startup | For mode information, see Slow initial startup |
Startup times out
Symptom: The model deployment fails during initialization, and the container log reports the following error:
TimeoutError: Timed out waiting for engine core processes to start ... Waited 600s
(configured by VLLM_ENGINE_READY_TIMEOUT_S)
Cause: By default, the model server terminates startup if engine core processes do not respond within 10 minutes (600 seconds). Large Mistral models require additional time to load weights into memory and complete engine preparation.
Resolution: Set the VLLM_ENGINE_READY_TIMEOUT_S environment variable
to 3600 (60 minutes):
- New deployment: When deploying a Model, in configure the
VLLM_ENGINE_READY_TIMEOUT_S=3600variable. For more information, see Deploying a model to Cloudera AI Gateway and Inference using the UI. - Existing deployment: Select Edit deployment, and add the
VLLM_ENGINE_READY_TIMEOUT_S=3600environment variable under Advanced configuration, and save changes. Saving creates a new deployment revision, which executes a full container startup. For more information, see Editing a Model Deployment configuration using UI. - API deployment: Add the environment variable to the
environmentVariablesarray in the deployment payload. For more information, see Deploying Mistral models by using the API.
Startup hangs on multi-GPU nodes
Symptom: The deployment exhibits the following behavior:
- The Endpoint remains in
creatingstatus. - After approximately 30 minutes, the deployment fails with
Engine core initialization failederror message. - The container logs contain
CustomAllreduceorSymmMemCommunicator ... invalid device ordinalerrors.
Cause: The model runtime attempts to utilize all allocated GPUs, requiring direct
peer-to-peer (P2P) communication across NVLink or PCIe interfaces. On virtual
machines or hosts configured with specific GPU passthrough topologies, certain GPU pairs lack
peer-to-peer connectivity.
Diagnostic check: On the GPU host node, or within a container allocated access to the GPUs, run the following diagnostic commands:
nvidia-smi topo -p2p r # OK = P2P supported between GPU pair, NS = not supported
nvidia-smi topo -m # Displays GPU interconnection matrix
Resolution: Request fewer GPUs so that all allocated units share verified P2P connectivity, or ask your cluster Administrator to enable P2P communication on the host. For example, on a node where only GPU 0 and GPU 1 support P2P, a 2-GPU allocation initializes successfully, whereas a 4-GPU allocation fails.
Console does not offer 2 GPUs
Symptom: When deploying Mistral Medium 3.5 on NVIDIA H200 GPU nodes, the console interface mandates selecting 4 GPUs and prevents choosing a lower count.
Cause: The Model deployment UI applies default profile constraints that restrict GPU selection for specific hardware configurations, although Mistral Medium 3.5 operates successfully on 2 NVIDIA H200 GPUs.
Resolution: Deploy the model by using the REST API and specify gpuCount:
2 in the resource definition. For more information, see Deploying Mistral models by using the API.
Slow initial startup
Large Mistral models can require 30 to 60 minutes to complete initial startup. The pod is progressing normally if the following lifecycle events occur:
- Downloading model weights: The pod displays an
initcontainer (storage-initializer) in running state while transferring weights from storage. - Starting the model engine: The primary serving pod runs while unready, and container logs confirm active weight loading and graph compilation.
Observe the following operational considerations during model startup:
- Model download duration depends directly on network bandwidth and underlying storage throughput.
- Every newly scheduled pod must download model weights again, because Mistral runtimes do not bind to persistent volumes. This includes pod restarts, revisions created through editing configurations, and scaling out from zero replicas.
- For production GPU deployments, set
minReplicasto1or higher so client requests do not encounter a full cold start.
Mistral runtime compared to NVIDIA NIM
The model catalog offers two similarly named Mistral Medium 3.5 offerings. The following table highlights the differences between the native Mistral runtime and the NVIDIA NIM container:
| Attribute | Mistral runtime | NVIDIA NIM |
|---|---|---|
| Display name | Mistral Medium 3.5 | Mistral Medium 3.5 128B |
| Registry model name | mistral/medium-3.5 |
mistralai/mistral-medium-3.5-128b |
| Import source | Mistral AI | NVIDIA GPU Cloud (NGC) |
| Environment variables | RECIPE_EXTRA_ARGS, vLLM variables such as
VLLM_ENGINE_READY_TIMEOUT_S |
NIM_* platform variables |
The operational limitations described in this document apply exclusively to the native Mistral
runtime. NVIDIA NIM deployments manage engine parameters through dedicated
NIM_* configuration variables.
Deploying Mistral models by using the API
While the console interface supports standard deployments, use the REST API when configuring custom GPU counts or automated deployment pipelines.
-
Import the model into Cloudera AI Registry.
Import model weights by using the Mistral import script (
scripts/mistral_import.pyin the Cloudera AI Registry repository, requiring a valid Mistral license), or register pre-staged weights. The model name in Cloudera AI Registry must be set tomistral/medium-3.5:POST https://<registry-host>/api/v3/models { "name": "mistral/medium-3.5", "visibility": "private", "create_model_version_request_payload": { "metadata": { "model_repo_type": "MISTRAL" }, "download_model_repo_request": { "source": "REMOTE", "repo_id": "<repo_id>", "remote_object_storage_path": "<remote_object_storage_location>" } } } -
Query available GPU hardware types.
Retrieve the exact
gpuTypeidentifier allocated to your cluster worker nodes (for example,NVIDIA-H200-NVL):curl -sk -H "Authorization: Bearer <TOKEN>" "https://<DOMAIN>/api/v1/cluster/resources" -
Create the model deployment endpoint.
Submit a deployment creation request. Deployment names must consist of lowercase letters, digits, and hyphens up to 36 characters:
curl -sk -X POST "https://<DOMAIN>/api/v1/deployments" \ -H "Authorization: Bearer <TOKEN>" \ -H "Content-Type: application/json" \ -d '{ "namespace": "serving-default", "name": "mistral-medium-35", "spec": { "source": { "registrySource": { "modelId": "<model-id>", "version": 1 } }, "resources": { "gpuCount": 2, "gpuType": "NVIDIA-H200-NVL" }, "autoscaling": { "minReplicas": 1 }, "environmentVariables": [ { "name": "VLLM_ENGINE_READY_TIMEOUT_S", "value": "3600" } ] } }' -
Update environment variables on existing endpoints.
Updating environment variables replaces the entire variable list. Ensure that your payload retains all previously configured variables:
curl -sk -X PATCH "https://<DOMAIN>/api/v1/deployments/k8s:serving-default:mistral-medium-35" \ -H "Authorization: Bearer <TOKEN>" \ -H "Content-Type: application/json" \ -d '{ "updateMask": "spec.environmentVariables", "spec": { "environmentVariables": [ { "name": "VLLM_ENGINE_READY_TIMEOUT_S", "value": "3600" } ] } }'
