Not enough VRAM: context length is the hidden killer
The caller passes bytes_per_token. Length 2, 2 layers, and coefficient 8 give a cache of 32. Params are 100. Length 4 gives a cache of 64. Params stay 100. The 8 and the 100 are not the occupancy ratio on any one card.