News for hackers. Stuff that matters.
Re:Llamafile lets you distribute and run LLMs with a single ... by pdntspa on Wednesday November 29, 2023 @08:13PM (#38467879)
I don't get this obsession with 0-click everything. It is really annoying when you don't want to install everything to your main hard drive. I have all my models downloaded, organized, and ready-to-go but apps won't even ask for that, instead it presumes I am an idiot and downloads it (again!) for me.

At least Makeayo asks where my models are now. It's obnoxious that I have to use symlinks for comfy/automatic....

All they need to do is ask me where my stuff is on first run, and an area in the config to update that setting. Not so hard!

Re:Llamafile lets you distribute and run LLMs with a single ... by simonw on Wednesday November 29, 2023 @08:42PM (#38468147)
Sounds like you should download the 4.45MB llamafile-server-0.1 executable from https://github.com/Mozilla-Ocho/llamafile/releases/tag/0.1 and then run it against your existing gguf model files like this:

    ./llamafile-server-0.1 -m llama-2-13b.Q8_0.gguf
See here: https://simonwillison.net/2023/Nov/29/llamafile/#llamafile-t...
Re:Llamafile lets you distribute and run LLMs with a single ... by rgbrgb on Wednesday November 29, 2023 @08:46PM (#38468179)
fwiw FreeChat does this now. It prompts you to download or select a model to use (and you can add as many as you want). No copying or forced downloads.
Re:Llamafile lets you distribute and run LLMs with a single ... by mft_ on Thursday November 30, 2023 @02:12AM (#38470625)
If I'm understanding (and agreeing with) your gripe correctly, isn't it two solutions to the same perceived problem?

My experience is that the world of Python dependency management is a mess which sometimes works, and sometimes forces you to spend hours-to-days searching for obscure error messages and trying maybe-fixes posted in Github issues for some other package, just in case it helps. This sometimes extends further - e.g. with hours-to-days spent trying to install just-the-right-version-of-CUDA on Linux...

Anyway, the (somewhat annoying but understandable) solution that some developers take is to make their utility/app/whatever as self-contained as possible with a fresh install of everything from Python downwards inside a venv - which results in (for example) multiple copies of PyTorch spread around your HDD. This is great for less technical users who just need a minimal-difficulty install (as IME it works maybe 80-90% of the time), good for people who don't want to spend their time debugging incompatibilities between different library versions, but frustrating for the more technically-inclined user.

This is just another approach to the same problem, which presumably also presents an even-lower level of work for the maintainers, since it avoids Python installs and packages altogether?

Re:Llamafile lets you distribute and run LLMs with a single ... by pdntspa on Thursday November 30, 2023 @06:26AM (#38472213)
I get that, my issue is when the model is coupled with the app, or the app just presumes I don't have it downloaded and doesn't ask me otherwise. This is like basic configuration stuff...

What I suspect is happening is that people are cargo-culting zero-click installations. It seems rather fashionable right now.

Re:Llamafile lets you distribute and run LLMs with a single ... by rgbrgb on Thursday November 30, 2023 @09:36AM (#38474004)
I don’t think making it easy to install is cargo-culting. In my case it’s an accessibility thing. I wanted a private alternative that I could give to nontechnical people in my life who had started using ChatGPT. Some don’t understand local vs cloud and definitely don’t know about ggufs or LLMs but they all install apps from the App Store.
Re:Llamafile lets you distribute and run LLMs with a single ... by whstl on Thursday November 30, 2023 @10:36AM (#38474769)
In the README of the project (the TFA of this whole thread) there is the option to download the app without the model:

"You can also also download just the llamafile software (without any weights included) from our releases page, or directly in your terminal or command prompt"

There is no cargo-culting going on. Some of us do legitimately appreciate it.

Re:Llamafile lets you distribute and run LLMs with a single ... by pdntspa on Thursday November 30, 2023 @12:57PM (#38476640)
Which has been followed, and this comment was not a response to this specific app but rather a general trend I've noticed and was mentioned at the start of this thread
Re:Llamafile lets you distribute and run LLMs with a single ... by whstl on Thursday November 30, 2023 @01:56PM (#38477492)
I was answering to this complaint: "my issue is when the model is coupled with the app".

In this specific case there is an option for you that addresses this complaint, where the model isn't coupled with the app.

Re:Llamafile lets you distribute and run LLMs with a single ... by ElectricalUnion on Thursday November 30, 2023 @10:57AM (#38475041)
Is this the sentiment around?

Is having everything normalized in your system that worth it? I would say having (some) duplicates in your system is mostly fine, better that having some spooky-action-at-a-distance break things when you don't expect.

I expect the future is something like Windows's WinSxS, NixOS's /nix/store, pnpm's .pnpm-store where that deduping isn't "online" but it still is somewhat automated and hidden from you.

Re:Llamafile lets you distribute and run LLMs with a single ... by pdntspa on Thursday November 30, 2023 @01:01PM (#38476693)
> Is this the sentiment around?

Yes? It's right here, at the least.

And if that's the future, then the future sucks. We can teach people to be smarter, but no, instead our software has to bend over backwards to blow smoke up our ass because grandma.

Re:Llamafile lets you distribute and run LLMs with a single ... by joenot443 on Thursday November 30, 2023 @09:17AM (#38473788)
The “obsession” isn’t for developers like you or I, it’s for non-technical but curious non-engineers who would still like to play around with an LLM.

I think you’re imposing your own very specific (and solvable!) gripe onto an unrelated project and it makes for pretty clumsy commentary.

Re:Llamafile lets you distribute and run LLMs with a single ... by whstl on Thursday November 30, 2023 @10:34AM (#38474747)
Yep.

But also: It might not be for a developer like you, but it is for a developer like me.

I enjoy writing software, but I don't particularly enjoy futzing with building things outside my day-to-day work, and on systems I don't write myself. If it was up to me everything would be one click.

Things like this are like accessibility: it benefits me even though I don't particularly need it.

Re:Llamafile lets you distribute and run LLMs with a single ... by pdntspa on Thursday November 30, 2023 @01:05PM (#38476747)
It's the way things have been for god-knows-how-long, and it has worked really really well.

I am utterly amazed and perplexed that answering ONE configuration question (which is all that is needed here) is too much. How lazy have we become?

One question. That is too much for folks?!

And I have no objection to the autodownloading. Just ask me where to put it first!