News for hackers. Stuff that matters.
Re:Dalai: Automatically install, run, and play with LLaMA on... by devmor on Monday March 13, 2023 @01:12AM (#35131372)
I tried to run your NPX commands from the examples on a fresh WSL install of Ubuntu 20.04, but if you don't have build tools installed, they both just silently fail.

I only realized what was happening after trying to go the other route and use it in a package, where I then noticed the NPM install will give a node-gyp error about make missing.

Re:Dalai: Automatically install, run, and play with LLaMA on... by pmarreck on Monday March 13, 2023 @09:54AM (#35135736)
I'm on NixOS, where you have to explicitly state dependencies (which is a good thing, except when... this happens)

Besides make (which I can quickly set up a project environment to make available for), what other deps do you think it uses but doesn't declare or state? ;)

Re:Dalai: Automatically install, run, and play with LLaMA on... by devmor on Monday March 13, 2023 @10:05AM (#35135871)
The other one I noticed is pip! A lot of the script fails without pip, and it takes until after the fairly long downloads finish to let you know it was needed.
Re:Dalai: Automatically install, run, and play with LLaMA on... by pmarreck on Monday March 13, 2023 @11:12AM (#35136796)
so it needs make/gcc, python AND node available... what versions, I wonder?
Re:Dalai: Automatically install, run, and play with LLaMA on... by devmor on Monday March 13, 2023 @09:05PM (#35145870)
I successfully used the latest version of node LTS (via NVM) and the latest versions of python-pip3 and build essentials from the Canonical apt repo, if that helps.