Repository navigation
Releases
v1.22.6.5 — Temporary Mac GPU indexing (experimental)
Temporary Mac GPU indexing — experimental
GPU acceleration currently supports Apple Silicon Macs (M-series) only. Normal CPU indexing remains available on Intel Macs, Windows and Linux. Clicking the GPU button on an unsupported platform shows a warning and does not start setup.
How to use it
Open Zotero Settings → ZotSeek, choose the PDF batch size (default 8) and chunk request size (default 32), then click Index remaining with Mac GPU…. After confirmation, missing model/runtime files are downloaded and configured automatically, and EmbeddingGemma 2 is selected. A completely uncached setup downloads about 1.1 GB. Requires macOS 13.3+ and Python 3.9+ at /usr/bin/python3; missing system tools produce an error rather than an automatic system installation.
Your PDF text stays on this Mac. The native GPU server binds only to 127.0.0.1, uses verified official GPU downloads, and stops after completion, failure or Zotero exit. Later PDFs and searches use CPU. Existing model indexes are retained; completed batches survive interruption. Cached model files remain on disk. Bulk GPU use can affect responsiveness and power consumption.
BF16, not FP16
The temporary GPU model uses BF16 GGUF; the normal CPU model uses FP16 ONNX. Their vectors are not numerically identical. On Apple M4, six library passages and two queries had a minimum CPU/GPU embedding cosine similarity of 0.9999961257, and both queries selected the same top document among those six passages. This small compatibility check is not an accuracy percentage or a full-library retrieval benchmark. The comparison changes both runtime and precision. Each GPU run also checks compatibility against real library text before indexing.
Setup, measured results and limitations
Validation
- JavaScript tests, Python supervisor tests, typecheck against the existing baseline, and release package checks.
- Live Metal offload and multi-PDF checkpoints on Apple M4; other hardware/OS combinations have not been validated end to end.
- Regression coverage for unsupported platforms, first-library setup, group-library scope, shutdown during setup, failed downloads, incompatible vectors, CPU restoration and owned-process cleanup.
This is an experimental fork prerelease, not a claim that every supported Mac configuration is validated.
v1.22.6.4 (experimental fork)
ZotSeek 1.22.6.1 — EmbeddingGemma 2 ONNX
Adds EmbeddingGemma 2 to ZotSeek's local model picker using text-only FP16 ONNX and Transformers.js 4.3.1. No inference server is needed. The optional model download is about 575 MB including the tokenizer; image/audio encoders are excluded.
Install zotseek-1.22.6.1.xpi, then open ZotSeek settings, download/select EmbeddingGemma 2 (multilingual, text) and run Update Index. Existing E5/Nomic indexes remain available under their own model IDs.
Validation: 282 tests pass; no new type errors (16 existing upstream baseline errors); real ONNX CPU and headed browser WASM worker smokes pass, with finite normalized 768d outputs and a same-input Nomic identity comparison. XPI worker and all 8 WASM asset hashes match the verified build/runtime files.
Experimental prerelease: installation, privileged ChromeWorker/resource:// behavior, real-library indexing/persistence and retrieval quality inside native Zotero are not yet verified. The existing installation and user index were not changed. Q8 was tested and excluded because the WASM runtime lacks GatherBlockQuantized support.
See verification details. SHA256SUMS is attached.