Earlier quoted context omitted.
So you have a Sandybridge processor with AVX support (but not AVX2). Could you open llamafile in a debugger and find out which instructing is faulting and what its address in memory is? I haven't personally tested Sandybridge but I'm reasonably certain we designed the build to not insert any incompatible instructions in there. Our intent is to support you. I also might be able to fish my old ThinkPad out of the close…
I tried but gdb showed me nothing, this screenshot( https://pxscdn.com/public/m/_v2/97422265439883264/bc40e5d2a-... ). gdb layout asm shows "No Assembly Available". Maybe I'm not so skilled in debbuging such programs it's running under wine it seemed to me.
Llamafile lets you distribute and run LLMs with a single file
291–300 of 302 posts
Re: Llamafile lets you distribute and run LLMs with a single file
#292Earlier quoted context omitted.
What is the point of wrapping absolutely portable single-file program into a Docker container, honest question? Looks like cargo cult for me.
I see this as not polluting my OS (filesystem and processes) with bits and bobs I downloaded off the internet. The cargo cult is a clean, safe and warm space and I highly recommend it.
Re: Llamafile lets you distribute and run LLMs with a single file
#293Earlier quoted context omitted.
I tried but gdb showed me nothing, this screenshot( https://pxscdn.com/public/m/_v2/97422265439883264/bc40e5d2a-... ). gdb layout asm shows "No Assembly Available". Maybe I'm not so skilled in debbuging such programs it's running under wine it seemed to me.
Check out the llamafile 0.2.1 release. Old Intel CPU support is fully fixed now on the release page and hugging face. Enjoy!
Re: Llamafile lets you distribute and run LLMs with a single file
#294Earlier quoted context omitted.
I just tried and they still work (with the free ChatGPT). Jokes about Mussolini saying his traffic reforms were as successful as the invasion of Ethiopia and what not. Stalin saying that the other car drivers were "probably discussing the merits of socialism instead of driving" (a good joke!). Göring saying "at least in the Third Reich traffic worked" etc. Some sort of Monty Python tone. But you can't begin with Hitl…
I started with Stalin
Re: Llamafile lets you distribute and run LLMs with a single file
#295Earlier quoted context omitted.
$ chmod +x llamafile-server-0.1-llava-v1.5-7b-q4 $ ./llamafile-server-0.1-llava-v1.5-7b-q4 run-detectors: unable to find an interpreter for ./llamafile-server-0.1-llava-v1.5-7b-q4 Hmm. Did I do something wrong? (Ubuntu 22.04 / ) Installing the portable binfmt_misc gets me further, but still: $ ./llamafile-server-0.1-llava-v1.5-7b-q4 zsh: permission denied: ./llamafile-server-0.1-llava-v1.5-7b-q4 $ sh -c ./llamafile-s…
Last thing you need is to chmod +x the interpreter: chmod +x /usr/bin/ape (it is indeed not in the README)
Re: Llamafile lets you distribute and run LLMs with a single file
#296Currently which are the minimum system requirements for running these models?
Basically enough to fit the download in RAM + a bit more. In practice, you kinda need a GPU, even a small one. Otherwise prompt processing is really slow.
Re: Llamafile lets you distribute and run LLMs with a single file
#297Earlier quoted context omitted.
The model is trained on large volume data, correct? Why would it get such a simple fact incorrect?
LLMs are known to be bad at counting. It would be interesting to see the answer to "List the planets in our solar system, starting with the closest to the sun, and proceeding to farther and farther ones." Also, the knowledge can be kind of siloed. You often have to come at it in weird ways. Also, they are not fact-bases. They are next-token-predictors, with extra stuff on top. So if people on the internet often get t…
Can't wait to unleash Pluto questions.
Re: Llamafile lets you distribute and run LLMs with a single file
#298Earlier quoted context omitted.
Source on the newer GPT-4 model being worse at coding?
Several OpenAI employees have said on Twitter that they are looking into this and developing a fix. It sounds as though it was not an intentional regression since they are implicitly acknowledging it. Could be an unintentional side effect of something else. I'd expect we see improved behavior in the coming weeks.
Re: Llamafile lets you distribute and run LLMs with a single file
#299Earlier quoted context omitted.
That worked, thanks Justine! I use fish, so I didn't get a zsh error, but I had missed the Gotchas section (and the README), so this helps!
Fish is another cool shell I got to help improve two years ago by upstreaming a patch for this. So long as you're using a recent version, you should be golden (provided binfmt_misc doesn't cause any issues). Let us know what you think of llamafile!
Re: Llamafile lets you distribute and run LLMs with a single file
#300Hmmm no matter what image I upload, it's somehow not seeing it. Got a chuckle out of this, though: --- User: Describe the image in the most detailed way possible Llama: The image is a close-up of an empty, dark room with no visible objects or people. It appears to be a black background photo that highlights the darkness and emptiness of the space. This could potentially represent an artistic representation or an actu…
Interesting, I uploaded a pure white 50x50 png and got this: > User: Describe this image in the most detailed way possible > Llama: The image displays a large, mostly white background with some small gray areas. There is also an orange dot on the right side of the scene, which stands out against the predominantly white and gray backdrop. > User: Is it just a white square? > Llama: No, it is not just a white square. T…