Training Image Generation Models on Chinese-Made AI Accelerators: Key Technical Points

    This article explains the technical points of a reported case in which an open-source multimodal image generation model was trained end to end on Chinese-made AI accelerators. It covers the training stack optimizations, the hybrid autoregressive and diffusion architecture, Chinese text rendering, variable aspect ratio generation, and a checklist for evaluating or reproducing this kind of setup.

    1. Separating facts from claims

    In recent months, the industry has seen a notable case. An open-source multimodal image generation model was reportedly trained completely on domestic AI accelerator cards. The full pipeline covered data preprocessing, large-scale pretraining, supervised fine-tuning (SFT), and reinforcement learning (RL). During the same period, export policy for high-end overseas training chips to China was also somewhat relaxed.

    These two developments differ in nature. Policy changes affect short-term supply. The technical case shows whether a training route is feasible. This article covers only the technology and does not draw conclusions about policy direction.

    The reporting this article is based on does not name the model, its publisher, its release date, or the hardware used. Before reproducing or citing the work, locate the model’s official release page and verify its license and version information.

    2. Why training generative models on domestic chips is hard

    Training image generation models places heavy demands on the compute stack. There are three main challenges.

    First, the training pipeline is long. Training is not simply inference at a larger scale. It includes data cleaning, tokenization, large-scale pretraining, multi-stage fine-tuning, and reinforcement learning. A throughput bottleneck at any stage is amplified, and a slowdown in one stage affects overall progress.

    Second, operator coverage must be broad. The autoregressive component relies on many Transformer operators. The diffusion decoder uses convolution, attention, and sampling operators. Text encoding modules have their own specialized computation. If any operator is missing or runs inefficiently, the entire training run slows down.

    Third, communication overhead is high. Models with billions of parameters must be split across multiple cards and machines. When tensor parallelism, pipeline parallelism, and data parallelism are combined, cross-card communication often becomes the bottleneck.

    So the key question for judging whether a domestic compute stack can train such a model is whether it can run efficiently, stably, and at scale. Starting a training job is not enough.

    3. Three categories of training software optimization

    Public information indicates that this training effort built an end-to-end training suite on a domestic, self-developed AI framework. The optimizations fall into three categories.

    1. Dispatch optimization. A multi-level pipelined dispatch mechanism for dynamic graphs overlaps operator dispatch with execution. This reduces the chance that Python-side scheduling becomes the throughput ceiling.
    2. Communication and computation overlap. Multi-stream parallelism lets collective communication and computation run simultaneously at the hardware level, hiding the cost of cross-card synchronization.
    3. Operator fusion. Tailored to the characteristics of domestic accelerator cards, optimizer EMA, normalization, and communication-related operations are fused into fewer operators. This reduces the number of memory accesses.

    These three techniques are not new ideas, and the mature ecosystem has discussed them extensively. The significance here is that they have been implemented as a complete set on a domestic stack.

    The reporting gives only a general description of these optimization directions. It provides no throughput, timing, or baseline comparison data, so the size of the gains cannot be determined. To evaluate such optimizations, run controlled experiments under a fixed configuration and compare per-step time, memory usage, and the share of time spent on communication.

    4. Core architecture: autoregression for understanding, diffusion for rendering

    The model uses a hybrid structure: an autoregressive backbone paired with a diffusion decoder. The roles of the two components are as follows.

    Autoregressive backbone. The reported scale is about 9 billion parameters. Like a language model, it generates tokens one at a time. It handles semantic understanding and global composition, deciding what the image should express and how it should be laid out. The reporting does not specify how parameters are counted, for example whether the vision or text encoders are included.

    Diffusion decoder. The reported scale is about 7 billion parameters, using a DiT (Diffusion Transformer) structure. It takes the semantic representations produced by the autoregressive backbone and performs high-quality pixel-level generation. It also includes a Glyph Encoder, which handles text specifically.

    This division addresses two common problems. Pure diffusion models often produce refined images with incorrect text. Pure autoregressive models are limited by resolution and fine-detail quality. Separating understanding from generation lets each module handle the part it does best.

    Some in the industry call this approach “cognitive generation,” meaning that the reasoning ability of language models is brought into the image generation process. The term has no single standard definition, so readers should treat it as a descriptive label.

    5. How Chinese text rendering works

    Text rendering is a central challenge in image generation, and Chinese is especially difficult. Chinese has a large character set, complex structures, and dense stroke detail. Common model errors include:

    • A character looks right at a glance but is wrong on close inspection.
    • Visually similar characters get substituted.
    • Strokes are missing.
    • Pseudo-characters appear that look like Chinese but have no meaning.

    The model’s approach to text rendering has three steps.

    1. The Glyph Encoder explicitly injects font and structural information for the target text into the decoding process. The model does not have to rely entirely on memorized characters.
    2. The autoregressive backbone handles layout planning, determining where text appears, its size, and how it relates to other elements.
    3. During the SFT and RL stages, text accuracy is reinforced, so writing characters correctly becomes a rewarded behavior.

    Reports say the model ranks near the top on two public benchmarks: one for complex visual text generation and one for long-text rendering. The reporting does not name the benchmarks, give specific scores, or identify comparison models, so this claim cannot be verified.

    To evaluate Chinese text rendering, consider the following methods.

    • Run OCR on generated images and calculate character accuracy.
    • Compare the target text with the OCR output using edit distance to quantify the error.
    • Test visually similar characters, rare characters, and multi-character long sentences separately to see where errors cluster.
    • Check long text for dropped or repeated characters.

    These tests produce comparable numbers, which are more reliable than subjective impressions alone.

    For commercial posters, science illustrations, and social media covers, accurate Chinese text rendering determines whether an image can be used at all. A single wrong character often makes the whole image unpublishable.

    6. Variable aspect ratio generation

    Traditional image generation models usually support only preset ratios, such as 4:3 and 16:9. Scenarios like poster design often need non-standard sizes such as 1240×1600, which preset ratios cannot directly serve.

    Reports say the model supports variable aspect ratios from 1024×1024 to 2048×2048 by improving its tokenizer strategy, without external cropping or super-resolution pipelines. The approach adapts the image tokenization process to variable width and height combinations rather than forcing inputs onto a fixed grid. For design applications that need custom dimensions, this removes post-processing steps.

    The boundaries of “arbitrary ratio” support in the reporting are unclear. The following cases need hands-on testing.

    • Extreme aspect ratios, such as very narrow or very wide images.
    • Dimensions that do not divide evenly, such as sizes that are not multiples of a specific value.
    • Edge sizes, meaning dimensions near the 1024 or 2048 limits, to check whether image quality and text placement stay stable.
    • Whether text remains correct for the same prompt at different sizes.

    Build a fixed set of test sizes that covers common ratios, the sizes your workflow actually uses, and boundary values. Record results for each one.

    7. Checklist before reproducing or adopting this approach

    Before deciding whether to adopt this kind of approach, check the following items in order.

    1. Model source: official repository address, release date, license, and whether commercial use is permitted.
    2. Training software stack: framework name and version, operator library version, and cluster scheduling method.
    3. Hardware environment: accelerator card model, number of cards, and inter-card interconnect.
    4. Training data and performance: data scale, throughput, and time for each training stage. If official sources do not disclose these, state that clearly in your evaluation.
    5. Evaluation results: use a fixed test set to measure Chinese text accuracy and resolution performance separately.
    6. Code examples: the training loops in public materials are conceptual illustrations and cannot be run directly. Before reproduction, confirm dependencies, drivers, permissions, and runtime parameters.

    Whether this approach can be deployed depends mainly on three questions. Does the training software stack have complete operator coverage? Does text rendering have an explicit modeling method? Does the resolution strategy match the sizes your application needs? Once all three have clear answers, decide whether to commit resources.