Ollama 7B q4 still OOM on an 8 GB card when I push context to 8k
RTX 3070 with 8 GB, Ollama 0.5.7, llama3 7B in q4_K_M. Default context works fine. As soon as I set num_ctx to 8192 it tries to allocate more and dies with a CUDA out of memory error. How much of that is KV cache, and is there a setting that actually helps besides dropping to a smaller model?
4 replies