gemma-3-1b-it / system_graph.json
chrishayuk's picture
Add files using upload-large-folder tool
935f46b verified
Raw History Blame Contribute Delete
10.5 kB
{
"schema": 6,
"components": [
{
"id": "target",
"role": "primary_text",
"source_artifact": "gemma-3-1b-it",
"num_layers": 26,
"hidden_size": 1152,
"attention": [
{
"operator": "softmax",
"span": "sliding",
"window": 512,
"position": {
"kind": "rope",
"theta": 10000.0
},
"geometry": {
"head_dim": 256,
"num_kv_heads": 1
}
},
{
"operator": "softmax",
"span": "sliding",
"window": 512,
"position": {
"kind": "rope",
"theta": 10000.0
},
"geometry": {
"head_dim": 256,
"num_kv_heads": 1
}
},
{
"operator": "softmax",
"span": "sliding",
"window": 512,
"position": {
"kind": "rope",
"theta": 10000.0
},
"geometry": {
"head_dim": 256,
"num_kv_heads": 1
}
},
{
"operator": "softmax",
"span": "sliding",
"window": 512,
"position": {
"kind": "rope",
"theta": 10000.0
},
"geometry": {
"head_dim": 256,
"num_kv_heads": 1
}
},
{
"operator": "softmax",
"span": "sliding",
"window": 512,
"position": {
"kind": "rope",
"theta": 10000.0
},
"geometry": {
"head_dim": 256,
"num_kv_heads": 1
}
},
{
"operator": "softmax",
"span": "full",
"position": {
"kind": "rope",
"theta": 1000000.0
},
"geometry": {
"head_dim": 256,
"num_kv_heads": 1
}
},
{
"operator": "softmax",
"span": "sliding",
"window": 512,
"position": {
"kind": "rope",
"theta": 10000.0
},
"geometry": {
"head_dim": 256,
"num_kv_heads": 1
}
},
{
"operator": "softmax",
"span": "sliding",
"window": 512,
"position": {
"kind": "rope",
"theta": 10000.0
},
"geometry": {
"head_dim": 256,
"num_kv_heads": 1
}
},
{
"operator": "softmax",
"span": "sliding",
"window": 512,
"position": {
"kind": "rope",
"theta": 10000.0
},
"geometry": {
"head_dim": 256,
"num_kv_heads": 1
}
},
{
"operator": "softmax",
"span": "sliding",
"window": 512,
"position": {
"kind": "rope",
"theta": 10000.0
},
"geometry": {
"head_dim": 256,
"num_kv_heads": 1
}
},
{
"operator": "softmax",
"span": "sliding",
"window": 512,
"position": {
"kind": "rope",
"theta": 10000.0
},
"geometry": {
"head_dim": 256,
"num_kv_heads": 1
}
},
{
"operator": "softmax",
"span": "full",
"position": {
"kind": "rope",
"theta": 1000000.0
},
"geometry": {
"head_dim": 256,
"num_kv_heads": 1
}
},
{
"operator": "softmax",
"span": "sliding",
"window": 512,
"position": {
"kind": "rope",
"theta": 10000.0
},
"geometry": {
"head_dim": 256,
"num_kv_heads": 1
}
},
{
"operator": "softmax",
"span": "sliding",
"window": 512,
"position": {
"kind": "rope",
"theta": 10000.0
},
"geometry": {
"head_dim": 256,
"num_kv_heads": 1
}
},
{
"operator": "softmax",
"span": "sliding",
"window": 512,
"position": {
"kind": "rope",
"theta": 10000.0
},
"geometry": {
"head_dim": 256,
"num_kv_heads": 1
}
},
{
"operator": "softmax",
"span": "sliding",
"window": 512,
"position": {
"kind": "rope",
"theta": 10000.0
},
"geometry": {
"head_dim": 256,
"num_kv_heads": 1
}
},
{
"operator": "softmax",
"span": "sliding",
"window": 512,
"position": {
"kind": "rope",
"theta": 10000.0
},
"geometry": {
"head_dim": 256,
"num_kv_heads": 1
}
},
{
"operator": "softmax",
"span": "full",
"position": {
"kind": "rope",
"theta": 1000000.0
},
"geometry": {
"head_dim": 256,
"num_kv_heads": 1
}
},
{
"operator": "softmax",
"span": "sliding",
"window": 512,
"position": {
"kind": "rope",
"theta": 10000.0
},
"geometry": {
"head_dim": 256,
"num_kv_heads": 1
}
},
{
"operator": "softmax",
"span": "sliding",
"window": 512,
"position": {
"kind": "rope",
"theta": 10000.0
},
"geometry": {
"head_dim": 256,
"num_kv_heads": 1
}
},
{
"operator": "softmax",
"span": "sliding",
"window": 512,
"position": {
"kind": "rope",
"theta": 10000.0
},
"geometry": {
"head_dim": 256,
"num_kv_heads": 1
}
},
{
"operator": "softmax",
"span": "sliding",
"window": 512,
"position": {
"kind": "rope",
"theta": 10000.0
},
"geometry": {
"head_dim": 256,
"num_kv_heads": 1
}
},
{
"operator": "softmax",
"span": "sliding",
"window": 512,
"position": {
"kind": "rope",
"theta": 10000.0
},
"geometry": {
"head_dim": 256,
"num_kv_heads": 1
}
},
{
"operator": "softmax",
"span": "full",
"position": {
"kind": "rope",
"theta": 1000000.0
},
"geometry": {
"head_dim": 256,
"num_kv_heads": 1
}
},
{
"operator": "softmax",
"span": "sliding",
"window": 512,
"position": {
"kind": "rope",
"theta": 10000.0
},
"geometry": {
"head_dim": 256,
"num_kv_heads": 1
}
},
{
"operator": "softmax",
"span": "sliding",
"window": 512,
"position": {
"kind": "rope",
"theta": 10000.0
},
"geometry": {
"head_dim": 256,
"num_kv_heads": 1
}
}
],
"execution": {
"context_length": 32768,
"attention": {
"num_q_heads": 4,
"num_kv_heads": 1,
"head_dim": 256,
"score_scale": 0.0625,
"qk_norm_scope": "per_head",
"qk_norm_weight_offset": 1.0,
"parameter_free_qk_norm": {
"q": false,
"k": false,
"v": false
},
"attention_bias": false
},
"ffn": {
"intermediate_size": 6912,
"activation": "gelu_tanh",
"ffn_type": "gated",
"gate_policy": {
"kind": "gated"
}
},
"norm": {
"pre": {
"kind": "rms_norm",
"eps": 9.999999974752427e-7,
"weight_offset": 1.0
},
"post": {
"kind": "rms_norm",
"eps": 9.999999974752427e-7,
"weight_offset": 1.0
},
"final_norm": {
"kind": "rms_norm",
"eps": 9.999999974752427e-7,
"weight_offset": 1.0
},
"placement": "pre_post"
},
"head": {
"vocab_size": 262144,
"embed_scale": 33.941124,
"head_reuses_embedding": true
},
"residual_topology": {
"kind": "single_stream"
}
}
}
],
"objects": [
{
"id": "target.decoder_stack",
"component": "target",
"kind": "decoder_stack",
"source_bindings": [
{
"artifact": "gemma-3-1b-it",
"tensor_prefix": "model.layers",
"tensors": 338,
"bytes": 1395789824
}
],
"representations": [
{
"encoding": "BF16",
"fidelity": "canonical"
}
]
},
{
"id": "target.embedding",
"component": "target",
"kind": "embedding",
"source_bindings": [
{
"artifact": "gemma-3-1b-it",
"tensor_prefix": "model.embed_tokens",
"tensors": 1,
"bytes": 603979776
}
],
"representations": [
{
"encoding": "BF16",
"fidelity": "canonical"
}
]
},
{
"id": "target.final_norm",
"component": "target",
"kind": "final_norm",
"source_bindings": [
{
"artifact": "gemma-3-1b-it",
"tensor_prefix": "model.norm",
"tensors": 1,
"bytes": 2304
}
],
"representations": [
{
"encoding": "BF16",
"fidelity": "canonical"
}
]
}
],
"edges": []
}