Validate repeated learned RMSNorm functions with CPU evidence

This commit is contained in:
2026-11-09 14:14:59 +08:00
parent 573cbedd98
commit 6d1acbc26a
108 changed files with 6526 additions and 33 deletions
@@ -0,0 +1,17 @@
source_layer,role,a,b,sample_id,split,relative_l2,reverse_relative_l2,token_relative_p95,reverse_token_relative_p95,cosine,low_norm_tokens
12,input_layernorm,12,13,cal-zh-1,calibration,0.04185799286154599,0.04309664461005982,0.044446126787094885,0.04595947974911848,0.9995232826957284,0
12,input_layernorm,12,13,cal-zh-2,calibration,0.04383456526622353,0.04521540878040512,0.046012856287805166,0.047545525578214155,0.9994900129478096,0
12,input_layernorm,12,13,cal-en-1,calibration,0.04347907732513803,0.04487576882582582,0.04643377233703883,0.048238404047826186,0.9995243164548383,0
12,input_layernorm,12,13,cal-en-2,calibration,0.041111186492761374,0.04233333726141896,0.04398539072853077,0.04542340159464054,0.9995589314599114,0
12,input_layernorm,12,13,test-zh-1,heldout,0.04230986484298778,0.04359453156137845,0.04521637327744173,0.046674126177753086,0.9995251413848774,0
12,input_layernorm,12,13,test-zh-2,heldout,0.043902033219287144,0.04528510757179746,0.047435978938916296,0.04912927000592789,0.9994870299724158,0
12,input_layernorm,12,13,test-en-1,heldout,0.042965663401383455,0.04430863234604914,0.04650584597139243,0.04815192582322126,0.9995218127753321,0
12,input_layernorm,12,13,test-en-2,heldout,0.04135010433212149,0.042584214188789195,0.046368214514353176,0.047927790990014825,0.9995520355780412,0
13,input_layernorm,12,13,cal-zh-1,calibration,0.041182645479044225,0.04240971565525536,0.04352880565374195,0.045001128308403464,0.9995577794005558,0
13,input_layernorm,12,13,cal-zh-2,calibration,0.04327063750976668,0.04463822187523808,0.045272158865488125,0.04679408388648026,0.999518385770098,0
13,input_layernorm,12,13,cal-en-1,calibration,0.04262779877016355,0.04398654464567335,0.045497400019515064,0.04723836815505396,0.9995547796247127,0
13,input_layernorm,12,13,cal-en-2,calibration,0.040518961963038086,0.04171178072648754,0.043328686448901595,0.04470198445787224,0.9995758632252388,0
13,input_layernorm,12,13,test-zh-1,heldout,0.04162196134899919,0.04289161132734105,0.04428805531751076,0.045755187013951454,0.9995588682914622,0
13,input_layernorm,12,13,test-zh-2,heldout,0.043144621015003826,0.04450396583648517,0.045958426245692637,0.04754094135863426,0.9995211225735321,0
13,input_layernorm,12,13,test-en-1,heldout,0.042127619483222106,0.04343304280377689,0.045197718466321105,0.04683576056261672,0.999550812480402,0
13,input_layernorm,12,13,test-en-2,heldout,0.04076045660321344,0.04197546447097981,0.045561271843477975,0.04710887060271581,0.9995759438544739,0
1 source_layer role a b sample_id split relative_l2 reverse_relative_l2 token_relative_p95 reverse_token_relative_p95 cosine low_norm_tokens
2 12 input_layernorm 12 13 cal-zh-1 calibration 0.04185799286154599 0.04309664461005982 0.044446126787094885 0.04595947974911848 0.9995232826957284 0
3 12 input_layernorm 12 13 cal-zh-2 calibration 0.04383456526622353 0.04521540878040512 0.046012856287805166 0.047545525578214155 0.9994900129478096 0
4 12 input_layernorm 12 13 cal-en-1 calibration 0.04347907732513803 0.04487576882582582 0.04643377233703883 0.048238404047826186 0.9995243164548383 0
5 12 input_layernorm 12 13 cal-en-2 calibration 0.041111186492761374 0.04233333726141896 0.04398539072853077 0.04542340159464054 0.9995589314599114 0
6 12 input_layernorm 12 13 test-zh-1 heldout 0.04230986484298778 0.04359453156137845 0.04521637327744173 0.046674126177753086 0.9995251413848774 0
7 12 input_layernorm 12 13 test-zh-2 heldout 0.043902033219287144 0.04528510757179746 0.047435978938916296 0.04912927000592789 0.9994870299724158 0
8 12 input_layernorm 12 13 test-en-1 heldout 0.042965663401383455 0.04430863234604914 0.04650584597139243 0.04815192582322126 0.9995218127753321 0
9 12 input_layernorm 12 13 test-en-2 heldout 0.04135010433212149 0.042584214188789195 0.046368214514353176 0.047927790990014825 0.9995520355780412 0
10 13 input_layernorm 12 13 cal-zh-1 calibration 0.041182645479044225 0.04240971565525536 0.04352880565374195 0.045001128308403464 0.9995577794005558 0
11 13 input_layernorm 12 13 cal-zh-2 calibration 0.04327063750976668 0.04463822187523808 0.045272158865488125 0.04679408388648026 0.999518385770098 0
12 13 input_layernorm 12 13 cal-en-1 calibration 0.04262779877016355 0.04398654464567335 0.045497400019515064 0.04723836815505396 0.9995547796247127 0
13 13 input_layernorm 12 13 cal-en-2 calibration 0.040518961963038086 0.04171178072648754 0.043328686448901595 0.04470198445787224 0.9995758632252388 0
14 13 input_layernorm 12 13 test-zh-1 heldout 0.04162196134899919 0.04289161132734105 0.04428805531751076 0.045755187013951454 0.9995588682914622 0
15 13 input_layernorm 12 13 test-zh-2 heldout 0.043144621015003826 0.04450396583648517 0.045958426245692637 0.04754094135863426 0.9995211225735321 0
16 13 input_layernorm 12 13 test-en-1 heldout 0.042127619483222106 0.04343304280377689 0.045197718466321105 0.04683576056261672 0.999550812480402 0
17 13 input_layernorm 12 13 test-en-2 heldout 0.04076045660321344 0.04197546447097981 0.045561271843477975 0.04710887060271581 0.9995759438544739 0