github mw00/project-maya v1.1.91

44 minutes ago

Inkling 2 runs much faster on AMD Radeon graphics. On a Radeon 8065S (Ryzen AI Max+ PRO 495, 192 GB of memory, Linux) Inkling 2 Small writes answers at 27.1 tok/s instead of 16.6 and reads prompts at 413 tok/s instead of 347; Inkling 2 Mini writes at 63.6 tok/s instead of 51.0. The answers of our tests are the same as before. Nothing to switch on.

  • Inkling 2 Small on AMD: decode 16.6 -> 27.1 tok/s (+63%) with drafting, the default. The model's experts and its drafter now run on GPU code written for Radeon, and the engine decides how far to trust each draft from how sure the drafter is of it. With drafting off: 15.2 -> 19.1 tok/s (+25%).
  • Inkling 2 Small on AMD: prompt reading 347 -> 413 tok/s on a 2K-token prompt (+19%) and 335 -> 406 tok/s on an 8K-token prompt (+21%). A long prompt's experts are worked through in larger pieces, and the attention step fetches what it needs earlier.
  • Inkling 2 Mini on AMD: decode 51.0 -> 63.6 tok/s (+25%) with drafting, the default; prompt reading 1,244 -> 1,349 tok/s on a 2K-token prompt (+8%) and 1,132 -> 1,231 tok/s on an 8K-token prompt (+9%). Mini's experts (NVFP4) and its drafter got the same Radeon code.
  • How we measured. ./maya.sh --bench, v1.1.90 against v1.1.91 in alternated rounds, on one PC: AMD Ryzen AI Max+ PRO 495 with its Radeon 8065S and 192 GB of unified memory, Linux. Inkling 2 Small: the IQ1_S-mix file at 128K context. Inkling 2 Mini: the Maya-L file at 64K context. Default settings. Every answer of the test is identical to v1.1.90's, with drafting and without. The new expert code covers IQ1_S, IQ2_XXS and NVFP4 experts on the Radeon cards the engine runs on (RDNA 3 and newer); we have not measured other cards, other files, or Windows with a Radeon card.
  • Inkling 2 Small: short prompts answer sooner on AMD. A question of a few lines now goes through the Radeon code too, so the first text of the answer arrives much sooner.
  • Inkling 2 drafting: the engine now sizes each drafting step from the drafter's own confidence. On NVIDIA and Intel cards a start begins as in v1.1.90 and the new rule takes over once it has learned from your first answers. Inkling 2 Small with drafting: about 10% faster decode on our three-card NVIDIA server, same answers. IK2_DRAFT_CONF=0 keeps v1.1.90's rule.
  • Inkling 2 Mini on an NVIDIA card it does not fit: the part that runs on the CPU now sizes itself to your CPU. The engine tries several numbers of CPU threads on your own answers and keeps the smallest that is as fast as the best; the CPU workers no longer all read the same block, and the lane gives CPUs back while other programs are busy. With our NVIDIA server held to 6 CPU cores and 10 GB of VRAM (Linux, drafting off) we measured about 20% faster decode, same tokens. The Windows build has the same code; we have not run it there. IK2_LANE_THREADS still sets it by hand, IK2_LANE_TUNE=0 switches the trial off.
  • Fix, Inkling 2 with thinking off: the answer's first words show as soon as they are written. Since v1.1.86 the first line of an answer was held back until its line break; now it is held only while it still looks like a reasoning note.
  • Follow-up to #1378, not yet confirmed on Windows: Inkling 2 Small on Windows with an NVIDIA card should no longer stop at load when Windows will not lock more memory. The engine now reads how much Windows lets it lock, locks only that much and reads the other experts from the model files. On Linux, with a limit set by hand, this path loads and gives the same tokens; the Windows build compiles, and we have not run it on Windows.
  • Fix: forcing the expert order (IK2_TIER_ORDER) no longer switches off the recent-experts feature.
  • New settings (docs/SETTINGS.md): IK2_LANE_TUNE, IK2_LANE_WAIT, IK2_DRAFT_CONF, IK2_DRAFT_START, IK2_DRAFT_LEARN; opt-in: IK2_DRAFT_REUSE, IK2_DRAFT_REST, IK2_SPEC_LOG, IK2_PIN_KEEP_RAM, IK2_PIN_BUDGET_GB.

Don't miss a new project-maya release

NewReleases is sending notifications on new releases.