llama.cpp-p100

by Junk GPU Lab · Runtime · Text & code

A patched version of llama.cpp tuned for old Tesla P100 cards, so cheap used GPUs run local language models quickly.

Latest · Nov 21Patched llama.cpp branch for the P100 that runs SenseNova Loop 9B, with the Sinkhorn loop fused into one GPU job

AccessOpen codePricefreeRuns onLinuxLicenseMIT

Seen running on

MachineSpeedHowSeen by
4 runs on 16 GB
Tesla P10036.5 tok/s9B · Q4_K_MJunk GPU Lab · Nov 21
Tesla P10028.5 tok/s9B · Q4_K_MJunk GPU Lab · Nov 21
Tesla P10043.4 tok/s27B · PQ2_0Junk GPU Lab · Nov 13
Tesla P100no speed givenJunk GPU Lab · Nov 13
1 run on 32 GB: 25.5 tok/s
2× Tesla P10025.5 tok/s177B · IQ3_XXS · 16K context · part in system memoryJunk GPU Lab · Nov 3

Evidence

  1. Nov 21
    Junk GPU Lab published a llama.cpp fork for P100 cards
    Hands-on testJunk GPU Lab
  2. Nov 21
    Fusing the Sinkhorn loop into one GPU job took speed from 8 to 31.6 tokens/s, and merging the steps around it reached 36.5 on a short test, at about 165 W
    Hands-on testJunk GPU Lab
  3. Nov 21
    CUDA graphs made no real difference, and multi-token-prediction guessing ahead was slower every time (33 tokens/s with one guess, 28.5 with two), so it is off
    Hands-on testJunk GPU Lab
  4. Nov 13
    On the 2-bit PQ2_0 file (~7.2 GB) one P100 does 37.3 tok/s, or 43.4 tok/s with MTP
    Hands-on testJunk GPU Lab
  5. Nov 13
    On Kindi's PTQ1_0 file the P100 patch reached only 21.3 tok/s, below Kindi's 31.9; the 2-bit file numbers are a different file
    Hands-on testJunk GPU Lab
Show all 6
  1. Nov 3
    Tuned llama.cpp build ran the 177B IQ3_XXS model at 25.5 tok/s median on two P100s, with hot experts on the cards and the rest in RAM
    Hands-on testJunk GPU Lab

Everything said about llama.cpp-p100, on the wire

Cost to run

Alternatives

STRATAPatched Strata with draft-ahead on gave a 55 tok/s median on 16 fresh prompts, versus 25.5 for the reviewer's llama.cpp build