File size: 2,458 Bytes
707199b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
  "layerIndex": 6,
  "artifactPath": "layers/layer_006.elasticbit",
  "artifactBytes": 309010735,
  "artifactSha256": "cc5be9111fb5f22b44edd501b34fe23524722f6d0c7432e4b3e87ede71b1328d",
  "artifactType": "elasticbit-block-root-v1",
  "sourceLayerBytesFP16": 681594880,
  "compressionSeconds": 5.5142552852630615,
  "threshold": 0.01,
  "device": "cuda:0",
  "elasticBitCudaDeviceIndex": 0,
  "matrixSummary": {
    "count": 4,
    "histogram": {
      "9": 1,
      "7": 1,
      "8": 2
    },
    "effectiveBits": 7.961538461538462,
    "originalBytes": 681574400,
    "storageBytes": 339363840,
    "storageReduction": 0.5020883413461539,
    "maxMatrixError": 0.008528505451977253
  },
  "isolatedCalibrationValidation": {
    "relativeL2": 0.0011323165792623885,
    "maxAbsDiff": 0.5
  },
  "independentValidation": {
    "relativeL2": 0.0012071607504281967,
    "maxAbsDiff": 0.5
  },
  "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.0052634370513260365,
      "storageBytes": 29511680,
      "executionBytes": 52428800,
      "originalBytes": 52428800,
      "memoryReduction": 0.437109375
    },
    {
      "name": "block.self_attn.qkv_proj",
      "storageBits": 7,
      "executionWidth": 8,
      "error": 0.008528505451977253,
      "storageBytes": 34437120,
      "executionBytes": 39352320,
      "originalBytes": 78643200,
      "memoryReduction": 0.562109375
    },
    {
      "name": "block.mlp.gate_up_proj",
      "storageBits": 8,
      "executionWidth": 8,
      "error": 0.006829055026173592,
      "storageBytes": 183644160,
      "executionBytes": 183644160,
      "originalBytes": 367001600,
      "memoryReduction": 0.499609375
    },
    {
      "name": "block.mlp.down_proj",
      "storageBits": 8,
      "executionWidth": 8,
      "error": 0.007873034104704857,
      "storageBytes": 91770880,
      "executionBytes": 91770880,
      "originalBytes": 183500800,
      "memoryReduction": 0.4998883928571428
    }
  ]
}