Several Self-Developed European LLMs Reportedly Built on Chinese Open-Source Foundations
This article examines why multiple European models marketed as "self-developed" were found to rely on Chinese open-source foundation models, and why foundation choice is primarily a cost and risk decision rather than a labeling issue. It breaks down the main drivers behind this convergence, including high pretraining costs, mature tooling ecosystems, permissive commercial-friendly licenses, tokenizer efficiency for Chinese and multilingual workloads, and broad hardware support. It then walks through a real debugging case in which a 0.12B model produced garbled output on CPU, explains why RoPE position encoding is sensitive to implementation details, and offers a five-step methodology for isolating cross-device numerical inconsistencies, along with engineering practices for reproducible inference and guidance on disclosure and license compliance.
1. Where the “Self-Developed” Debate Goes Wrong: Foundation vs. Finished Product
Several European models described as “self-developed” were recently reported to reuse Chinese open-source foundations, sparking debate. The real issue is not whether open source was used, but where the boundary of “self-developed” actually sits. Pretrained foundation, continued pretraining, supervised fine-tuning, preference alignment, and inference deployment are distinct stages on the same pipeline. A team may invest heavily in large-scale domain continued pretraining, data cleaning and mixing ratios, alignment data construction, and evaluation, and the differentiated part of the resulting capability may genuinely be its own. But the foundation determines architecture shape, vocabulary size, position encoding scheme, and operator implementation conventions — the “ground layer” that later work can hardly change.
Abstracted into a general engineering problem, this yields three conclusions. First, foundation selection is essentially an optimal solution for cost and risk. Second, the toolchain and operator ecosystem built around a foundation creates strong path dependency. Third, what really needs to be disclosed to users is the origin of capabilities and license compliance, not that “every line of code was written in-house.”
2. Why Everyone Converges on the Same Class of Foundation
2.1 Training costs are high and the marginal return of rebuilding a foundation is low
Pretraining a general-purpose model from scratch requires tens of thousands of accelerators running for weeks or even months, plus the combined cost of data mixing, training stability, checkpoint resumption, and evaluation regression. For most teams targeting applications and industry deployment, putting the budget into data governance and alignment delivers a clearly higher return.
2.2 A mature ecosystem acts as a hidden subsidy
A mature foundation usually comes with complete format conventions, quantization schemes, inference operator coverage, and accumulated community Q&A. That means fewer pitfalls, more ready-to-use experience to draw on, and predictable engineering schedules. The more mature the ecosystem, the lower the marginal cost of migration and adaptation, which creates a positive feedback loop.
2.3 Permissive licensing and commercial friendliness
Whether commercial use is allowed, whether derivative works must also be open sourced, and whether the tokenizer and training data are legally contested are hard criteria in legal review. A foundation with clear license terms that permits closed-source distribution naturally lands on enterprise procurement lists more easily.
2.4 Architecture and tokenizer fit for Chinese and multilingual use
A tokenizer trained on large volumes of Chinese text achieves higher compression rates in multilingual scenarios, which means longer effective context and lower inference cost. For European teams that need to cover multiple languages, this kind of foundation is a pragmatic choice.
2.5 Hardware and deployment generality
If a foundation has first-class operator support on consumer GPUs, edge devices, and mainstream domestic accelerators, its deployment radius expands considerably. Deployment generality often determines project success more than leaderboard scores do.
3. A Real Pitfall: A 0.12B Model Talking Nonsense on CPU
One team trained a 0.12B Chinese conversational model from scratch. It behaved normally on a server GPU, but after exporting to a common format and running inference on a local CPU, the output degraded into repetition and fragmentation:
Input: Hello, please introduce yourself in two sentences.Output: Please you. Hello I This is I am a you / / Hello, hello, hello, you this is my name.
Three days of investigation turned up nothing, and the root cause was eventually traced to a chunk of memory that had “happened to be zeroed out.” The value of this kind of problem is that it exposes the coupling of three things at once: cross-device numerical differences, position encoding implementation details, and assumptions about memory initialization.
4. RoPE Explained: Why Position Encoding Is Sensitive
The core idea of rotary position embedding (RoPE) is to encode position as a rotation applied to query and key vectors, so that attention scores depend only on relative position. For a dimension pair $(x{2i}, x{2i+1})$, the transform at position $m$ is:
x'2i = x2i * cos(mθi) - x2i+1 * sin(mθi)x'2i+1 = x2i * sin(mθi) + x2i+1 * cos(mθi)θi = base^(-2i/d), base is usually 10000
In practice, a cos/sin table of shape [max_seq_len, d/2] is precomputed and sliced by position at inference time. The risks concentrate in four places:
- The table is too short or the position is out of range, so the slice comes back empty;
- Complex and real implementations are mixed, with inconsistent dimension pairing order;
- Under half precision, cos/sin accuracy decays over long sequences;
- The cache tensor is uninitialized, so what gets read is stale memory reused by the allocator.
5. Debugging Methodology: Five Steps to Isolate Cross-Device Inconsistency
- Fix the input and random seed, lock down the shortest reproduction path, and first confirm whether it triggers only on short-to-medium sequences.
- Compare tensors layer by layer — token embeddings, each layer’s attention output, hidden states — to find the first layer with a significant deviation.
- Check the position encoding table’s length, dtype, and value range, and print the first and last few rows to confirm they are not all zeros.
- Use deterministic operators and disable non-deterministic parallel reductions to rule out differences in floating-point accumulation order.
- Review memory allocation in custom operators, explicitly zero it out or switch to a lazily initialized cache.
Illustrative check code:
import torchdef check_rope_cache(cos, sin, seq_len):assert cos.shape[0] >= seq_len, "Position encoding table is too short"assert cos.dtype == sin.dtype, "cos/sin dtype mismatch"assert torch.isfinite(cos).all() and torch.isfinite(sin).all()if cos[:seq_len].abs().sum() == 0:raise RuntimeError("Position encoding cache appears uninitialized")
6. Engineering Recommendations: Making Cross-Device Inference Reproducible
- Build a “minimal reproduction set” covering short, medium, and long sequences plus multilingual inputs, and add it to the regression pipeline;
- Standardize the numerical strategy: define inference precision and operator backend explicitly, and avoid accumulated error from half precision on long sequences;
- Always initialize caches and buffers explicitly; never rely on allocator default behavior;
- Version position encoding, tokenizer, and format conversion as artifacts, and validate them together with the model;
- Improve observability: use logging services and monitoring alerts with thresholds on metrics such as first-token latency and repetition rate.
7. Compliance and Transparency Matter More Than the “Self-Developed” Narrative
Using an open-source foundation is not the problem; the problem is disclosure. Companies should state the foundation’s origin, license type, continued pretraining data scale, and evaluation results in the model documentation, and establish a license inventory and distribution review process. For end users, an explainable account of where capabilities come from is more convincing than marketing language. For teams, converging innovation onto data, alignment, and scenario engineering is the sustainable path to differentiation.
