quantized duplicated precisions.json, which is authoritative for the
quantized/non-quantized partition. default expressed a per-repository
recommendation nothing consumed: the library resolves its own per-platform
default. Both are gone from the schema.
Re-export the Vulkan fp16 variant with rank-3 attention
Attention now folds the singleton batch into the head dim and runs as
[H, T, D] batched matmuls. The stock 4-D reshapes each become their own
materialised view dispatch on Vulkan; this drops them and is bit-identical to
the previous export on CPU.
At the published 254-token shape: 10.30 -> 8.82 ms on an Adreno 840 and
107.58 -> 97.94 ms on a Mali-G76, which is 2.32x and 3.11x XNNPACK.
fp16 measures 2.05x XNNPACK on an Adreno 840 against 1.30x for fp32, and 2.85x
on a Mali-G76 against 3.20x. fp32 is the faster arm on Mali, but fp16 wins on
both parts and halves the download, so it is the better single default.
fp16 requires the 30522-row token embedding to stay off texture storage; the
memory planner otherwise moves it onto a kernel that returns silently wrong
values above a 16384-row vocabulary, cosine 0.67 against the CPU reference.
With the embedding exempted it is 0.99996 on Adreno and 0.99999 on Mali.
See pytorch/executorch#22333.
Requires the ExecuTorch 1.4.1 Vulkan runtime from the v0.10.0-libs-1.4.1
artifacts.
Android GPU build of all-MiniLM-L6-v2. 2.4x faster than the XNNPACK build on a Mali-G76 at the published 254 token shape (169.8 ms against 408.4 ms median), bit-identical across 10 executions, cosine 0.9999924 against the CPU reference.