Skip to content
Back to skills

Deployment Topologies

ASecurity

"Plan LightLLM launch topologies, process sequencing, ports, and

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
devopsnodebackend

Works with

  • cli

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill deployment-topologies --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Deployment Topologies?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Deployment Topologies
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-deployment-topologies/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-deployment-topologies)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: deployment-topologies
description: "Plan LightLLM launch topologies, process sequencing, ports, and
  backend-aware deployment settings."
metadata:
  disco-role: operating
disable-model-invocation: true
license: Apache 2.0
---

# deployment-topologies

Use this sub-skill when the user needs to launch LightLLM, split it into
prefill/decode or master/config processes, choose ports or GPU assignments, or
understand how the cache and transport layers affect startup.

## Covers

- Single-node and multi-node LightLLM launch topologies.
- `normal`, `prefill`, `decode`, `pd_master`, `config_server`, and
  `visual_only` process roles.
- Port planning, GPU planning, and process start order.
- Multimodal workers, cache settings, and PD-disaggregation coordination.
- MPS, UCX/NIXL/RDMA caveats, and local proxy cleanup for topology scripts.

## Does not cover

- HTTP payload details or endpoint-level request syntax.
- Model-family support decisions or quantization choice.
- Benchmark methodology beyond startup smoke and launch validation.

## Read first

- [references/deployment-matrix.md](references/deployment-matrix.md)
- [references/troubleshooting.md](references/troubleshooting.md)
- [../../references/cli-reference.md](../../references/cli-reference.md)
- [../../references/troubleshooting.md](../../references/troubleshooting.md)

## Use this route when the user says

- “how do I run pd_master / prefill / decode?”
- “how should I split GPUs across processes?”
- “what ports and environment variables do I need?”
- “why does the PD topology fail to register?”
- “how do I reason about UCX, NIXL, or MPS for this launch?”

## Minimal working sequence

1. Identify the target topology and the number of GPUs or nodes available.
2. Choose the correct run mode and port layout.
3. Verify proxies, host variables, and cache settings before starting processes.
4. Start the master or scheduler role first when the topology requires it.
5. Launch worker roles only after the coordinating process is ready.
6. Use a tiny request smoke after the topology is up to confirm the route is
   actually serving.

## Decision points

- Use `normal` when a single process is enough.
- Use PD disaggregation only when the workload or model needs it.
- Use `config_server` only when the PD deployment path requires a separate
  registry / configuration service.
- Use `visual_only` for multimodal visual worker cases, not as a general
  serving substitute.
- Do not treat a green health probe as proof that every PD participant has
  joined.

## Related helpers

- `../../scripts/inspect_start_args.py` prints the current run-mode and topology
  related defaults.
- `../../scripts/inspect_cuda.py` confirms the target host can see the expected
  GPU devices.
- `../../scripts/request_smoke.py` can verify a local server once the topology
  is running.

## Troubleshooting highlights

- Port collisions and stale background processes are common during repeated
  launch attempts.
- Proxy settings can break localhost or PD-master traffic.
- The topology may need an explicit host/IP choice; do not guess.
- Missing `nvidia_peermem`, UCX, or transport support can make an otherwise
  correct topology fail at startup.
- Shared memory and cache-size issues often show up only after the processes
  begin talking to each other.

## Review standard

This sub-skill is complete when a future agent can:

- choose a launch topology,
- assign the right processes and ports,
- explain the start order,
- and diagnose the common startup and transport failures without reopening the
  source repository.

Files in this skill

  • SKILL.md3.5 KB
  • references/deployment-matrix.md3.1 KB
  • references/troubleshooting.md2.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.