Skip to content

TokenWing v0.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 21 Nov 13:16
· 4 commits to 342e106831e87f5f986751f2b6f5171cf4d85902 since this release
0f11900

Highlights

  • Elastic RAM (Linux and Windows). The engine now shares RAM with your other apps: when another program needs memory, TokenWing gives expert slots back at once, and takes them back once things are calm again. One number, --moe-stream-ram-free, sets how much RAM is always left free.
  • Warm from the first message. With --moe-stream-idle-load 2 the RAM is filled with the most-used experts before the model counts as loaded, so the first reply does not start cold.
  • Better use of the graphics card. VRAM headroom can be set per GPU (--moe-stream-vram-free CUDA0=1GiB,CUDA1=512MiB), whole layers are placed on each GPU automatically (--moe-stream-gpu-layers-device <card>=auto), the VRAM pool's headroom is no longer reserved twice (more experts fit), and a load that would leave too little room retries with one whole layer fewer instead of failing.
  • Our own web chat page, built into llama-server, with light and dark themes.
  • One package for every CPU. The x64 packages carry a CPU module for each CPU level and load the best one for your processor, so AVX-512 machines get their fast kernels from the same download.
  • AMD on Linux, nothing extra to install. The Linux ROCm package now carries the ROCm runtime for Radeon RX 6000, RX 7000 and RX 9000 cards and Ryzen AI / Strix Halo graphics.
  • Every package built, started and signed automatically. All 13 packages come from one automated build; each is started and answers a short prompt before it is published, and the release carries a signed checksum list plus a per-file list so Run My AI updates the engine file by file.
  • The autotuner now reports each graphics card's full name next to its device name.

Fixes

  • Windows: requests with Flint no longer fail in the word splitter. Flint's split now runs through a hand-written splitter, and any other pattern that the system's regex cannot handle falls back to splitting on whitespace instead of failing the request.
  • Windows: the CUDA packages now include the CUDA runtime files; AVX-512 VBMI is used on CPUs that have it; elastic RAM treats page-file activity as memory pressure only when free RAM is actually low.
  • Before a GPU prompt, the experts held in VRAM are copied back to RAM, so they are not read from the SSD again afterwards.