view the rest of the comments
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.
Rules:
Rule 1 - No harassment or personal character attacks of community members. I.E no namecalling, no generalizing entire groups of people that make up our community, no baseless personal insults.
Rule 2 - No comparing artificial intelligence/machine learning models to cryptocurrency. I.E no comparing the usefulness of models to that of NFTs, no comparing the resource usage required to train a model is anything close to maintaining a blockchain/ mining for crypto, no implying its just a fad/bubble that will leave people with nothing of value when it burst.
Rule 3 - No comparing artificial intelligence/machine learning to simple text prediction algorithms. I.E statements such as "llms are basically just simple text predictions like what your phone keyboard autocorrect uses, and they're still using the same algorithms since <over 10 years ago>.
Rule 4 - No implying that models are devoid of purpose or potential for enriching peoples lives.
I'm on AMD, Linux and llama.cpp too, only difference being that I run 16GB VRAM and 16GB system RAM. I have really been enjoying Cyber-Tiel-Coder as It runs at like 120 t/s with a context of <100k when I need quick small stuff but is still super useable at like 300-500k context (Goes down to like 30-40 t/s)
I don't run any harnesses or extensions, just the barebone llama server with the standard WebUI that comes with it. Here's my exact start script, it might be useful to you as a starting off point:
--n-cpu-moecould be useful if the model doesnt quite fully fit on your GPU. Adjust it up to offload MOE layers to your CPU. The speed hit from it is quite noticeable but a whole lot better than not being able to run a model at all.--cache-type-k q8_0and--cache-type-v q8_0are your context quantizations, putting them on like q4 makes your context go a looooot further but the quality loss is kinda noticeable.You could also play around with
--no-reasoning-preserve. It does exactly what it says and frees up a whole lof of context inbetween steps. Personally I don't think that it harms the quality of the output much to enable it, it's just sometimes annoying then the model chews on the same questions whenever it goes to a new step.Oh, I also just remembered that I had this setup for a "small but fast & stupid" model in my setup scripts. Honestly I don't remember what some of those parameters do anymore but maybe they're interesting for you idk.