524 karma · joined Jul 19, 2019 (7y ago) · 207 submissions
Socials: - github.com/ookami125
Interests: Gaming, Open Source, Programming
---
Email: TylerLGPeterson@gmail.com
Discord: cieric
Kind of do a little bit of everything, but like staying low level if possible.
comment 1w ago · link · parent
comment 2mo ago · link · parent
comment 2mo ago · link · parent
comment 2mo ago · link · parent
comment 2mo ago · link · parent
comment 2mo ago · link · parent
comment 2mo ago · link · parent
comment 3mo ago · link · parent
comment 3mo ago · link · parent
Thanks for bringing that up though, after a quick search that I guess I haven't done in a long time, it appears that colmap does now have a hip backend. So I guess that's going to be my weekend now.
comment 3mo ago · link · parent
comment 3mo ago · link · parent
comment 3mo ago · link · parent
comment 4mo ago · link · parent
comment 4mo ago · link · parent
comment 4mo ago · link · parent
comment 4mo ago · link · parent
comment 4mo ago · link · parent
I also know I did some things that would actually make the perf worse to, like I believe I also had AI mmap the KV Cache to make sure to runs under any circumstance. For actual optimizations based on what I currently know, I'm probably going to try and get the llm running under my igpu on my laptop with persistent shader that has some kind of inbuilt request mechanism. That way the weights that are loaded can be used as fast as possible.
For the expert prediction, I assume I could use the medusa paper as kind of a kick off point for that since I'm already using it to try and predict the next 4 tokens. Doing verification on those 4 tokens is about as much as I can do though since it started to thrash on loading the experts. So some method of predicting even more tokens, but then batching together those with the same experts would probably yield slightly better results in this weird case.
Note: All of my tests have been around programming since that's the use case I'm interested in. I don't actually know if this would preform well in other cases (and anything more broad than that I assume would be slower.)
comment 4mo ago · link · parent
To expand since I just got home, I'm making all of my modifications to llama.cpp, the goal was to eventually put this on a SBC of some kind with an nvme to handle the mmapped files. I think the theoretical limit of my current setup is about 1.8 tok/s based on prior testing but that is also with the additional medusa heads not fully trained (I honestly don't know if the counting it's generated tokens or not.)
In the end it seems like the idea we had is similar, I just don't know how to write an llm parser/runner from scratch yet and instead of specifying what needed to stay in memory I just let the linux kernel handle it.
Oh last note, I also capped llama.cpp usage to 16GB of my 32GB, so it might be possible to get it down even lower.
comment 5mo ago · link · parent
If anything since the keyboard shortcut already exists, you could always put it in little cursor menu at the bottom of the screen. But yeah up to you, I look forward to your progress.
comment 5mo ago · link · parent
comment 5mo ago · link · parent