phi-4-ElasticBit / reports /layer_005.json
maxzameer's picture
ElasticBit layers 004-007 (atomic batch, nextLayer=8)
707199b verified
Raw History Blame Contribute Delete
2.46 kB
{
"layerIndex": 5,
"artifactPath": "layers/layer_005.elasticbit",
"artifactBytes": 325176459,
"artifactSha256": "2a8e918a6947ffb8f41d4afc47fc7ca19345719a4e0822acb08c3239e5875fa6",
"artifactType": "elasticbit-block-root-v1",
"sourceLayerBytesFP16": 681594880,
"compressionSeconds": 6.981692552566528,
"threshold": 0.01,
"device": "cuda:0",
"elasticBitCudaDeviceIndex": 0,
"matrixSummary": {
"count": 4,
"histogram": {
"8": 2,
"7": 1,
"9": 1
},
"effectiveBits": 8.153846153846153,
"originalBytes": 681574400,
"storageBytes": 347555840,
"storageReduction": 0.49006911057692304,
"maxMatrixError": 0.009992124512791634
},
"isolatedCalibrationValidation": {
"relativeL2": 0.0009526971167285513,
"maxAbsDiff": 0.125
},
"independentValidation": {
"relativeL2": 0.0009863846305689502,
"maxAbsDiff": 0.125
},
"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": 8,
"executionWidth": 8,
"error": 0.009992124512791634,
"storageBytes": 26234880,
"executionBytes": 26234880,
"originalBytes": 52428800,
"memoryReduction": 0.499609375
},
{
"name": "block.self_attn.qkv_proj",
"storageBits": 7,
"executionWidth": 8,
"error": 0.008202957920730114,
"storageBytes": 34437120,
"executionBytes": 39352320,
"originalBytes": 78643200,
"memoryReduction": 0.562109375
},
{
"name": "block.mlp.gate_up_proj",
"storageBits": 8,
"executionWidth": 8,
"error": 0.0070442804135382175,
"storageBytes": 183644160,
"executionBytes": 183644160,
"originalBytes": 367001600,
"memoryReduction": 0.499609375
},
{
"name": "block.mlp.down_proj",
"storageBits": 9,
"executionWidth": 16,
"error": 0.005074291490018368,
"storageBytes": 103239680,
"executionBytes": 183500800,
"originalBytes": 183500800,
"memoryReduction": 0.4373883928571428
}
]
}