I'm already getting 1.5tok on Ubuntu running on Android via UserLand w/ Llama.cpp(v2-Q4). Don't really see acceleration. If anything I need to see my phone do something actually useful at let's say 7-10toks
GPU-Accelerated LLM on an Orange Pi
21–30 of 84 posts
Re: GPU-Accelerated LLM on an Orange Pi
#22Earlier quoted context omitted.
How about a local wikipedia dump, with precalculated embeddings? Then you can perform a similarity search first and feed the results to the LLM. It’s less likely to hallucinate this way.
this concept already exists and is in practice at many companies that require knowledge driven results. https://arxiv.org/abs/2005.11401
They trained up their own LLM, but from the text it seems like it might be possible to use any LLaMA-style LM without retraining. Not sure though, need to give it a proper look.
Re: GPU-Accelerated LLM on an Orange Pi
#23I've been thinking of this. It's just fascinating to me to have a small device that you can converse with and knows almost everything. Perfect for preppers / survivalists. Store it in a faraday cage along with a solar generator.
English Wikipedia will fit on an SD card. It's more valuable and more practical.
Re: GPU-Accelerated LLM on an Orange Pi
#24Orange Pi 5 has an NPU. I wonder if it'd be any faster than using GPU.
Re: GPU-Accelerated LLM on an Orange Pi
#25Earlier quoted context omitted.
It would be great to see such project implemented, I wonder how good would it perform
Yes, especially having fact checked output of LLMs would be a nice step in the right direction. Throwing out the hallucinated bits and keeping the good stuff would make LLMs a lot more applicable.
Re: GPU-Accelerated LLM on an Orange Pi
#26I've been thinking of this. It's just fascinating to me to have a small device that you can converse with and knows almost everything. Perfect for preppers / survivalists. Store it in a faraday cage along with a solar generator.
Depending on an LLM for survival is a good way to end up dead. English Wikipedia will fit on an SD card. It's more valuable and more practical.
Re: GPU-Accelerated LLM on an Orange Pi
#27Earlier quoted context omitted.
Yes, especially having fact checked output of LLMs would be a nice step in the right direction. Throwing out the hallucinated bits and keeping the good stuff would make LLMs a lot more applicable.
https://arxiv.org/pdf/2308.04430.pdf is interesting from that point of view. They've tackled it from the perspective of avoiding copyright content in training, but including it in inference but I think it ought to mean less hallucination because they also (claim to) solve the attribution problem.
Re: GPU-Accelerated LLM on an Orange Pi
#28A bit like you can self host your apps at home on a Umbrel box.
I wonder if the NVIDIA Jetson serie would be the hardware that makes the most sense?
Re: GPU-Accelerated LLM on an Orange Pi
#29Earlier quoted context omitted.
It would be great to see such project implemented, I wonder how good would it perform
Yes, especially having fact checked output of LLMs would be a nice step in the right direction. Throwing out the hallucinated bits and keeping the good stuff would make LLMs a lot more applicable.
That was my personal experience in general with ChatGPT as well as LLaMa1/2.
Re: GPU-Accelerated LLM on an Orange Pi
#30I'm surprised we haven't seen dedicated boxes to self host your uncensored & private LLM yet. A bit like you can self host your apps at home on a Umbrel box. I wonder if the NVIDIA Jetson serie would be the hardware that makes the most sense?