Inkling-2-Mini-MLX-4bit / validation /coreml-probe-gpu.json
aufklarer's picture
Add validation results and reproducible Swift runtime source
1033fa5 verified
Raw History Blame Contribute Delete
3.06 kB
{
"scope": "Synthetic 8-expert, top-2, width-64 MoE repeated three times with separate convolution histories. No checkpoint weights, attention, or vision.",
"device_request": "gpu",
"state_dtype": "float16",
"versions": {
"torch": "2.7.1",
"coremltools": "9.0",
"numpy": "2.2.6"
},
"results": {
"fp16": {
"passed": true,
"step_max_absolute_errors": [
0.000244140625,
0.00048828125,
0.000244140625,
0.00048828125
],
"original_fp16_source_max_absolute_errors": [
0.000244140625,
0.00048828125,
0.000244140625,
0.00048828125
],
"original_fp16_source_nrmse": [
0.000425545236794278,
0.0006163518992252648,
0.00042783355456776917,
0.0004561329842545092
],
"parity_reference": "eager PyTorch",
"four_predictions_seconds": 0.005166249815374613,
"compute_plan_operation_assignments": {
"unknown": 195,
"MLCPUComputeDevice": 156
},
"mil_operations": {
"const": 195,
"linear": 3,
"sigmoid": 6,
"add": 15,
"topk": 3,
"gather_along_axis": 3,
"reduce_sum": 9,
"real_div": 3,
"mul": 30,
"cast": 12,
"reshape": 12,
"tile": 3,
"greater_equal": 3,
"select": 3,
"gather": 9,
"matmul": 9,
"squeeze": 9,
"tanh": 6,
"expand_dims": 3,
"read_state": 3,
"concat": 3,
"slice_by_index": 3,
"slice_update": 3,
"write_state": 3
},
"package_bytes": 250547
},
"int4": {
"passed": true,
"step_max_absolute_errors": [
0.0,
0.0,
0.0,
0.0
],
"original_fp16_source_max_absolute_errors": [
0.0284423828125,
0.0294189453125,
0.03271484375,
0.03466796875
],
"original_fp16_source_nrmse": [
0.04782312363386154,
0.047528769820928574,
0.04872709512710571,
0.0510491207242012
],
"parity_reference": "Core ML with the same INT4 weights decompressed",
"four_predictions_seconds": 0.0021142917685210705,
"compute_plan_operation_assignments": {
"unknown": 204,
"MLCPUComputeDevice": 168
},
"mil_operations": {
"constexpr_blockwise_shift_scale": 3,
"const": 201,
"linear": 3,
"sigmoid": 6,
"add": 18,
"topk": 3,
"gather_along_axis": 3,
"reduce_sum": 9,
"real_div": 3,
"mul": 30,
"cast": 15,
"reshape": 12,
"tile": 3,
"greater_equal": 6,
"select": 6,
"gather": 9,
"matmul": 9,
"squeeze": 9,
"tanh": 6,
"expand_dims": 3,
"read_state": 3,
"concat": 3,
"slice_by_index": 3,
"slice_update": 3,
"write_state": 3
},
"package_bytes": 106422
}
},
"status": "operator_probe_passed"
}