phi-4-ElasticBit / reports /layer_022.json
maxzameer's picture
ElasticBit layers 020-023 (atomic batch, nextLayer=24)
4b18b14 verified
Raw History Blame Contribute Delete
2.47 kB
{
"layerIndex": 22,
"artifactPath": "layers/layer_022.elasticbit",
"artifactBytes": 331445332,
"artifactSha256": "2da85acefc79aaeca898f58636e0fca1a53c6726ca685f68214c82b3b1d91eaf",
"artifactType": "elasticbit-block-root-v1",
"sourceLayerBytesFP16": 681594880,
"compressionSeconds": 7.054975748062134,
"threshold": 0.01,
"device": "cuda:1",
"elasticBitCudaDeviceIndex": 1,
"matrixSummary": {
"count": 4,
"histogram": {
"9": 2,
"7": 1,
"8": 1
},
"effectiveBits": 8.23076923076923,
"originalBytes": 681574400,
"storageBytes": 350832640,
"storageReduction": 0.48526141826923075,
"maxMatrixError": 0.008715600706636906
},
"isolatedCalibrationValidation": {
"relativeL2": 0.0028793881972116594,
"maxAbsDiff": 0.14453125
},
"independentValidation": {
"relativeL2": 0.002979165383702904,
"maxAbsDiff": 0.109375
},
"artifactRoundTripValidation": {
"relativeL2": 0.0,
"maxAbsDiff": 0.0
},
"artifactRoundTripLowMem": {
"placeholderCount": 4,
"avoidedDenseBytesApproxFP16": 681574400,
"preloadedStateSlots": 2,
"movedNonPersistentBuffers": [],
"postloadExactStateSlots": 2,
"checkedStateDtypes": 2,
"dtypeMismatchCount": 0,
"stateValueMismatchCount": 0
},
"artifactRoundTripDevice": "cuda:0",
"matrices": [
{
"name": "block.self_attn.o_proj",
"storageBits": 9,
"executionWidth": 16,
"error": 0.007206959184259176,
"storageBytes": 29511680,
"executionBytes": 52428800,
"originalBytes": 52428800,
"memoryReduction": 0.437109375
},
{
"name": "block.self_attn.qkv_proj",
"storageBits": 7,
"executionWidth": 8,
"error": 0.008715600706636906,
"storageBytes": 34437120,
"executionBytes": 39352320,
"originalBytes": 78643200,
"memoryReduction": 0.562109375
},
{
"name": "block.mlp.gate_up_proj",
"storageBits": 8,
"executionWidth": 8,
"error": 0.00658106105402112,
"storageBytes": 183644160,
"executionBytes": 183644160,
"originalBytes": 367001600,
"memoryReduction": 0.499609375
},
{
"name": "block.mlp.down_proj",
"storageBits": 9,
"executionWidth": 16,
"error": 0.00556604377925396,
"storageBytes": 103239680,
"executionBytes": 183500800,
"originalBytes": 183500800,
"memoryReduction": 0.4373883928571428
}
]
}