vLLM on Huawei Ascend NPUs

Running vLLM on Atlas 800I A2 and A3 systems with vllm-ascend requires pinned CANN, PyTorch and TorchNPU versions, and the Atlas 300I Duo remains experimental. This page covers the decisions, setup sequence and limits to confirm before you commit.

On this page

How vLLM on Ascend NPUs fits an Atlas-based inference plan

If you have bought or are buying Atlas systems and want vLLM as the serving engine, the first thing to know is that vLLM is an Apache-2.0 licensed inference engine that runs on several accelerator families, and Ascend support is not in the core project. It comes through vllm-ascend, a hardware plugin maintained in its own repository outside the main vLLM repository. That split matters for planning: the vLLM engine, its OpenAI-compatible server and the plugin each move on their own cadence, so the plugin version has to be chosen against the vLLM release you intend to run. Teams usually take this path when their accelerator budget is already committed to Huawei hardware, when data residency or procurement rules keep them off NVIDIA or AMD capacity, or when they want one serving interface across mixed hardware.

The supported systems in the plugin's repository are the Atlas 800I A2 and A2 Training series and the Atlas 800I A3 and A3 Training series, with the Atlas 300I Duo listed as experimental. The starting version pins are CANN 9.1.0, PyTorch 2.10.0 and TorchNPU 2.10.0.post4. Treat these as the baseline to confirm, not a permanent recipe: check them against the plugin's current README before you order a build image, and ask your Huawei or integration partner which driver and firmware levels match CANN 9.1.0 on your exact server model. Record the full set of pins in your change records so that a later vLLM upgrade does not silently move the toolchain underneath it.

Which Atlas system and track fit the workload

The Atlas 800I A2 and A2 Training series are named in the vllm-ascend repository as supported hardware, so this is the reference target for most planning work on Ascend. The series covers both the inference-oriented 800I A2 systems and the A2 Training systems, which share the same listed software pins. Choosing this family means your CANN, PyTorch and TorchNPU versions will be the ones the project validates against, which narrows your options but also narrows your test matrix.

  • Support status: Listed as supported in the vllm-ascend repository, which is the first thing to confirm against your order.
  • Software pins: The repository lists CANN 9.1.0, PyTorch 2.10.0 and TorchNPU 2.10.0.post4 as required versions.
  • Inference versus training: Confirm which exact model variant your vendor is supplying, since the listing covers both the inference and training naming.
  • Capacity planning: Accelerator count per node and interconnect layout determine the parallelism you can use, so get them written into the quote.
  • Driver and firmware: Ask the hardware vendor which driver and firmware baseline matches the CANN release you pin.

Before committing hardware, confirm the exact model name, driver baseline and CANN pairing in the vllm-ascend repository for the release you intend to run.

Version pins and configuration options compared

This table compares the version pins for the Ascend stack, the vLLM release track, the Atlas series and the serving flags that shape a deployment. Read each row as a decision: the pins are fixed by the vllm-ascend release you choose, while the flags are set per model and per server. The main takeaway is that CANN, PyTorch and TorchNPU must match each other and the plugin, so confirm the pinned set before choosing a vLLM release line.

ItemWhat it is or pinsWhen it fitsWhat must match or confirm
CANN 9.1.0Huawei Compute Architecture for Neural Networks toolkit version named by vllm-ascendEvery Atlas host running the plugin in the supported stackDriver, firmware and CANN must be installed as one set; confirm the driver version with the Ascend documentation for your hardware
PyTorch 2.10.0Base framework version the plugin is built againstRequired for the pinned plugin release; do not substitute another minor versionMust match the TorchNPU build and the Python version in the image or virtual environment
TorchNPU 2.10.0.post4PyTorch adapter for Ascend NPUsRequired pairing with PyTorch 2.10.0 in the pinned stackMust be built for the same PyTorch version; a mismatch typically fails at import or at first kernel launch
Stable vLLM release lineTagged vLLM release paired with a matching vllm-ascend releaseProduction services where change control favors tested pairingsCheck the vllm-ascend compatibility notes before upgrading the vLLM core; confirm the pair in the plugin repository
Release candidate trackPre-release pairing that may include newer vLLM or plugin changesEvaluation clusters and early testing of new model supportExpect changing pins and fewer guarantees; plan a retest before promoting anything to production
Atlas 800I A2 and A2 TrainingSupported Ascend 800-series system family in the plugin documentationMainstream serving of models that fit the stack's supported layoutsConfirm the exact NPU count per node and the interconnect layout with the system vendor
Atlas 800I A3 and A3 TrainingSupported Ascend 800-series system family in the plugin documentationLarger models or higher concurrency where the stack's support is confirmed for the modelConfirm the model and parallel layout in the plugin's supported model list before sizing
Atlas 300I DuoListed as experimental in the plugin documentationProof-of-concept or non-critical workloads onlyTreat as unsupported for production; agree the fallback and the retest plan in writing
--tensor-parallel-sizeNumber of NPUs a single model shards across within a nodeModels too large for one NPU's memory; set to the NPU count the layout requiresMust divide the model's attention heads and match the NPUs visible to the process; confirm with the plugin's examples
--api-keyBearer token check on /v1 and related inference routesAny server reachable beyond a single trusted hostDoes not protect /metrics, /health or control routes; pair it with a reverse proxy that allowlists user endpoints

Setup sequence from host driver to a verified API

This sequence takes a prepared Atlas host from a confirmed hardware and OS baseline to a running vLLM server on Ascend, with each layer checked before the next one is added. The result is an OpenAI-compatible endpoint and a metrics endpoint that the team has tested, not just started.

  1. Confirm Atlas model and host OS

    The platform or infrastructure team confirms which Atlas system the host is (800I A2, A2 Training, 800I A3, A3 Training, or the experimental Atlas 300I Duo) and records the host operating system and the NPU devices the kernel reports. Compare the model against the support list in the vllm-ascend repository before ordering any software. Done means a short host record exists with the Atlas model, OS release, and device count, and the team has agreed that the model is on the supported list or is explicitly accepted as experimental.

  2. Install the pinned CANN release

    The platform team installs CANN 9.1.0 on the host, following the vendor installation guide for the chosen OS, and sets the environment so the Ascend tools load in a fresh shell. Check the installed version and confirm that the NPU management tool lists every expected device with a healthy status. Do not mix CANN versions across nodes. Done means the version string matches the pin and every device reports healthy in a clean login session.

  3. Install PyTorch and TorchNPU pins

    In a dedicated Python environment, the engineer installs PyTorch 2.10.0 and TorchNPU 2.10.0.post4, the versions the vllm-ascend repository requires alongside CANN 9.1.0. Import torch and torch_npu, then run a small tensor operation on an NPU device to confirm the stack can allocate memory and compute. Done means the import succeeds and the test tensor completes on the device, which catches driver and runtime mismatches before vLLM is involved.

  4. Install vllm-ascend from the matching track

    The engineer installs the vLLM core and the vllm-ascend plugin from the same release track, using the version pairing documented in the vllm-ascend repository for the CANN, PyTorch and TorchNPU pins above. Decide up front whether the environment follows the stable track or a release candidate, and record that choice, because the plugin and core versions must move together. Done means pip reports both packages installed and a Python import of vLLM completes without errors on the host.

  5. Start the server with vllm serve

    The engineer starts the server with vllm serve on a single model that is on the compatibility list for this Atlas system, binding it to an internal interface and setting the API key and model path explicitly. Watch the startup log for the NPU device assignment, model weight loading and the final ready message. Done means the process stays up after the model loads and the log shows the device, not a CPU fallback.

  6. Verify OpenAI-compatible endpoints

    From a host on the allowed network, the engineer sends a request to /v1/models, a completion to /v1/completions and a chat request to /v1/chat/completions, using the same client library the application will use. If the model lacks a chat template, supply one with the chat template option before testing chat. Done means each request returns a well-formed response with the expected model name, and an embeddings or transcription request is tested only if that feature is in scope for the model.

  7. Check metrics and close the setup

    The operations engineer reads the Prometheus-format output at /metrics and confirms that request counters and token throughput change after the test requests from the previous step. Record the verified versions, the Atlas model, the track and the start command in the host record, and confirm that /metrics and the other non-/v1 paths are not exposed beyond the internal network. Done means the metrics move with traffic, the record is complete, and the exposure check has an owner.

How the Ascend serving stack layers fit together

A request starts at the client and reaches a reverse proxy that allowlists only the endpoints meant for users. The proxy forwards to the vLLM server, which loads the vllm-ascend plugin. That plugin relies on PyTorch with TorchNPU, which in turn runs on CANN and the Atlas NPUs underneath. The dashed boundary marks the isolated inference network, where node-to-node traffic is unencrypted and unauthenticated by default, so check that nothing outside it can reach the vLLM server or its /metrics endpoint directly.

Layers from client request down to Atlas NPU hardware, with the isolated network boundary.

Why the CANN, PyTorch and TorchNPU pins must move together

The three pins form one tested set. vllm-ascend is built against CANN 9.1.0, PyTorch 2.10.0 and TorchNPU 2.10.0.post4, and those are the versions the plugin's repository names as its requirements. Treat the three as a single unit: a change to CANN, PyTorch or TorchNPU alone can break the plugin even when every component still installs and imports cleanly. The failure often appears later, as an operator error, a kernel that no longer loads or a throughput drop, which makes it hard to trace back to the version change that caused it. Confirm the current pairing against the vllm-ascend repository before you accept any version bump, since the plugin's requirements change as the project moves.

Record the pinned set as an artifact, not as tribal knowledge. For each Atlas node class, keep a versioned file that lists the CANN toolkit and driver build, the PyTorch and TorchNPU wheels with their hashes, the vllm-ascend commit or release, the vLLM version it targets, the container image digest if you use one and the firmware level on the host. Store it in the same repository as your deployment manifests, so every running node can be matched to one entry. Ask your implementation partner and your platform team to agree who owns this file and who signs off a change to it.

Plan change windows around the vLLM release cadence. The vLLM project ships new minor releases about every two weeks, so a policy of upgrading whenever a new release appears will create a continuous stream of changes that nobody can verify. Instead, set a fixed quarterly or monthly window for moving the pinned set, and in each window run the same verification: a model load on every hardware class, a fixed prompt set compared against the previous output, the OpenAI-compatible endpoints your applications call, and the /metrics output your dashboards read. After any vLLM minor release, re-run that suite on a staging node before the release reaches production, even when you have not changed the Ascend stack, because the engine's own changes can interact with an unchanged toolchain.

Securing an Ascend vLLM endpoint and its node traffic

The vLLM API key protects only part of the server, and multi-node Ascend runs add node-to-node traffic that vLLM does not encrypt or authorize by default. Each card below is a control to design before the endpoint leaves the cluster network.

Know what the API key covers

The --api-key option protects the /v1, /v2, /inference and /cohere endpoints only. It does not protect /invocations, /pause, /resume, /abort_requests, /metrics or /health. Before exposing an Ascend-hosted server, list every route the server answers and decide which of them a client should ever reach. Confirm the endpoint list against the vllm-ascend release you deploy, since the server routes come from vLLM.

vLLM security docs

Put a reverse proxy allowlist in front

vLLM's security guidance recommends a reverse proxy that forwards only the endpoints meant for users. On an Atlas server, this proxy is where you enforce TLS termination, authentication for the application layer and rate limits. Allow the OpenAI-compatible paths your applications call, and deny everything else by default, including the control and metrics paths. Test the allowlist with requests to each denied path from outside the trusted network.

Isolate node-to-node traffic

The vLLM security docs state that communication between nodes in a multi-node deployment is insecure by default, with no authorization or encryption. For a multi-node Ascend cluster, place the nodes on an isolated network segment that only the cluster uses, and keep the API port off that segment. Confirm the inter-node ports your chosen backend, Ray or the multiprocessing backend, needs, and restrict them to the node addresses.

Review the multi-node backend choice

vLLM uses Ray or its own multiprocessing backend for multi-node runs. Each one opens different internal channels, and both depend on the isolation of the cluster network. Record which backend your Ascend deployment uses, the addresses and ports it binds, and who can reach them. Ask the platform team to confirm how the backend behaves in the vllm-ascend release you pin, since device plugin behavior can differ from the standard CUDA path.

Restrict the metrics endpoint

vLLM exposes Prometheus-format metrics at /metrics, covering request counts, token throughput, latency histograms and KV cache use. The API key does not protect this path. Scrape it only from the monitoring network, block it at the reverse proxy for external clients, and review which labels and histogram buckets your dashboards expose before sharing them beyond the operations team.

Test the exposure before go-live

Verify the controls with requests from the same network position your users and attackers would occupy. Send calls to the protected and unprotected paths with and without the key, confirm the proxy returns denials for every path not on the allowlist, and check that the node ports are unreachable from the client network. Record the results so the security review can match each control to evidence.

Questions buyers ask about vLLM on Ascend

What does it cost to run vLLM on Ascend NPUs?

vLLM itself has no paid edition, so the cost comes from four places: the Atlas 800I A2 or A3 hardware (or cloud capacity that provides it), the data center or network around it, the implementation work, and the people who operate the stack afterward. Hardware and infrastructure are usually recurring or capital costs that your finance team already tracks, while implementation is one-time. Ask any partner for a quote built from a written scope that lists the Atlas systems in use, the number of environments, the model list and the operating hours you expect. Confirm the pricing of Ascend hardware and support with your Huawei channel, since those figures are not part of this page.

How long does it take to get a first vLLM endpoint on Ascend?

The time to a first endpoint depends mostly on whether the target systems are already racked, powered and reachable, and on whether the version pins can be matched to your images without rework. The pinned stack is CANN 9.1.0, PyTorch 2.10.0 and TorchNPU 2.10.0.post4 for vllm-ascend, so the first milestone is confirming those versions install cleanly on your operating system and driver level. Next comes a model load and a request through the OpenAI-compatible server. Ask for a written timeline that splits the work into environment checks, the first model, and API integration, and confirm each milestone with the team that owns the hardware.

What does our team need to provide before the work starts?

Most delays come from missing inputs rather than from the software itself. You will need access to the Atlas systems and their management network, a decision on the operating system and container approach, storage for model weights, and a named owner for the hardware and the network segment. You should also list the models you intend to serve, the expected request pattern, and the clients that will call the API, since those determine the endpoints you expose. Security needs its own input: who may reach the endpoints, how keys are issued, and where logs and metrics go. Ask any partner to confirm this list in writing before the scope is signed.

Can our in-house platform team deploy vLLM on Ascend without a partner?

A team with strong Linux, container and GPU-era operations skills can often run the deployment, provided it has time to work through the Ascend-specific pieces. The main differences from NVIDIA setups are the CANN and TorchNPU layers, the version pinning between them, and the experimental status of the Atlas 300I Duo. Your team should be ready to read the vllm-ascend repository closely, test each pin on a staging system, and keep a record of what worked. Consider a partner when you need the work done on a fixed date, when the stack must pass a formal review, or when no one on staff will own it after go-live.

How are vLLM and vllm-ascend upgrades handled?

Upgrades have two tracks that move at different speeds. vLLM ships new minor releases about every two weeks, for example v0.31.0 on October 5, 2026, while vllm-ascend ties its supported versions to CANN, PyTorch and TorchNPU. A release on either side can change the pins you need, so the upgrade plan should cover both the engine and the Ascend layers as one change. Decide whether you follow the stable track or a release candidate, test each candidate against your models and client calls, and keep a rollback image ready. Ask for an upgrade procedure in the scope, including how many versions behind you will allow yourself to fall.

Is the Atlas 300I Duo ready for production vLLM serving?

The vllm-ascend repository lists the Atlas 300I Duo as experimental, so treat it as a pilot target rather than a production commitment. Before you plan around it, confirm the supported models, the features you need, and the version combination with the plugin maintainers. A pilot is useful for learning how your models behave on that hardware, but the production-grade path is the Atlas 800I A2 or A3 line. Build the business case so that the Duo is an option to evaluate, not the foundation of the service.

Does a DeployOpen engagement include ongoing support after go-live?

Most DeployOpen engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Ongoing support, upgrades and continuous testing are available as retainers, so you can decide separately whether to keep a partner on the stack after the first release. Post-launch work typically covers version changes across vLLM and the Ascend layers, endpoint and access reviews, and monitoring through the metrics endpoint. Ask for the retainer scope in writing, including who responds to incidents and how upgrade testing is performed.

What a fixed-scope Ascend implementation covers

A fixed-scope Ascend engagement starts with hardware confirmation: which Atlas 800I A2 or A3 system (or Atlas 300I Duo, which is experimental) the deployment runs on, how many cards and nodes are present, and whether the host image, drivers and firmware match what the vllm-ascend documentation expects for that model. The written scope then fixes the version pin set: the CANN, PyTorch and TorchNPU versions, with TorchNPU at the version the plugin requires, plus the vLLM release and the vllm-ascend release that pairs with it. Each pin is recorded with its source so that a later change is a planned event rather than an accident. Before work starts, confirm with the vendor and the plugin repository whether the pins named in the current documentation still apply to your hardware.

The middle of the scope covers the plugin install and the serving configuration. DeployOpen installs the pinned stack in your environment, sets the vllm serve options for the model and parallelism you agreed, and configures the OpenAI-compatible endpoints your applications call. Security controls are part of the same scope: an API key set for the /v1 endpoints, a reverse proxy that allowlists only the paths users need, isolated networking between nodes, and Prometheus scraping of /metrics with access limited to your monitoring stack. Ask the proposal to state which of these items are included, which depend on your network team, and which need your own identity or certificate infrastructure.

Verification and handover close the engagement. Verification runs the model load, chat and completion requests, a load test at the concurrency you specify, and checks that restarts and failed nodes behave as documented. Handover delivers the pin record, the configuration files, runbooks and the list of open items. Ongoing support is optional: a retainer can cover planned upgrades when vLLM and vllm-ascend move to new releases, retesting after each pin change, and monitoring of release notes. Ask for the retainer terms in writing, because the scope of an upgrade depends on how far the pins have moved.

How DeployOpen delivers vLLM on Ascend

DeployOpen plans, builds, tests and supports self-hosted vLLM on Huawei Ascend NPUs inside your own infrastructure, with the CANN, PyTorch and TorchNPU pins, the track choice and the model checks agreed in writing before work starts. Engagements are fixed-scope, so the deliverables and the Ascend hardware each one covers are settled before the build begins.

How we scope

  • Confirm which Atlas 800I A2 or A3 systems, or any Atlas 300I Duo hardware, the deployment will use.
  • Record the CANN 9.1.0, PyTorch 2.10.0 and TorchNPU 2.10.0.post4 pins and the reasons for them.
  • Agree in writing whether the stable or release candidate track is in scope and who approves a track change.

How we build

  • Install the Ascend driver, CANN and vllm-ascend stack in your environment, following the version pairing in the plugin repository.
  • Validate that your target models load, serve chat and completions requests and meet the agreed throughput checks.
  • Configure the vllm serve endpoints behind a reverse proxy that exposes only the paths your users need.

How we hand over

  • Deliver a pinned build record listing every driver, toolkit, framework and plugin version, plus the model list tested.
  • Document the runbook for upgrades, rollback, Prometheus metrics at /metrics and multi-node network isolation.
  • Walk your platform and security teams through the configuration and the evidence they will need for review.

How we support

  • Offer ongoing support, version review and upgrade work as a retainer once the deployment is live.
  • Retest the endpoints and model set after each planned vLLM release or vllm-ascend version change.
  • Ask for the scope of any retainer, response expectations and release tracking in the written quote.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.