Skip to content

ToRc v0.1.4

Choose a tag to compare

@github-actions github-actions released this 18 Nov 11:05
· 141 commits to main since this release

What's new in 0.1.4

Upgrading? Press Auto-tune again after you upgrade 👍

  • Snapdragon X NPU, Qwen3.6-35B on one machine: prompts now read in blocks of 1024 tokens with 32 of the most used experts a layer on the NPU (where the model fits with room to spare). That reads faster with the same replies. Other models keep their settings, since a bigger block isn't faster on all of them. Thanks to RainerSC, whose tests on an identical box found it.
  • NPU on ERNIE 4.5, GLM-4.7-Flash and LFM2.5: the NPU never got their most used experts, because their first layers have no experts and the usage file was read the wrong shape. The expert cache had the same mistake. Both are fixed: with the NPU on, short prompts read 15 to 30% faster on all three, and long ones 4 to 20%.
  • x86 (AVX2): replies on models without drafts write faster, up to 12% on the AMD laptop, from asking for the next weights earlier.
  • Settings you can share: Settings > Share settings saves the settings a model runs with on your machine as a small file, and reads one back in, from a settings file or a benchmark result. Every benchmark row now keeps the settings it ran with, so a number always says how it was got.
  • Advanced settings: fast attention (TORC_ATTN_FAST, faster long prompts, still in testing so off by default) and pinning (TORC_PIN) are near the top now, each with a line on what it does.
  • A cache size set by hand (TORC_CACHE_MB) now streams the model through that cache, even when the file would fit in memory. Before, it held the whole file as well.
  • A usage file written with the 35B's draft layer counted is no longer refused by the NPU.
  • Fixes: threads left out of a short piece of work now stay asleep, the fast attention option gives the same result in a block as alone, and Gemma 4 on the NPU frees the part that fails when it can't start.
  • Linux NPU: the guide covers the NPU memory that is only given back on a restart, and checking free memory before loading a big model.
  • Mac (Apple Silicon): EXPERIMENTAL zip, untested by me. Run xattr -dr com.apple.quarantine on the folder first.

If you run the Qwen3.6-35B with the NPU and have pressed Auto-tune before, press it again: your saved settings say blocks of 512, and 1024 is now faster.

Unzip, open ToRc, done.