CUDA out of memory at long context even with q4
llama.cpp server (b4610) serving llama3.1-8b q4_K_M on a 4060 Ti 16gb. fine at 4k context, but when i send a 12k token prompt i get ggml_cuda_alloc:CUDA error 2: out of memory and the request dies. model is only 4.9gb so where's the rest going? running with -c 16384.
4 replies