txgsync's picture
|
download
raw
7.27 kB

NanoSeedLM documentation

This is the catalog of all pages. Each line gives a link and one sentence about the page. The README gives the purpose and the trade-offs. log.md gives the history.

Concepts

What the methods are, how they work, and their current numbers.

  • SeedLM: weights as seeds of an LFSR, the seed search, the kernels, and why seeds are slower.
  • Multi-head latent attention: the conversion from GQA to MLA, the cache, the attention modes, and the quality cost.
  • The KV cache: cache sizes, the q8 and rq4 caches of the MLX loader, the fp8 and fp4 caches of the engine, and the longest context for each Mac.
  • Metal and CUDA parity: how the two engines stay the same, where they differ, and a feature matrix.

Guides

How to do a task.

  • Build and test: requirements, build commands and tests for macOS, Windows and Linux.
  • Run and serve: nslm-chat, and the nslm-serve API, batching and caches.
  • The MLX loader: how to run the models in oMLX and mlx-lm, and how to set long contexts.
  • NVIDIA GPUs: how the CUDA engine fits the model on a small GPU.
  • Make a model folder: calibration, seed search and packing.

Reference

Facts to look up.

Plans

Work that is not done yet, with its gates and hypotheses.

Results

Dated measurements. Each page gives the result, its status, the setup and the data.

For contributors and agents

  • AGENTS.md: the rules for this documentation and for the code.
  • llms.txt: a short entry point for AI agents.

Xet Storage Details

Size:
7.27 kB
·
Xet hash:
aa801f0e233ad3e8ca89652d08720ae575c5810f9043d9b964a02782088e4759

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.