kokoro-q8-shards
v1.0.0
Published
Kokoro-82M q8 ONNX weights, split into 6 shards so a CDN will serve them
Maintainers
Readme
kokoro-q8-shards
model_quantized.onnx from
onnx-community/Kokoro-82M-v1.0-ONNX,
split into 6 pieces. Reassembly is byte-identical.
sha256 of the joined file: fbae9257e1e05ffc727e951ef9b9c98418e6d79f1c9b6b13bd59f5c9028a1478
Why shards, and why npm
Some embedded contexts restrict outbound requests by path as well as host.
cdn.jsdelivr.net/npm/ may be permitted where cdn.jsdelivr.net/gh/ is not,
so the weights live here rather than in a GitHub repo. jsDelivr also declines to
serve single files much past 20 MB, hence 6 of them.
Use
const BASE = "https://cdn.jsdelivr.net/npm/[email protected]";
const parts = [];
for (let i = 0; i < 6; i++) {
parts.push(await (await fetch(`${BASE}/kokoro-q8.part${i}.bin`)).arrayBuffer());
}
const onnx = new Blob(parts, { type: "application/octet-stream" });The model is Apache-2.0; this package only redistributes it.
