github mw00/project-maya v1.1.89

2 hours ago

Inkling 2 Mini decodes much faster on graphics cards that cannot hold the whole model: +46% to +74% on PCs that fetch the missing experts over PCIe and +18% to +28% on PCs that compute them on the CPU, with the same tokens as v1.1.88 in our runs; and the web page's three.js starter idea is now a complete scene.

  • Inkling 2 Mini on a card that cannot hold the whole model, on PCs that fetch the missing experts over PCIe: decode +74% on a 10 GB layout and +46% on an 8 GB layout against v1.1.88, with the same tokens as v1.1.88. Measured with ./maya.sh --bench on one NVIDIA card limited to 10 GB and to 8 GB of VRAM, context 51,200, drafting off, with the engine set to fetch over PCIe (IK2_LANE=0). More of the experts a conversation needs now stay in VRAM. On by default on Linux and on Windows with one NVIDIA GPU, from a PC's second start on, for plain decoding of one conversation at a time (not with drafting or KV streaming in use on that card). On Windows the engine first checks that the experts this keeps pinned in RAM fit Windows' limit for the engine and the free RAM; where they do not, it says so in one line and starts as it did before. On AMD cards it is a pair of settings, IK2_RECENT=1 and IK2_WLEND=1, that we have not run there yet. IK2_RECENT=0 and IK2_WLEND=0 switch them off.
  • Inkling 2 Mini on PCs that compute the missing experts on the CPU: decode +28% on an 8 GB layout and +18% on a 10 GB layout against v1.1.88, with the same tokens, in the same --bench runs on a two-socket PC. The CPU kernels for the default model file's experts are faster on AVX-512 and on AVX2 CPUs, and on Linux PCs with two or more CPU sockets the experts held in RAM are now spread over the sockets. A one-socket PC gets the faster kernels alone, so a smaller gain. IK2_LANE_NUMA=0 switches the spreading off.
  • Where the whole model fits in VRAM nothing changes: same tokens and the same speed as v1.1.88 in our run.
  • Fix: on PCs that compute the missing experts on the CPU, the first start of Inkling 2 Mini decoded slower than every later start. The first start is now as fast as the next.
  • Not tested here: RTX 30, 40 and 50 cards (our measurements are from one older NVIDIA card limited to 8 GB and 10 GB) and Windows, where the new code is compiled but not run: we have no Windows PC with an NVIDIA card. If you run Inkling 2 Mini on an 8 to 12 GB card, on Linux or on Windows, please post your --bench line.
  • New settings, described in docs/SETTINGS.md: IK2_RECENT, IK2_WLEND, IK2_KEEP_EST, a wider IK2_LANE_NUMA, and an experimental IK2_HEADROOM_MB for cards with memory to spare (read its row before using it).
  • Web page: the three.js starter idea now asks for a complete scene - Neptune with its rings and moons, which you can rotate and zoom.

Don't miss a new project-maya release

NewReleases is sending notifications on new releases.