Repository navigation
0.13.1
A patch release: clearer load errors, and the documentation reorganised and published.
Changed
- Load failures say what failed (#46). When a generator or task model fails to load, the error keeps the runtime's own message and now names the stage (
load, orwarm upfor the one-token test after a generator loads), the backend, the dtypes tried and the Transformers.js and onnxruntime-web versions. An out-of-memory error (for exampleRangeError: Out of memoryon WASM) gets memory advice instead of "this model may not be supported". Embedding and classification models keep their shorter messages. This does not fix the iPad report in #45; it makes that failure readable.
Documentation
- The usage guide is split by what the reader needs (#32): guides, a reference and an explanation.
docs/USAGE.mdstays as a pointer to the new pages. - The docs are built with Sphinx, MyST and Furo and published at https://decitre.github.io/lmlite/, next to the xeus-python and Pyodide demos (#58). The build treats warnings as errors, so a broken link or anchor fails CI.
- New: a section on choosing between xeus-python and Pyodide (#49), with a recommendation (xeus-python by default). Kernel start-up time, site size and kernel memory were not measured.
Notes
- No API changes. The only code change is the error text in
llm.js. - Real Safari is still untested.