News for hackers. Stuff that matters.
Re:Bringing K/V context quantisation to Ollama by satvikpendem on Wednesday December 04, 2024 @09:20PM (#42324163)
What's the best way to use Ollama with a GUI, just OpenWebUI? Any options as well for mobile platforms like Android (or, I don't even know if we can run LLMs on the phone in the first place).
Re:Bringing K/V context quantisation to Ollama by qudat on Wednesday December 04, 2024 @10:02PM (#42324391)
For hosting a web gui for ollama I use https://tuns.sh

It really convenient because it's just an SSH tunnel and then you get automatic TLS and it protects your home IP.

With that you can access it from your mobile phone, just gotta require a password to access it.

Re:Bringing K/V context quantisation to Ollama by satvikpendem on Wednesday December 04, 2024 @10:07PM (#42324419)
I'm running OpenWebUI via Docker via OrbStack, it also automatically provides TLS and works pretty well.
Re:Bringing K/V context quantisation to Ollama by minwidth0px on Thursday December 05, 2024 @11:12AM (#42329488)
Re:Bringing K/V context quantisation to Ollama by sadeshmukh on Wednesday December 04, 2024 @09:25PM (#42324186)
A lot of the UIs, including OpenWebUI have the feature to expose over LAN with users - that's what I did to use my GPU while still being on my phone. Not entirely sure about native UIs though.

Also, I normally use Groq's (with a q) API since it's really cheap with no upfront billing info required - it's a whole order of magnitude cheaper iirc than OpenAI/Claude. They literally have a /openai endpoint if you need compatibility.

You can look in the direction of Google's Gemma if you need a lightweight open weights LLM - there was something there that I forgot.

Re:Bringing K/V context quantisation to Ollama by smcleod on Wednesday December 04, 2024 @09:29PM (#42324210)
I personally use a mix of Open WebUI, Big AGI, BoltAI, AnythingLLM on the desktop. The mobile space is where things are really lacking at the moment, really I just end up browsing to Open WebUI but that's not ideal. I'd love a iOS native client that's well integrated into Siri, Shortcuts, Sharing etc...
Re:Bringing K/V context quantisation to Ollama by huijzer on Thursday December 05, 2024 @12:56AM (#42325371)
I have Open WebUI on a Hetzner instance connected to Deep Infra. Works on mobile by turning the web page into an app. I find the web framework that WebUI uses quite bloated/slow, but apart from that it does work reliably. Price at Deep Infra is typically about $0.04 per month even when actively asking lots of questions during programming.
Re:Bringing K/V context quantisation to Ollama by paradite on Thursday December 05, 2024 @01:22AM (#42325499)
I built a custom GUI for coding tasks specifically, with built-in code context management and workspaces:

https://prompt.16x.engineer/

Should work well if you have 64G vRAM to run SOTA models locally.

Re:Bringing K/V context quantisation to Ollama by throwaway314155 on Thursday December 05, 2024 @02:44AM (#42325923)
> Should work well if you have 64G vRAM to run SOTA models locally.

Does anyone have this?

edit: Ah, it's a Mac app.

Re:Bringing K/V context quantisation to Ollama by paradite on Thursday December 05, 2024 @04:21AM (#42326441)
Yeah Mac eats Windows on running LLMs.

My app does support Windows though, you can connect to OpenAI, Claude, OpenRouter, Azure and other 3rd party providers. Just running SOTA LLMs locally can be challenging.

Re:Bringing K/V context quantisation to Ollama by throwaway314155 on Thursday December 05, 2024 @11:04PM (#42336225)
I'm pretty satisfied with my linux nvidia gpu setup. I may not have as much memory on my card, but the speed is almost certainly competitive if not outright faster. Further there are lots of techniques that mitigate this issue like offloading/streaming layers in as needed, quantizing, etc.

It also handles actual training/finetuning better.

Re:Bringing K/V context quantisation to Ollama by gzer0 on Thursday December 05, 2024 @06:21AM (#42327075)
M4 Max with 128 GB RAM here. ;) Love it. A very expensive early Christmas present.
Re:Bringing K/V context quantisation to Ollama by accrual on Thursday December 05, 2024 @02:37PM (#42331796)
Great looking GUI, I find simple black/white/boxy/monospace UIs very effective.
Re:Bringing K/V context quantisation to Ollama by rkwz on Thursday December 05, 2024 @01:26AM (#42325523)
If you’re using a Mac, I’ve built a lightweight native app - https://github.com/sheshbabu/Chital
Re:Bringing K/V context quantisation to Ollama by antirez on Thursday December 05, 2024 @05:15AM (#42326709)
That's very cool, finally a native app that runs fast. Thanks.
Re:Bringing K/V context quantisation to Ollama by rkwz on Thursday December 05, 2024 @06:44AM (#42327212)
Thanks for the kind words :)
Re:Bringing K/V context quantisation to Ollama by magicalhippo on Thursday December 05, 2024 @03:47AM (#42326237)
Aa a Windows user, who just wanted something bare bones for playing, I found this[1] small project useful. It does support multi-modal models which is nice.

[1]: https://github.com/jakobhoeg/nextjs-ollama-llm-ui

Re:Bringing K/V context quantisation to Ollama by seb314 on Thursday December 05, 2024 @09:43AM (#42328666)
For running llms _locally_ on Android, there's "pocketpal" (~7tok/s on a pixel 7 pro for some quant of llama 3.2 3B).

(Not sure if it uses ollama though)

Re:Bringing K/V context quantisation to Ollama by vunderba on Thursday December 05, 2024 @10:54AM (#42329336)
As far as open source goes, I'd probably recommend LibreChat. It has connections for ollama, openai, anthropic, etc. It let's you setup auth so you can theoretically use it from anywhere (phone, etc.).

Fair warning, it's relatively heavyweight in so far as it has to spin up a number of docker instances but works very well.

https://github.com/danny-avila/LibreChat

Re:Bringing K/V context quantisation to Ollama by zerop on Thursday December 05, 2024 @12:36PM (#42330393)
Many are there, apart from what others mentioned I am exploring Anything LLM - https://anythingllm.com/. Liked the workspace concept in it. We can club documents in workspaces and RAG scope is managed.