AI Chip Production and Cloud-Side Compute Scheduling: A Practical Guide

    This article translates upstream AI chip and capacity signals into actionable engineering constraints for building reliable cloud compute platforms. It covers a layered compute pool architecture, quota and scheduling strategies based on queueing theory and topology awareness, cost governance with per-1k-inference metrics, multi-tenant isolation for external supply, and organizational alignment between platform engineering and business teams. Readers will find reference configurations, scoring pseudocode, and a practical rollout checklist for delivering AI compute that is stable, sufficient, and economical.

    1. Background: Compute Supply Enters a Phase of Structural Tightness

    Recent industry signals point to the same shift: the bottleneck for AI compute has moved from “can we design the chip” to “can we deliver it reliably, in sufficient volume, and economically.” In a quarterly earnings call, a chip foundry disclosed that its revenue is highly concentrated in a single market, accounting for more than 90%, while another market contributes less than 10%. Split by wafer size, 12-inch and 8-inch wafers remain stable at roughly 79% and 20% respectively, with 12-inch revenue growing faster quarter over quarter than 8-inch. The takeaway is not simply “demand is strong.” It is that capacity allocation is being pulled by structural factors: advanced nodes and larger wafers get higher expansion priority, while mature-node capacity remains relatively rigid.

    At the same time, a panel manufacturer offered a counterintuitive judgment at an industry conference: shipment area will keep growing in the next phase, but upward price pressure comes from the cost side, not the demand side. Put these two signals together and developers and platform teams reach an important conclusion: the availability and cost curve of compute are being shaped jointly by upstream capacity structure and cost pass-through. Neither “waiting for price drops” nor “waiting for capacity expansion” is a robust strategy on its own.

    2. Translating Industry Signals into Engineering Constraints

    To avoid treating the news as small talk, the signals above need to be abstracted into executable engineering constraints.

    • Constraint 1: Tiered supply. Large-wafer advanced lines expand quickly while mature lines have little elasticity, so delivery lead times across compute tiers will differ for the long term.
    • Constraint 2: Regional imbalance. When demand is highly concentrated in specific regions, cross-region scheduling latency, compliance, and data residency strategies must be designed upfront.
    • Constraint 3: Cost-driven price increases. When prices are driven by the cost side, short-term demand swings cannot change the trend, so cost governance must be internalized.
    • Constraint 4: Rising external commercialization share. One AI chip product line has disclosed cumulative shipments in the hundreds of thousands of units, with more than 60% of compute in its own cloud scenario serving external customers. This shows that “internal use” and “external supply” share the same pool, requiring isolation and prioritization mechanisms.

    3. Reference Architecture: Layered Compute Pools with Unified Scheduling

    A practical approach is to split compute into three layers and manage them through a unified control plane.

    1. Training layer: built mainly around high-bandwidth, interconnect-dense accelerators. Tasks have long lifecycles and high failure costs, requiring checkpoints and topology-aware scheduling.
    2. Inference layer: emphasizes throughput and cold starts, suitable for elastic scaling and multi-model co-location.
    3. Edge and device layer: emphasizes latency and data compliance, with models requiring quantization and pruning.

    The control plane handles quotas, priorities, preemption, and metering; the data plane handles image distribution, model loading, and traffic routing. A sample quota description can be written as follows to express a three-tier “team-project-priority” constraint:

    1. quota:
    2. team: vision-lab
    3. projects:
    4. - name: recsys-train
    5. priority: high
    6. max_gpus: 64
    7. preemptible: false
    8. - name: llm-infer
    9. priority: medium
    10. max_gpus: 128
    11. burst_ratio: 0.3
    12. preemptible: true

    The point of this configuration is not the syntax but the semantics: high-priority tasks cannot be preempted, while medium-priority tasks allow a certain burst ratio but can be reclaimed, balancing stability and utilization within the same resource pool.

    4. Scheduling Strategy: From “Grabbing Resources” to Queueing Theory

    Treating scheduling as a queueing system can significantly reduce blind capacity expansion. Let the arrival rate be λ, the service rate be μ, and utilization be ρ=λ/μ. As ρ approaches 1, wait time rises nonlinearly. In practice, set two lines: a steady-state utilization ceiling (for example, the inference pool should not exceed 0.75) and a burst buffer (reserve 20%~30% elastic quota). Also introduce priority preemption and timeout reclamation to prevent long-tail tasks from occupying resources indefinitely.

    Topology awareness matters just as much. Distributed training is sensitive to interconnect bandwidth, so the scheduler should place a task’s process group within the same high-bandwidth domain to reduce cross-domain communication. The scoring logic can be expressed as the following pseudocode:

    1. def score(node, task):
    2. base = node.free_gpus * 1.0
    3. topo = 2.0 if node.same_domain(task.group) else 0.0
    4. cost = -0.5 * node.hourly_cost
    5. return base + topo + cost

    5. Cost Governance: Breaking “Cost-Driven” into Optimizable Items

    Since price increases are driven by the cost side, cost governance cannot rely on cutting usage alone; it must decompose the structure:

    • Utilization: stagger batch jobs and inference, add elastic fault tolerance to training tasks, and reduce idle spinning.
    • Model side: distillation, quantization, sparsification, and cache reuse directly lower compute per request.
    • Data side: use object storage tiering and lifecycle policies to cut cold-data costs, and use message queues to smooth peaks and fill valleys.
    • Observability side: build a “cost per request” dashboard with logging and monitoring/alerting, turning cost into an attributable metric.

    A practical metric is cost per thousand inferences:

    1. cost_per_1k = (GPU hourly price × hours used) / (successful requests / 1000)

    Only by drilling this down by model, version, and tenant can you locate the real cost hotspots.

    6. Isolation Design for Multi-Tenancy and Commercial Supply

    When the same compute pool serves both internal business and external customers, isolation is the first priority. A recommended approach is the trio of “namespace + quota + network policy,” combined with dedicated service accounts and audit logs. Apply circuit breaking and rate limiting for external tenants to prevent a single tenant from dragging down the whole system. Billing and metering should be based on actual usage rather than requested amounts, avoiding resource hoarding.

    7. Organizational Alignment: Connecting Platform Engineering with Business

    Landing the technical architecture depends on organizational structure. A workable approach is to set up a platform engineering group responsible for the compute pool, scheduling, and observability, while business teams only declare resource profiles and SLOs. Both sides align through three tables: “resource profile, SLO, and cost budget,” avoiding verbal commitments. In practice, Baidu AI Cloud typically recommends that customers build the foundation above with composable general capabilities (container platform, object storage, message queue, logging, and monitoring/alerting), keeping components replaceable and avoiding tight coupling to a single implementation.

    8. Rollout Checklist

    1. Inventory the tiering and utilization baseline of existing compute pools.
    2. Establish priority and preemption rules, and define the steady-state utilization ceiling.
    3. Launch a cost-per-request dashboard, drilled down by tenant and model.
    4. Build isolation, rate limiting, and auditing for external supply.
    5. Review capacity structure and the cost curve every quarter, and revise budgets on a rolling basis.

    Conclusion: Under the dual constraints of cost-driven pricing and tiered capacity, the competitiveness of AI compute no longer depends on peak ownership but on scheduling efficiency, cost attribution, and organizational coordination. Turning industry signals into engineering constraints is a reliable path through supply volatility.