Repository navigation
ToRc v0.1.3
What's new in 0.1.3
- Linux and macOS: fixed a bug where the engine couldn't read how much RAM the machine has on these systems, which meant it streamed every model through a small cache. Models that fit in memory are now much faster.
TORC_CACHE_MBcan still be set by hand if you want to play. - Linux on Snapdragon X: the NPU now works, with llama.cpp's Hexagon backend installed (
TORC_NPU=1; GUIDE.md has the setup). Thanks to the tester who ran every build of it on his own box. - An NPU that fails while loading is now turned off with a message, and the model carries on with the CPU, where before the program stopped.
- Windows: Auto-tune also measures whether pinning the threads is faster on your machine and keeps the better setting. On Linux the threads stay unpinned as before;
TORC_PIN=1pins them there too, as an experiment for now. - Gemma 4 with a discrete GPU: Gemma 4 handles attention differently to other models. Long prompts now fit on an 8 GB card: the GPU holds only the part of Gemma's sliding-window layers that they can still read.
- Long prompts: replies are now faster. The draft block's pass over the prompt now runs as the prompt is read. On Snapdragon X the drafts of a long prompt are also checked by a quicker path (Qwen 3.6 35B).
- The server now announces when the context is set past the length the model was made and tested for.
- Building on Linux now needs a C++ compiler (g++), for the NPU's error guard, which was seemingly impossible to do in Rust.
- Mac (Apple Silicon): EXPERIMENTAL zip, untested by me. Run
xattr -dr com.apple.quarantineon the folder first.
On Linux and macOS, press Auto-tune again after updating: the saved settings are keyed to the machine's memory, which the engine can now see.
Unzip, open ToRc, done.