Skip to content

Deploying Models ​

Once a host is claimed, there are two ways to deploy a model:

  1. A single deployment on a single slice from the Host detail page.
  2. The same model on several hosts at once with Pools → Bulk deploy.

Run a model ​

The Run a model button (on the GPU Fleet page and on a machine's page) opens a four-step flow. It replaces the former Model Marketplace screen; the old Marketplace address now opens the Models tab, and the catalog is the first step of this flow.

  1. Model (search or catalog). Pick a model. The picker suggests models that fit a machine you choose under Suggest for (or the whole fleet), and lists Featured models, models Frequently used here and New and trending on Hugging Face; you can also search all of Hugging Face. Only models the fleet can run are listed: text generation runs on vLLM or MLX, embeddings on TEI and speech on Speaches. Each model shows a fit and a speed estimate (tokens per second and time to first token). The estimate is first-order (about ±35%), not a benchmark, and a measurement from the inference monitor on the same hardware replaces it.
  2. Where (machine or endpoint). Let the console Place automatically (it picks the online machine with the most room), choose A specific machine and its GPU or slice, or choose Several copies, one endpoint: pick the machines and how many copies each runs, and one OpenAI-compatible endpoint spreads requests over all of them.
  3. Check (memory and compatibility). Shows whether the model Fits, is Tight, Won't fit or is Incompatible with the chosen GPU, slice or Mac, the runtime that will be used, and warnings: a gated model needs a Hugging Face token stored in GPU Fleet Settings, and a Docker runtime on a Mac runs on the CPU (use MLX; see Mac and MLX). vLLM needs a GPU or MIG slice of its own.
  4. Confirm (access and summary). Choose how the model is reached: Add as a replica to an endpoint, New endpoint, or Its own Model Hub model. Set the deployment name, the project it is published to once healthy, and What it serves: chat, embedding, speech-to-text, text-to-speech or OCR. This decides the Model Hub category the model is published under; it is taken from the model, so change it only for a model the library does not know.

To plan several models on one machine before you run them, use the Planner.

The GPU Fleet screen ​

Operate → GPU Fleet has four tabs:

  • Overview: requests, errors, throughput and a load chart for the endpoints (windows: last hour, 24 hours, 7 days), the GPU memory capacity of every machine, health of machines and models, and recent failures.
  • Machines: every machine with its connection, memory, running models and status.
  • Models: the endpoints and the models that serve none.
  • Planner: see Capacity Planner.

A machine has its own page with the tabs Overview, Models, Connection, Hardware and Activity. Its menu has Refresh status, Restart agent, Reinstall agent, Open terminal, Reconfigure MIG, Plan capacity and Remove machine. The Connection tab is described in Networking and connection modes. If the agent is offline, a banner says so: models keep running on the machine, but the console cannot manage them until the agent reconnects.

Model catalog ​

The curated catalog is the first step of Run a model (it used to be a separate Model Marketplace screen). Each catalog entry shows:

  • Modality (LLM / Embedding / STT / TTS / OCR)
  • Vendor, license, HF repo id
  • Minimum and recommended VRAM
  • Compute capability requirement (8.0+ = A100, 7.5+ = T4 and above, …)
  • Supported platforms (NVIDIA / Apple Silicon / CPU)
  • Available runtimes (vLLM / TGI / Ollama / TEI / …)

Filters (modality + accelerator + search box) help you find the entry you want.

Single-host deploy ​

The steps below describe a deployment with its runtime and slice fields. The Run a model flow above reaches the same result (open the machine from GPU Fleet → Machines, then Run a model here):

  1. Press the Run a model here button on the machine's page.
  2. Pick a model from the model picker. Only models compatible with the host's accelerator are listed.
  3. Pick a Runtime (vLLM / TGI / Ollama / custom). The ones defined in the library appear automatically.
  4. Pick a Slice. Only slices that are free at that moment are listed.
  5. Deployment name — so you can recognize it easily later (for example qwen2.5-7b-test).
  6. Deploy → the console sends an apply-deployment command to the agent.

Flow:

console enqueue ──▶ agent long-poll receives ──▶ docker pull <image>
       │                                            │
       └── apply-deployment payload                  ▼
                                              docker run --gpus device=<slice>
                                                     │
                                                     ▼
                                              container healthy 200/health
                                                     │
                                                     ▼
                                       agent event: deployment-state-changed=healthy
                                                     │
                                                     ▼
                              console auto-register IInferenceServer (monitoring)

The first pull usually takes minutes (the vLLM image is ~10GB). The status follows the path pulling → starting → healthy. If you see unhealthy or failed → read the lastError field in the host detail.

Custom (if it is not in the library) ​

If the model you want is not in the library, create it by hand with POST /api/gpu-fleet/hosts/:hostId/deployments (a Custom option in the same modal is not in the UI yet; for now, fill in all the fields of the Deploy form in the host detail instead):

bash
curl -X POST https://console.example.com/api/gpu-fleet/hosts/<hostId>/deployments \
  -H "cookie: $CONSOLE_COOKIE" \
  -H "content-type: application/json" \
  -d '{
    "name": "my-finetune-v1",
    "sliceUuid": "<slice-uuid>",
    "runtime": "vllm",
    "image": "vllm/vllm-openai:v0.6.4",
    "modelName": "my-org/my-finetune",
    "args": ["--model", "my-org/my-finetune", "--gpu-memory-utilization", "0.9"],
    "env": { "HUGGING_FACE_HUB_TOKEN": "hf_..." },
    "port": 8000,
    "healthPath": "/health"
  }'

Health check ​

If vLLM/TGI/TEI GET /health returns 200, it is healthy. The agent probes on every tick (15s). If the container runs out of memory or exits → unhealthy → failed.

Common vLLM errors:

  • CUDA out of memory — --gpu-memory-utilization is too high, or the model does not fit in VRAM. Check the library's minVramGiB value.
  • Repository not found — the HF repo is gated; put HUGGING_FACE_HUB_TOKEN in the deployment env.
  • OSError: ...flash_attn... — the image tag and the model are incompatible; update the vLLM image.

To look at the log, enter the container with Open terminal → deployment-exec mode, or run docker logs cognipeer-llm-<deploymentId> on the host.

Automatic records (when Healthy) ​

The moment a deployment turns healthy, the console automatically:

  • Creates an IInferenceServer record. From then on, the Inference Monitoring page starts pulling metrics such as num_requests_running, gpu_cache_usage_percent and throughput.
  • Does not automatically create an IProvider/IModel record in the Model Hub if the deployment is not in a pool (intentional). For that record, create a pool and Publish it — see Pools.

Stop / delete ​

  • Stop — desired state = stopped. The container stops, the slice is freed, and the inference server record is deleted. The DB record stays, and so does the deployment row.
  • Delete — remove-deployment is sent to the agent, the slice is freed, and the DB row is deleted too.

To start it again after a stop, use Restart in the model's actions on the machine's page, or set desiredState=running via PATCH .../deployments/:id.

Next step ​

→ Pools & Load Balancing — put the same model on N hosts behind one endpoint.

Studio · Pulse · Console · Agent SDK and more — the Cognipeer documentation hub