N Neurarch Architectures Models Checks Data Docs Open the app

Models / qwen3

Qwen3.8-27B-DSpark

Reconstructed from its own config.json with no weights read. 316K downloads on Hugging Face.

Our count against the checkpoint

The left number comes from the graph. The right one is the number of scalars in the published weight files. Nothing on this page was tuned to make them agree.

Derived from structure
4.14B
4,142,179,840 parameters
In the published checkpoint
1.86B
1,857,358,337 scalars · safetensors.total, read 2026-08-29
Delta
+123%

custom-code This repository ships its own modeling code (`auto_map`, e.g. `dspark.py`), so `config.json` names a class in the repo rather than an architecture `transformers` defines. The graph below is what those config keys mean under `transformers` semantics, which is not necessarily what the repo's own file builds. A gap here is a statement about what we read, not about the checkpoint.

What it costs to run

Cost is a roofline estimate on the priced GPU for 10 epochs at batch 32 over 50,000 samples (assumed; no dataset attached). GPU fit is fp32 weights plus gradients plus two Adam moments (16 bytes per parameter) with 1.3x headroom; activations are not included and grow with batch size.

Layers
34
Will it forward-pass
Yes
Priced on
A10G (24GB)
Est. one run
$80838.69
CardMemory
T4 (16GB)weights + activationsdoes not fit
A100 (40GB)weights + activationsdoes not fit
H100 (80GB)weights + activationsdoes not fit

Structure

36 nodes. Output shapes are propagated from the input shape, batch dimension excluded.

LayerTypeOutput shape
1InputInput1 × 262144
2EmbeddingEmbedding1 × 262144 × 5120
3RoPERoPE1 × 262144 × 5120
4RMSNorm_1_1RMSNorm1 × 262144 × 5120
5Attention_1Grouped Query Attn1 × 262144 × 5120
6Add_1_attnAdd1 × 262144 × 5120
7RMSNorm_1_2RMSNorm1 × 262144 × 5120
8FFN_1SwiGLU1 × 262144 × 5120
9Add_1_ffnAdd1 × 262144 × 5120
10RMSNorm_2_1RMSNorm1 × 262144 × 5120
11Attention_2Grouped Query Attn1 × 262144 × 5120
12Add_2_attnAdd1 × 262144 × 5120
13RMSNorm_2_2RMSNorm1 × 262144 × 5120
14FFN_2SwiGLU1 × 262144 × 5120
15Add_2_ffnAdd1 × 262144 × 5120
16RMSNorm_3_1RMSNorm1 × 262144 × 5120
17Attention_3Grouped Query Attn1 × 262144 × 5120
18Add_3_attnAdd1 × 262144 × 5120
19RMSNorm_3_2RMSNorm1 × 262144 × 5120
20FFN_3SwiGLU1 × 262144 × 5120
21Add_3_ffnAdd1 × 262144 × 5120
22RMSNorm_4_1RMSNorm1 × 262144 × 5120
23Attention_4Grouped Query Attn1 × 262144 × 5120
24Add_4_attnAdd1 × 262144 × 5120
25RMSNorm_4_2RMSNorm1 × 262144 × 5120
26FFN_4SwiGLU1 × 262144 × 5120
27Add_4_ffnAdd1 × 262144 × 5120
28RMSNorm_5_1RMSNorm1 × 262144 × 5120
29Attention_5Grouped Query Attn1 × 262144 × 5120
30Add_5_attnAdd1 × 262144 × 5120
31RMSNorm_5_2RMSNorm1 × 262144 × 5120
32FFN_5SwiGLU1 × 262144 × 5120
33Add_5_ffnAdd1 × 262144 × 5120
34Final_RMSNormRMSNorm1 × 262144 × 5120
35LM_HeadLinear1 × 262144 × 248320
36OutputOutput1 × 262144 × 248320

What the verifier says

warnLinear "LM_Head" is 5120 × 248320 = 1271M parameters (~4.7 GB float32). A single dense layer this large usually means a feature map was flattened without pooling first; embedding / vocab-projection heads are the expected exception. Fix: Add a Global Average Pool or more downsampling before the Linear, or factorize it (low-rank / bottleneck projection).
huge-linear-params

Do this to your own model

Same numbers, on a model in your repo, in one command. No account.

pip install neurarch-trace
neurarch-trace RadixArk/Qwen3.8-27B-DSpark --plan --share

Other qwen3 checkpoints

jina-reranker-v3
596M derived · -0.13% against the checkpoint
Kimi-K3-DSpark
4.26B derived · +89.3% against the checkpoint
Qwen3-0.6B
596M derived · -20.7% against the checkpoint
Qwen3-1.7B
1.72B derived · -15.3% against the checkpoint