Skip to content

v0.3.0: runs on CPUs without AVX-512

Choose a tag to compare

@0xaron 0xaron released this 27 Nov 04:52
· 46 commits to main since this release
3c6725b

openset-llm now runs on its own kernels on CPUs without AVX-512, and a start-up bug on those CPUs is fixed.

Added

  • 256-bit kernels for CPUs without AVX-512 (AVX2, and AVX-VNNI where the CPU has it): Intel Core, 12th gen and newer included, and AMD Zen 1 to 3. ./install.sh and --portable builds pick them by themselves. Measured on Ice Lake server VMs with AVX-512 disabled: plain decoding 6.1–7.7 tok/s, 3.5× the previous path, 1.5× ik_llama.cpp and 2.2× PrismML's current fork on the same box (#76).
  • ./serve --spec on these CPUs turns speculative decoding on and drafts 2 tokens ahead: 7.2–8.7 tok/s on the benchmark prompts. It is off by default there because it speeds up code and JSON and slows down prose. ./bench/quick.sh --plain --spec measures both on your machine (#76).
  • A kernel test against a scalar reference, bit-exact, run by CI (#76).

Fixed

  • In 0.2.0 and earlier, a --portable build could not start on a CPU without AVX-512. The Docker image and --bin-url binaries are made from that build. Found and checked under emulated Haswell and Alder Lake CPUs (#76).

Upgrade

Run git pull && ./install.sh in your clone. Machines with AVX-512 are unchanged. The model file is unchanged.

What is next

  • We are making this path faster.
  • Measurements on real AVX2-only desktop and laptop chips come next, and we will publish the numbers.
  • Phones are the next target we are working on.

If you run it on a CPU without AVX-512, please post the block that ./bench/quick.sh --plain --spec prints as a "Measurement on my machine" issue.

Thanks

Thank you to everyone who told us openset-llm was slow on laptops and desktops without AVX-512. This release is for you.

Details: CPUs without AVX-512 · Full list: CHANGELOG.md