File size: 3,931 Bytes
986b7a8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
  "schema": 1,
  "recordedAt": "2026-11-02T18:43:08.188400+00:00",
  "status": "macOS spike qualified; completion API only",
  "source": {
    "repository": "microsoft/phi-2",
    "revision": "9a5117d15e407c48fa40f8adbac1244abae52d6f",
    "license": "mit"
  },
  "modelSHA256": "8b2a3f6388406f183163440449aced556008f05e6b7a0308b1d423bc2ce79085",
  "architectureAdditions": [
    "partial rotary dimensions and shared prefix rotation",
    "optional output-head bias",
    "parallel residual family block",
    "noninterleaved strided KV updates and growth"
  ],
  "arithmeticPolicy": {
    "residuals": "float32",
    "projections": "float32",
    "normalization": "float32",
    "weights": "float16",
    "cache": "float16",
    "logits": "float16",
    "rotaryFrequencyInitialization": "float32"
  },
  "swiftRegression": {
    "reportedTests": 714,
    "testExecutables": 18,
    "configuration": "Release, arm64-apple-macosx27.0",
    "passed": true,
    "logSHA256": "e5709cb19629857c6858980ecfff094986687a5dba4eeda21ac06dcdd31ad04a"
  },
  "pythonRegression": {
    "testMethods": 10,
    "passed": true,
    "families": [
      "qwen3",
      "olmo2",
      "gpt2",
      "phi"
    ]
  },
  "coreAICPU": {
    "passed": true,
    "minimumCosine": 0.99298,
    "exactArgmax": true,
    "lostCacheRows": 0
  },
  "cases": {
    "short": {
      "promptTokens": 7,
      "eagerPortVsReference": {
        "running": {
          "minCosine": 0.99999994,
          "maxAbs": 0.003997,
          "argmaxEqualRows": 64,
          "rows": 64,
          "withinFloat32Tolerance": true
        },
        "bucketed": {
          "minCosine": 0.99999996,
          "maxAbs": 0.003875,
          "argmaxEqualRows": 64,
          "rows": 64,
          "withinFloat32Tolerance": true
        }
      },
      "nativeMinimumCosine": 0.9984728627398196,
      "nativeForcedRows": 64,
      "nativeArgmaxMismatches": 0,
      "nativeGreedyIdentical": true,
      "cacheGrowths": 0,
      "allocatedCapacity": 256,
      "passed": true
    },
    "long": {
      "promptTokens": 280,
      "eagerPortVsReference": {
        "running": {
          "minCosine": 0.99999995,
          "maxAbs": 0.008103,
          "argmaxEqualRows": 64,
          "rows": 64,
          "withinFloat32Tolerance": true
        },
        "bucketed": {
          "minCosine": 0.99999995,
          "maxAbs": 0.008518,
          "argmaxEqualRows": 64,
          "rows": 64,
          "withinFloat32Tolerance": true
        }
      },
      "nativeMinimumCosine": 0.9991725048462431,
      "nativeForcedRows": 64,
      "nativeArgmaxMismatches": 0,
      "nativeGreedyIdentical": true,
      "cacheGrowths": 0,
      "allocatedCapacity": 512,
      "passed": true
    },
    "growth": {
      "promptTokens": 224,
      "eagerPortVsReference": {
        "running": {
          "minCosine": 0.99999995,
          "maxAbs": 0.005407,
          "argmaxEqualRows": 64,
          "rows": 64,
          "withinFloat32Tolerance": true
        },
        "bucketed": {
          "minCosine": 0.99999996,
          "maxAbs": 0.006926,
          "argmaxEqualRows": 64,
          "rows": 64,
          "withinFloat32Tolerance": true
        }
      },
      "nativeMinimumCosine": 0.9990648427426364,
      "nativeForcedRows": 64,
      "nativeArgmaxMismatches": 0,
      "nativeGreedyIdentical": true,
      "cacheGrowths": 3,
      "allocatedCapacity": 512,
      "passed": true
    }
  },
  "float32Tolerance": {
    "phiAtol": 0.01,
    "rtol": 0,
    "minimumCosine": 0.999999,
    "argmax": "all rows equal",
    "upstreamOnlyMaxAbs": 0.008141040802001953
  },
  "contiguousCacheNativeRegression": {
    "family": "gpt2",
    "passed": true
  },
  "localBundle": ".local/phi2-qualified/bundle",
  "limitations": [
    "no iOS qualification",
    "base completion model; no chat template",
    "no hosted bundle",
    "interleaved KV storage remains unsupported"
  ]
}