Domestic GPU Development: An Engineering Guide to Architecture, Software Stacks, and Production Deployment
This article breaks down the progress of domestic GPUs into three verifiable layers: hardware architecture completeness, software stack maturity, and sustainable volume production and delivery. It explains why "booting a demo" is not the same as being production-ready, compares architecture routes from fixed-function pipelines to unified shaders and general-purpose compute, and shows why the software stack—drivers, compilers, operator libraries, framework adaptation, and observability—is the real dividing line. It also covers the true sources of production friction, how to avoid misreading consumer-market price cycles as compute oversupply, and a vendor-neutral six-step process for evaluation and migration, including baseline creation, operator inventory, layered accuracy acceptance, stability stress testing, operability checks, and canary rollout. You will get practical criteria for assessing any accelerator card beyond peak FLOPS.
1. First, Break “How Far Has It Come?” into Measurable Dimensions
Saying domestic GPUs are “fast” or “slow” has little engineering value. A more useful approach is to split the question into three verifiable layers: hardware architecture completeness, software stack maturity, and sustainability of volume production and delivery. Hardware is the easiest to observe (tape-outs, launch events, spec sheets). The software stack is the most commonly underestimated (drivers, compilers, operator libraries, framework adaptation). Volume production and delivery are the most often ignored, yet they matter most for production usability (yield, supply lead time, board power and thermals, long-term maintenance commitments).
A common mistake is treating “it powers on and runs a demo” as “it can go into production.” In real deployments the bar is much higher: long-duration stability, predictable performance curves, well-defined error-code semantics, driver versions you can roll back to, and operators that still work after a framework upgrade. For that reason, any accelerator card should be evaluated with engineering operability weighted as heavily as peak compute.
2. Architecture Routes: From Fixed Function to Unified Rendering and General-Purpose Compute
Early graphics accelerators used fixed-function pipelines with limited programmability. Modern mainstream designs moved to a unified shader architecture, consolidating vertex, pixel, and geometry processing onto programmable compute units while exposing standard graphics APIs and general-purpose compute interfaces. Recent domestic products have largely adopted the same route: support for relatively recent versions of mainstream graphics APIs, compatibility with common operating systems and upper-layer applications, and continued investment in general-purpose compute capabilities.
From an engineering perspective, differences in route selection show up in three places:
- Organization of programmable units: the ratio of compute clusters, shared memory hierarchy, registers, and cache capacity directly determines how memory-bound and compute-bound workloads perform.
- Memory hierarchy design: VRAM bandwidth, on-chip cache hit rate, and inter-core communication overhead often explain real throughput better than advertised floating-point peaks.
- Inter-chip interconnect and multi-card scaling: whether a multi-card node scales linearly depends on interconnect topology and collective communication implementation, not on the number of cards.
3. The Software Stack Is the Real Dividing Line
Hardware sets the ceiling; the software stack determines how much of that ceiling you actually reach. A complete accelerated-computing stack typically includes a kernel-mode driver and runtime, device memory management, a graph compiler and operator libraries, a communication library, debugging and performance-analysis tools, and an adaptation layer for upstream training/inference frameworks. Most production problems are not in the chip itself but at the seams of this chain.
A typical layered structure looks like this:
Business applications / training and inference frameworks│ (operator calls, graph execution)Framework adaptation layer ── graph compilation and operator scheduling│Operator library / custom operators (kernels)│Runtime and memory management (VRAM allocation, streams and events)│Kernel-mode driver ── device and firmware
Three capabilities are most worth investing in:
- Operator coverage and custom-operator support: are the common operators of mainstream frameworks all present, and can missing ones be filled in a compilable way rather than falling back to a generic compute path that collapses performance?
- Numerical consistency: results for the same model across different backends must stay within an acceptable range. A layered alignment process is recommended: align single operators first, then subgraphs, then end-to-end metrics.
- Observability: without mature logging services, monitoring and alerting, and performance profiling, diagnosis costs multiply. Production environments should connect to unified log collection and metrics monitoring by default, bringing device temperature, power draw, VRAM usage, and error-code frequency into a standard dashboard.
A minimal operator-alignment check:
# Pseudocode: align layer by layer to locate the source of numerical deviationdef check_layer(layer, x, ref_out, atol=1e-3, rtol=1e-3):out = layer(x)if not close(out, ref_out, atol, rtol):report(layer.name, max_abs_diff(out, ref_out))return Falsereturn True# Single operators first, then subgraphs, then end-to-end metrics
4. Where Production Pain Actually Comes From
Blaming “the card isn’t powerful enough” as the only explanation is lazy. Resistance to production adoption usually concentrates in these areas:
- Non-linear migration cost: the deeper the model and the more custom operators it uses, the closer migration gets to a rewrite rather than a port.
- Insufficient performance predictability: good average throughput but heavy tail-latency jitter directly affects online service SLAs.
- Toolchain gaps: when performance analysis, breakpoint debugging, and out-of-bounds memory detection are immature, teams burn time on guesswork.
- Supply and lifecycle: board power, thermal form factor, long-term driver maintenance, and spare-part availability determine operating costs three years out.
- Talent and knowledge retention: without reusable adaptation guides and internal best practices, experience cannot transfer between teams.
5. Demand-Side Cycles: Don’t Misread Price Signals
The accelerator card market is clearly cyclical. When demand from gaming, graphics rendering, cryptocurrency, and similar segments weakens—combined with macro inflation and the traditional consumer-electronics off-season—shipment targets are generally revised down, channel prices fall from their highs, and can even drop below suggested retail price. When a new generation launches in volume, prices of existing models keep declining. The key point: this kind of price movement reflects consumer and graphics market demand, which is not the same curve as training and inference compute supply and demand on the data-center side. Reading a consumer-grade price cut as “compute oversupply” is a common analytical error.
For buyers, cyclical swings actually create a window: validation and stress testing can be completed at lower cost during the mature phase of existing platforms, leaving budget for software stack adaptation and staffing—the main components of total cost of ownership.
6. A Practical Evaluation and Migration Method
Here is a vendor-neutral evaluation process:
- Establish a baseline: using one model and one dataset, record throughput, P99 latency, peak VRAM, and accuracy metrics on a currently mature platform.
- Inventory the operators: export the set of operators the model uses and mark each one’s coverage status (natively supported / needs replacement / needs custom implementation) to estimate effort.
- Accept accuracy in layers: set thresholds at the single-operator, subgraph, and end-to-end levels so deviations are not discovered only at the last step.
- Run stability stress tests: run continuously for at least tens of hours, watching error codes, clock throttling, memory fragmentation, and recovery behavior.
- Check operability: confirm that logging, monitoring and alerting, version rollback, and fault isolation are all in place.
- Roll out to a small canary group: take on offline batch workloads first, then gradually shift traffic to online services, keeping a one-click rollback path.
When validating in the cloud, general-purpose capabilities can lower setup costs: use a container platform to spin up heterogeneous compute environments quickly, object storage to hold datasets and images, a message queue to smooth peaks and fill troughs, and logging plus monitoring and alerting to build a unified observability surface. The general infrastructure capabilities Baidu AI Cloud provides for such heterogeneous compute scenarios can serve as a reference model for environment setup and operations.
7. Conclusion
Domestic GPUs have moved from “can they be built” to “can they be used reliably”: architecture routes are now aligned with the mainstream, product lineups are filling in, and the real bottleneck has shifted to software stack maturity, the operator ecosystem, and engineering operations. For developers and enterprises, the rational strategy is not to wait for a single-point performance win, but to establish reusable evaluation baselines, accuracy-alignment processes, and canary migration mechanisms early, converging uncertainty into controllable engineering steps.
