Deploying a 27B LLM on a Single China-Made GPGPU Card: A Hands-On Test Record

    This article records an attempt to deploy 27B dense and 26B sparse MoE models on a single 64GB China-made GPGPU card. It covers environment setup, memory estimation, model conversion and quantization, inference framework selection, measured throughput and memory usage, stability, and ecosystem gaps. The results show that the card can run these models, but software ecosystem maturity and operator coverage remain the main constraints.

    Deploying a 27B LLM on a Single China-Made GPGPU Card: A Hands-On Test Record

    1. Why China-Made Accelerator Cards Matter

    In recent years, open-source large models have grown from 7B and 13B parameters to 26B and 27B. For individual developers, university labs, and small and medium-sized enterprises deploying models locally, the first obstacle is usually VRAM capacity; the software ecosystem comes second. Imported high-end accelerator cards are expensive and their supply is not always stable. China-made GPGPU accelerator cards offer another path, but there is still a clear gap between “can run” and “runs well.” Driver stability, VRAM sufficiency, acceptable inference speed, and ease of environment setup determine the actual experience. This article uses one 64GB China-made accelerator card to verify these questions one by one.

    2. Test Environment

    The test host was configured with a 24-core x86 processor, 128GB of memory, an NVMe SSD, and a Linux distribution. The accelerator was a single GPGPU card with 64GB of VRAM. The vendor-provided software package included the driver, compiler, math libraries, and runtime components.

    The table below lists version information for each component. The original test record did not include these versions, so they need to be supplied by the tester before publication.

    Component Version
    Accelerator model and memory bandwidth To be provided
    Kernel version To be provided
    Driver version To be provided
    DTK (Deep Learning Toolkit) version To be provided
    PyTorch version and adapter plugin version To be provided
    Inference framework and version To be provided
    Quantization tool and version To be provided

    During installation, the kernel headers must match the current kernel version. Use uname -r to check the kernel version, then install the matching linux-headers package.

    3. Memory Estimate: Why the 27B Model Is at the Edge

    When a 27B dense model is stored in FP16, the weights take about 27B × 2 bytes, or approximately 54GB. KV cache and activations require additional VRAM. The size of the KV cache depends on context length, batch size, and the number of model layers. In this test, the context was set to 4096, and the measured peak VRAM usage was about 61GB, leaving roughly 3GB of headroom. Increasing the batch size or context length significantly raises the risk of out-of-memory (OOM) errors.

    The 26B sparse MoE model has a relatively large total parameter count, but only a small number of experts are activated per token, so its compute load is lower than that of a dense model of the same scale. It is important to note that the weights of all experts still need to remain resident in VRAM. Fewer activated parameters save compute, not storage. Calculated at 26B parameters in FP16, the weights require about 52GB. The original record showed 48GB of VRAM usage, which is below this estimate. Before publication, the parameter count or the memory accounting method needs to be checked.

    4. Deployment Process

    4.1 Driver and Runtime Environment

    The driver used a modular installation process: kernel modules, user-space libraries, and DTK were installed in sequence. During installation, there was one issue with missing kernel headers, which was resolved by installing the matching linux-headers package. A diagnostic tool was then run to confirm that the device had been recognized by the system. Environment variables need to specify the device index and the backend library path.

    The Python environment used a virtual environment for isolation. After installing PyTorch and the adapter plugin, the device was loaded through the adapter layer. This step is similar to the workflow on mainstream GPUs, but the adapter plugin version must match the PyTorch version; otherwise, operators may be reported as unrecognized.

    4.2 Model Conversion and Quantization

    The original weights were in FP32 format and were converted to FP16 using an official script to save space and VRAM. INT8 quantization used a commonly used community quantization tool, which needs to call the accelerator card’s math libraries for calibration. The conversion process took about 15 minutes.

    The original report says that the quantized model volume dropped to about 70% of the original volume, but it does not state the baseline. If FP16 is the baseline, INT8 weights should theoretically be about half. If FP32 is the baseline, they should be about one quarter. Before publication, the specific file size, calibration dataset size, and quantization algorithm should be provided.

    4.3 Inference Framework Selection and Startup

    This accelerator card does not provide the closed-source acceleration libraries commonly found on mainstream GPUs. Model operators need to be compiled into low-level instructions through the vendor compiler. The test used a C++ inference engine that supports multiple backends and pointed the compile parameters to the accelerator backend. At startup, the context size was set to 4096 and continuous batching was enabled. The framework version and compile parameters need to be added to the version table.

    5. Performance Measurements

    5.1 Test Scope

    Item Setting
    Request mode Single card, single request
    Input and output length Input 128 tokens, output 512 tokens
    Context size 4096
    Continuous batching Enabled; the original did not state whether it affected single-request results
    Speed statistic Average generation speed (token/s)
    Warm-up count, repetition count, tokenizer To be provided

    5.2 Results Summary

    Model Precision VRAM Usage Generation Speed (token/s)
    27B dense FP16 About 61GB 8.7
    27B dense INT8 About 44GB 14.2
    26B sparse MoE FP16 About 48GB 11.9
    26B sparse MoE INT8 About 39GB 17.5

    The 27B dense model generated 8.7 token/s in FP16 mode with about 61GB of VRAM usage. This speed can support basic interactive chat, but there is still a gap compared with enterprise-grade flagship products.

    After enabling INT8 quantization, the 27B model’s VRAM usage dropped to about 44GB and generation speed increased to 14.2 token/s, roughly 63% higher than FP16. Under the model, framework, and driver combination used in this test, the INT8 path ran normally. This result represents only this combination. The original did not provide accuracy evaluation metrics for INT8; output quality was judged only subjectively, and operator coverage was not systematically verified.

    The 26B sparse MoE model reached 11.9 token/s in FP16, which was higher than the 27B dense model in FP16 mode but lower than the 27B dense model in INT8 mode. After the MoE model was also quantized to INT8, speed increased to 17.5 token/s and VRAM usage dropped to about 39GB.

    5.3 Stability

    The system ran continuously for 8 hours with multi-turn conversation tests. The original report stated that there were no driver crashes or overheating. At full load, fan noise was noticeable but within an acceptable range. The original claimed that there was no VRAM leak, but it did not include a VRAM usage curve; this judgment still needs support from monitoring data.

    6. Ecosystem Gaps

    The current ecosystem still lags mainstream platforms. The source excerpt identifies three main gaps but only includes detail on the first one: operator coverage.

    • Operator coverage: Some newer attention mechanism variants, such as grouped-query attention, require manual operator implementation. If an operator is missing, computation falls back to the CPU and speed drops noticeably. To verify this, check the execution device for each operator in the inference logs, or use a performance analysis tool.