Record LiSA task and CPU performance results
This commit is contained in:
@@ -0,0 +1,141 @@
|
||||
{
|
||||
"scope": "isolated full-attention recipient, FP32, frozen true activations; excludes donor generation and full-model decode",
|
||||
"sites": {
|
||||
"19": {
|
||||
"seconds_per_token": {
|
||||
"native": [
|
||||
0.13286287058144808,
|
||||
0.1361464262008667,
|
||||
0.12924433965235949,
|
||||
0.1288278056308627,
|
||||
0.13502545654773712,
|
||||
0.14447933342307806,
|
||||
0.21267611254006624,
|
||||
0.19696053490042686,
|
||||
0.17250606417655945
|
||||
],
|
||||
"lisa": [
|
||||
0.0882081063464284,
|
||||
0.0963163236156106,
|
||||
0.0912644388154149,
|
||||
0.09147092420607805,
|
||||
0.09272865019738674,
|
||||
0.11763023491948843,
|
||||
0.09996491950005293,
|
||||
0.11747161205857992,
|
||||
0.11429349146783352
|
||||
]
|
||||
},
|
||||
"resident_seconds_per_token": {
|
||||
"native": [
|
||||
0.03415969293564558,
|
||||
0.030925235711038113,
|
||||
0.03575391788035631,
|
||||
0.04256666451692581,
|
||||
0.04327994678169489,
|
||||
0.0476421257480979,
|
||||
0.04229569900780916,
|
||||
0.04316695313900709,
|
||||
0.04567800182849169
|
||||
],
|
||||
"lisa": [
|
||||
0.041921489872038364,
|
||||
0.04422656074166298,
|
||||
0.03127973526716232,
|
||||
0.03182042483240366,
|
||||
0.03665950056165457,
|
||||
0.03138743154704571,
|
||||
0.028396621346473694,
|
||||
0.037525477819144726,
|
||||
0.03209121432155371
|
||||
]
|
||||
},
|
||||
"resident_median_s_per_token": {
|
||||
"native": 0.04256666451692581,
|
||||
"lisa": 0.03209121432155371
|
||||
},
|
||||
"resident_matches_streamed": true,
|
||||
"allocated_bytes": {
|
||||
"native": {
|
||||
"k": 321536,
|
||||
"v": 321536
|
||||
},
|
||||
"lisa": {
|
||||
"k": 50240,
|
||||
"v": 321536
|
||||
}
|
||||
},
|
||||
"lisa_input_score_row_bytes": 5024,
|
||||
"sequence_length": 157
|
||||
},
|
||||
"23": {
|
||||
"seconds_per_token": {
|
||||
"native": [
|
||||
0.1291032126173377,
|
||||
0.12674292363226414,
|
||||
0.1282597053796053,
|
||||
0.13638535235077143,
|
||||
0.1298640752211213,
|
||||
0.1457589939236641,
|
||||
0.20920543558895588,
|
||||
0.20562185905873775,
|
||||
0.19381640758365393
|
||||
],
|
||||
"lisa": [
|
||||
0.14143545273691416,
|
||||
0.08705597650259733,
|
||||
0.08696427289396524,
|
||||
0.1120216203853488,
|
||||
0.1387955490499735,
|
||||
0.13695972133427858,
|
||||
0.14612034149467945,
|
||||
0.1524249343201518,
|
||||
0.1556852562353015
|
||||
]
|
||||
},
|
||||
"resident_seconds_per_token": {
|
||||
"native": [
|
||||
0.04479535948485136,
|
||||
0.04507693089544773,
|
||||
0.04067131970077753,
|
||||
0.04552943166345358,
|
||||
0.05950945522636175,
|
||||
0.05104204546660185,
|
||||
0.03087245672941208,
|
||||
0.03152573574334383,
|
||||
0.03583979792892933
|
||||
],
|
||||
"lisa": [
|
||||
0.022208196111023426,
|
||||
0.021793252788484097,
|
||||
0.03165019955486059,
|
||||
0.025800297036767006,
|
||||
0.022528269328176975,
|
||||
0.022276684641838074,
|
||||
0.02320440299808979,
|
||||
0.0227946899831295,
|
||||
0.024175109341740608
|
||||
]
|
||||
},
|
||||
"resident_median_s_per_token": {
|
||||
"native": 0.04479535948485136,
|
||||
"lisa": 0.0227946899831295
|
||||
},
|
||||
"resident_matches_streamed": true,
|
||||
"allocated_bytes": {
|
||||
"native": {
|
||||
"k": 321536,
|
||||
"v": 321536
|
||||
},
|
||||
"lisa": {
|
||||
"k": 50240,
|
||||
"v": 321536
|
||||
}
|
||||
},
|
||||
"lisa_input_score_row_bytes": 5024,
|
||||
"sequence_length": 157
|
||||
}
|
||||
},
|
||||
"streamed_timings_include_weight_reads": true,
|
||||
"resident_timings_exclude_projection_load": true
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"scope": "cached-prefix last layers, prefill",
|
||||
"seconds": {
|
||||
"native": [
|
||||
11.3411781527102,
|
||||
12.700857263058424,
|
||||
12.369724708609283
|
||||
],
|
||||
"direct": [
|
||||
11.017615622840822,
|
||||
10.737364768981934,
|
||||
11.625513913109899
|
||||
],
|
||||
"lisa": [
|
||||
15.469715679064393,
|
||||
16.857490073889494,
|
||||
16.311319678090513
|
||||
]
|
||||
},
|
||||
"real_tokens": 157,
|
||||
"cache_estimate": {
|
||||
"scope": "formula for one sequence, BF16 keys and score buffers",
|
||||
"native_recipient_key_bytes": 321536,
|
||||
"lisa_recipient_key_bytes": 50240,
|
||||
"one_shared_decode_score_row_bytes": 2512,
|
||||
"one_full_prefill_score_matrix_bytes": 394384
|
||||
}
|
||||
}
|
||||
@@ -7,6 +7,35 @@
|
||||
"numpy": "2.5.4",
|
||||
"torch": "2.15.0+cpu",
|
||||
"tokenizers": "0.23.3",
|
||||
"model_source": {
|
||||
"repository": "Qwen/Qwen3.5-2B",
|
||||
"revision": "15852e8c16360a2fea060d615a32b45270f8a8fc",
|
||||
"manifest_sha256": "28efbaf94a5034333339a35f08ead151459a7d20c6c2d2f07a451e7f3bf154de",
|
||||
"weight_shard": {
|
||||
"name": "model.safetensors-00001-of-00001.safetensors",
|
||||
"bytes": 4548221488,
|
||||
"sha256_in_download_manifest": "aa33250c4fc64891ddfaba3a314fd9542ea371843c387178b425fbcc5ed680b1"
|
||||
},
|
||||
"decoder_layers": 24,
|
||||
"linear_attention_layers": 18,
|
||||
"full_attention_layers_zero_based": [3, 7, 11, 15, 19, 23],
|
||||
"query_heads": 8,
|
||||
"key_value_heads": 2,
|
||||
"native_head_dimension": 256,
|
||||
"hidden_size": 2048,
|
||||
"vocabulary_size": 248320
|
||||
},
|
||||
"capture_sizes": {
|
||||
"fit": {"prompts": 12, "input_tokens": 1886, "shifted_target_tokens": 1874, "min_input_tokens": 155, "median_input_tokens": 157.5, "max_input_tokens": 158},
|
||||
"validation": {"prompts": 12, "input_tokens": 1882, "shifted_target_tokens": 1870, "min_input_tokens": 154, "median_input_tokens": 157.0, "max_input_tokens": 160},
|
||||
"test": {"prompts": 32, "input_tokens": 5017, "shifted_target_tokens": 4985, "min_input_tokens": 153, "median_input_tokens": 157.0, "max_input_tokens": 159}
|
||||
},
|
||||
"validation_selected_checkpoints": {
|
||||
"trace_sha256": "b432fba669d45c09634e96498a15f9d93f971d1ee2b67a826d6f8bc979525866",
|
||||
"linear.pt": {"epoch": 2, "sha256": "cf204dc784a925de69faa8bed0789ef42877204edb9537d914486d39518fe8ce"},
|
||||
"lisa.pt": {"epoch": 2, "sha256": "358272c5eb90cea9e3ed006b2c75a4bcd7f5db4f857982e078dd7f71c6c46c5b"},
|
||||
"lisa_answer_weighted.pt": {"epoch": 2, "sha256": "2b384d5618c190b29bdbb1bc0151c1eb64e1699e209a50ed8171a2d"}
|
||||
},
|
||||
"main_code_sha256": {
|
||||
"lisa_effect.py": "8a3ecad71f23e3e8b8faf4a7c21c0c93f00fd0bffe14bdee6117921b548dce8a",
|
||||
"lisa_tail.py": "4bd2c3c8690a8ae30cc1a9573ec17b7bbe25edf43a33507482719dc03cfeb9af",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"linear": [
|
||||
{
|
||||
"epoch": 1,
|
||||
"fit_loss": 1.528187096118927,
|
||||
"validation_answer_nll": 0.08188676834106445
|
||||
},
|
||||
{
|
||||
"epoch": 2,
|
||||
"fit_loss": 1.4630066951115925,
|
||||
"validation_answer_nll": 0.08137226104736328
|
||||
}
|
||||
],
|
||||
"lisa": [
|
||||
{
|
||||
"epoch": 1,
|
||||
"fit_loss": 2.8282371163368225,
|
||||
"validation_answer_nll": 0.21536986033121744
|
||||
},
|
||||
{
|
||||
"epoch": 2,
|
||||
"fit_loss": 2.06735689441363,
|
||||
"validation_answer_nll": 0.18566656112670898
|
||||
}
|
||||
],
|
||||
"lisa_answer_weighted": [
|
||||
{
|
||||
"epoch": 1,
|
||||
"fit_loss": 2.752801299095154,
|
||||
"validation_answer_nll": 0.23118178049723306
|
||||
},
|
||||
{
|
||||
"epoch": 2,
|
||||
"fit_loss": 1.9780630469322205,
|
||||
"validation_answer_nll": 0.1396172841389974
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"epochs": 2,
|
||||
"selection": {
|
||||
"task": "lookup16",
|
||||
"sites": [
|
||||
19,
|
||||
23
|
||||
],
|
||||
"fixed_problems_sha256": "34252a9e02e79c0e0d786ee8b90bb0c5a4fe22e97852929fedf73db7b6dc7826",
|
||||
"source_sha256": {
|
||||
"manifest.json": "28efbaf94a5034333339a35f08ead151459a7d20c6c2d2f07a451e7f3bf154de",
|
||||
"model_config.json": "ed1c1723241f23f7f4e23430759cbd7dcfb4103cbdfe052bfe7626b57c2615b4",
|
||||
"tokenizer.json": "5f9e4d4901a92b997e463c1f46055088b6cca5ca61a6522d1b9f64c4bb81cb42"
|
||||
}
|
||||
},
|
||||
"optimizer": "AdamW",
|
||||
"lr": 0.0003,
|
||||
"weight_decay": 0.1,
|
||||
"answer_weight": 16.0,
|
||||
"seed": 415005
|
||||
}
|
||||
Reference in New Issue
Block a user