Single-Card LLM Deployment on Chinese AI Accelerators: Evaluation Checklist and Risks
This article provides a practical checklist for evaluating whether a Chinese AI accelerator card can run a large language model on a single card. It explains how to estimate VRAM for weights, KV Cache, runtime overhead, and framework reservations; how to assess quantization hardware support and output quality; how to troubleshoot the software stack in a structured order; and which performance metrics and benchmark records to collect. It also identifies questions that still require measured validation and offers selection guidance for short-context, low-concurrency and long-context, high-concurrency workloads.
Single-Card LLM Deployment on Chinese AI Accelerators: Evaluation Checklist and Risks
1. Define the Evaluation Criteria First
Whether a Chinese AI accelerator card can run a model with tens of billions of parameters on a single card depends on three things: whether VRAM can hold the model weights and KV Cache, whether the quantization path is supported by the hardware and operators, and whether the inference framework can run stably on that card. If any one of these conditions is not met, deployment will be blocked. This article therefore does not give a one-size-fits-all conclusion of “sufficient” or “insufficient.” Instead, it provides a method you can use to check the situation yourself.
2. Estimate the VRAM Budget with a Formula
Single-card VRAM usage can be divided into four parts: model weights, KV Cache, runtime overhead, and framework reservation.
Model weights. Weight usage equals the number of parameters multiplied by the number of bytes per parameter. For example, for 27 billion parameters, FP16 requires about 54 GB (27 billion × 2 bytes), INT8 about 27 GB, and INT4 about 14 GB. Quantized models also need to store additional information such as scaling factors, so the actual file is usually slightly larger than the theoretical value. Use the real size of the model file as the reference.
KV Cache. KV Cache usage can be estimated as follows: 2 × layers × KV heads × head dimension × sequence length × concurrency × bytes per element. The following example uses an assumed configuration; replace it with the real configuration of your model: the model has 48 layers, 8 KV heads, and a head dimension of 128, and the KV Cache is stored in FP16. Under this configuration, each token uses about 192 KB. With a context length of 4096 and concurrency of 1, the KV Cache is about 0.8 GB, far smaller than the weights. If the context length is increased to 32768 and concurrency to 8, the KV Cache reaches about 51.5 GB, already exceeding the INT8 weights themselves. The remaining headroom on a 64 GB single card will be exhausted quickly.
Runtime overhead. The driver, inference engine workspace, and temporary operator buffers all consume VRAM. There is no universal value for this part; it must be measured in the target environment and recorded.
Framework reservation. Most inference engines pre-allocate part of VRAM as a memory pool. It is advisable to reserve at least 10% of total VRAM as headroom for the system, and make final adjustments based on stress test results.
Based on the calculation above, a 64 GB card has a good chance of holding an INT4 quantized model in short-context, low-concurrency scenarios. As context length grows or concurrency increases, KV Cache often becomes the limiting factor. This conclusion still needs to be verified under the target configuration.
3. Quantization: Hardware Support and Accuracy Loss
Quantization includes different combinations such as weight quantization and KV Cache quantization, and these can be selected separately. Evaluation needs to answer two questions.
First, does the hardware natively support low-precision computation? If the card can directly execute INT8 or INT4 tensor operations, quantization reduces both VRAM usage and computation. If the inference engine restores low-precision weights to FP16 before computation, VRAM is indeed saved, but computation overhead and bandwidth pressure may not be reduced. Check the vendor documentation and test the throughput of the same model at different precisions to determine which case applies.
Second, is the output quality after quantization acceptable? It is advisable to fix a set of evaluation samples, such as 50 to 200 questions relevant to your business, run them against both the FP16 baseline and the quantized version, and record the output consistency rate or differences in human scores. Looking at only one or two examples cannot reflect accuracy changes.
4. Software Stack Troubleshooting Order
Software stack issues usually appear in the following order, and troubleshooting should follow the same order.
Kernel and driver. Record the operating system distribution, kernel version, and driver version, and compare them with the vendor’s compatibility notes. When the device cannot initialize or falls off the bus, first check the driver errors in the kernel log (for example,
dmesg), then decide whether to roll back to a known stable driver version.Runtime and compiler. Record the CUDA-like runtime version, C++ compiler version, and Python version. The version combination among these three is often the direct cause of build failures.
Framework and operators. List all operators used during model inference and confirm one by one whether they have native implementations on the card. If an operator falls back to a generic implementation, record its share of execution time to judge its impact on overall performance.
Dependency locking. Use a virtual environment or container to pin all dependency versions, and write the working version combination into a configuration file. This makes the environment reproducible and allows quick rollback when problems occur.
5. Performance Metrics and Benchmark Records
When evaluating inference performance, it is advisable to use the following metrics consistently.
- Time to first token: the time from sending a request to outputting the first token, usually expressed as P50 and P95 percentiles.
- Generation speed: the number of tokens generated per second during the stable output phase.
- Throughput: the total number of tokens generated per unit time when multiple requests run concurrently.
- Peak VRAM, peak power, and peak temperature.
- Stability: continuous runtime duration, along with errors, card drops, and performance degradation during the period.
Warm up before testing, repeat each condition multiple times, and take the median. Record the complete conditions for every test so others can reproduce it. The following record template is recommended:
Model and quantization method:
Driver, runtime, and framework versions:
Input length and output length:
Concurrency:
Time to first token (P50 and P95):
Generation speed (tokens/s):
Peak VRAM:
Peak power and temperature:
Continuous runtime duration and error log:
6. Questions That Still Require Measured Validation
The following judgments should be treated as hypotheses until measured data is available.
- Whether a single card can run stably over the long term at the target context length.
- Whether the output quality after quantization meets business requirements.
- Under high concurrency, whether memory bandwidth becomes a bottleneck, and whether the inference engine has optimized memory access for the hardware’s memory hierarchy.
- Under long periods of high load, whether power limits and cooling can maintain stable generation speed.
7. Selection Recommendations
If the business is mainly short-context and low-concurrency, you can first use one card to establish a baseline according to the checklist in this article, then decide whether to scale out. If long context or higher concurrency is required, first calculate the budget clearly using the VRAM formula, then decide whether to add more cards or adopt another approach. Cloud resources can serve as an alternative path, but they cannot replace single-card testing. Before making a purchasing or migration decision, complete a full test using your own model and data, and base the decision on the test results.
