The Positive Local AI thread, where Anthropic, OpenAi and Google Haters are welcome

Since you wrote this beast by hand you won’t get flogged for it. :joy:

That monster was written by Tobias and not myself. It’s an insane piece of work that I’ve been maintaining for some years and through a bit of prodding from one of the Ubports guys have started to take apart. The difficulty in it is trying to preserve the visual constancy while also moving to loaders / sub modules. It’s a challenge.

:+1: No project starts out perfectly in all areas and aspects. There can be reasons. I’m not looking down on it.

I dabble in some local AI occasionally, though I don’t let it or anything I’m running it with online, and never really found any model I tried particularly useful. It can occasionally get things right but in general it takes more time to guide it through everything it gets wrong than looking up something in a documentation and some forums. Of course I’m VRAM limited with only 12 GB so can’t run many of the more advanced models yet.

Could still get better over time but I’m not hopeful the way things are going, I bet local AI is among the reasons Altman and co. conjured up that if they don’t stop “unregulated” AI development, it will kill us all in four years. Big companies hate nothing more than competition, especially competition giving people tools to use for free, that’s why they form trusts and “lobby” lawmakers. I wouldn’t be surprised if we actually started seeing laws banning the use of locally run AI and most people from developing any models while these people whisper in the ears and fill the pockets of lawmakers so their subscription models you don’t control, steal your data, profile you, and still you have to pay for them, get to stay while the few companies owning them still get to do whatever they want.
I hope I’m wrong and some people in key positions see through the facade but, again, I’m not hopeful.

I think your fears are certainly justified, but, there are a couple of developments that will make killing local models unlikely. The mobile phone, for one, but many many applications in medicine which already use machine learning methods are another.

The diversity of techniques being developed to reduce the memory needs and increase the efficiency in specific domains is also promising. But, it’s true that you need to hit that sweet spot of 24GB at the moment to see something of real utility. But, as I’ve said before, I actually LIKE programming and the LLMs like TALKING :slight_smile:

I find this thread very interesting. Thank you for sharing your experiences especially with local models.

Would you mind posting more information more detailed information which hardware you are using?

Are you using a dedicated GPU or a CPU with an integrated one? Is a setup with unified memory performing well?

It’s a gamer box from 2023:

  1. Intel(R) Core™ i9-12900KF (24 threads)
  2. 64 GB RAM (sometimes 128, but I swap as I need in another box).
  3. Nvidia RTX4090 with 24GB vram.

This box cost 2600 euros in 2023. No idea what they cost today.

All inference loads are on the GPU except if running ollama where the server is on the cpu.

I have not tried a unified memory approach since the gpu is sufficient for my needs.

Thats what the tech billionaires in silicon valley working oh. They put a lot of money in it and damn, now the open weight open source models coming. Thats not good for them. So the idea is to tell us “we have a bomb but can also sell the shelter if you want”. So a lot of the warnings you hear atm. are part of marketing and now they want regulation because of fear dont generate eranings and this regulation will focussing on the open weight / open source models, Of course there is danger in that topic but its mixed up with marketing, financial interests and competition.
But we need the open weight / open source models. We already lost the internet once to the platforms and story could be the same if only big tech have their hands on that technology.

I use a macbook pro. They have unified memory bandwith and with m4 cpu and 48gb of ram youn can play with it surprisingly good..

Ok, got it. I’m guessing the machine is locked down when inference is running? Or can you also compile c++ while inference is running?

Depends how much RAM you need for compiling and if the total of inference and compiling fits into the overall unified RAM.

Every time I read a press release from Anthropic, I feel like they are living in a parallel universe. And I think they are. They’re both high on their own supply, and also disingenuous when it comes to the state of their technology in an attempt to crush competition. It’s this weird cycle of “OMG our models are too dangerous to release!” and then two weeks later they release it anyway. Rinse, repeat…

Sorry, I don’t use LMM’s because I have learned (and taught) to read and write. LLM’s also cost a lot of energy.
Realtime neurological research with one group of ‘users’ and one group writing traditionally showed that neuro-connections disappeared with using an LLM. I also read about a research with two groups of Polish gastro-enterologists, one using AI for judging an examination, the other group used their own experience. The group using AI had almost lost their skill.

Do you have a link for the gastroenterologists study?

With Trump rebranding AI as “Super Intelligence,” now’s Jolla’s chance to trademark “Sailfish Intelligence.”

But if you use dumber versions of AI you get ever cautious, and still automate some tasks. Also, you train to read self sufficient prose as “don’t trust till you understand”. Might be the winning combo, the middle class LLM

https://www.thelancet.com/journals/langas/home

Scaling does not make LLM’s better experts (e.g. prof. Gary Marcus) say.
Self writing is a different cognitive process than prompting.

Therefore LLM’s should not be used in education.

Well, as a writer and a programmer, I certainly have not stopped writing, translating or programming. I use LLMs fairly sparingly. Not as much as sed and grep or g++. In any case, ‘use it, or lose it’ is an ancient rule that any musician that plays with others knows. Or any poet who attains to more than being a poetaster.

Today I spent several hours playing music with an old friend. Playing instruments requires practice. Which does not keep me from using LLMs. Or sed. Or awk.

Yes, that is certainly true. Though the bigger problems I have with my teenage sons education are about TikTok and Youtube. LLMs are cheat sheets, but his generation have another challenge to face before the LLMs are even an issue. Though at some level (maybe grade 10+) they could accelerate some kinds of learning (ie. Math or Chemistry). First, have to get them to want to learn at all.