Is 13k your max context at Q4K_M?
LocalLLaMA
Welcome to LocalLLaMA! Here we discuss running and developing machine learning models at home. Lets explore cutting edge open source neural network technology together.
Get support from the community! Ask questions, share prompts, discuss benchmarks, get hyped at the latest and greatest model releases! Enjoy talking about our awesome hobby.
As ambassadors of the self-hosting machine learning community, we strive to support each other and share our enthusiasm in a positive constructive way.
Exllamav3 is still in development so it's not fully optimized and could have bugs, but I get 16k context with 4bpw (which has very similar perplexity as Q4_K_M, according to developer's own measurements) using only 22GB VRAM, since I also run my desktop env on the same computer.
I'm close to the limit at 23886MiB / 24564MiB of VRAM used when the server is running. I like to have a bit of headroom for other tasks.
But I'm by no means a llama.cpp expert. If you have any tips for better performance I'd love to hear them!
Enable flash attention if you havent already
22466MiB / 24564MiB, awesome, thank you!
You're welcome. Also, whats your gpu and are you using cublas (nvidia) or vulcan(universal amd+nvidia) or something else for gpu postprocessing?
It's a 4090 using cublas. I just run the stock llama.cpp server with CUDA support. Do you know if there'd be any advantage to building it from source or using something else?
If you were running amd GPU theres some versions of llama.cpp engine you can compile with rocm compat. If your ever tempted to run a huge model with partial offloaded CPU/ram inferencing you can set the program to run with highest program niceness priority which believe it or not pushes up the token speed slightly
People implement this on their calculator during class. This is the kind of thing you would write to learn programming, the definition of entry-level. You're using a device that can execute billions of trigonometric calculations per millisecond to produce code that calculates X and Y coordinates for few dozens of points on a radial trajectory.
What the fuck...
There is, seriously, no pleasing some people. You appear to be a vocal member of this highly undignified and odious demographic.
Fair point. My original prompt asked for more, but the model wasn't capable enough. Not sure if the "warp drive" part would be part of any standard algo.
Any ideas on challenges that are new and more fun than the "balls rolling in a hexa-,hepta-,octagon" or "simulate a solar system" prompts everyone's using these days?