Views
No views yet
poolside/Laguna-XS.2. It is a
checkpoint-surgery experiment: the original Laguna XS.2 weights are statically
pruned from 256 routed experts to 16 retained routed experts per sparse layer,
context metadata is reduced, and the result is packaged as a Google LiteRT-LM
artifact for Android experiments.model.litertlm../models/laguna-phone-k16-litert-wi8-skip-bmm/model.litertlm| Item | Value |
|---|---|
| Format | LiteRT-LM package |
| Size | 5,990,944,672 bytes |
| SHA256 | d1b3b5bbe37c6f7483d82b3066c8277d73e85fff62c66c9a03d89ffef0fcf0b2 |
| LiteRT-LM version | 1.5.0 |
| Retained experts | 16 per sparse layer |
| Experts per token | 8 |
| HF context metadata | 4096 tokens |
| LiteRT cache length | 1024 tokens |
litert-lm-peek verified that the package contains LLM metadata, HF tokenizer,
prefill/decode TFLite, and embedder TFLite sections.{% generation %} /
{% endgeneration %} assistant-mask markers because Google Edge Gallery's
LiteRT template parser rejects that extension during template creation.BATCH_MATMUL is intentionally left unquantized in the current
recipe because AI Edge Quantizer fails Laguna's high-rank expert batch-matmul
with an axis-remapping error.1scripts/ checkpoint surgery, GGUF-to-HF conversion, LiteRT export/package helpers
2docs/ reproduction notes and Android loading direction
3experiments/ failed tensorwise BATCH_MATMUL recipe kept for reference
4manifest.json machine-readable artifact metadata and hashes
5publish_hf.ps1 Hugging Face upload helper../models/ locally and are uploaded
by publish_hf.ps1.huggingface-cli loginpublish_hf.ps1 will automatically use the WSL LiteRT
Python at /root/.cache/lucebox-litert-venv/bin/python if it exists. You can
also set HF_TOKEN in PowerShell before publishing..\publish_hf.ps1 -RepoId your-user/laguna-xs2-phone-k16-litert -DryRunmodel.litertlm:.\publish_hf.ps1 -RepoId your-user/laguna-xs2-phone-k16-litert-IncludeTfliteParts if you also want the unpacked TFLite components in the
repo. Use -IncludePrunedGguf only if you want to publish the intermediate
K16 GGUF as well.model.litertlm to app-private storage or bundle it in a test build, then
load it with a LiteRT-LM text-generation session. This artifact is for LiteRT-LM,
not Google AICore; AICore is for Google-managed Gemini Nano weights rather than
custom Laguna weights.