Hacker News new | past | comments | ask | show | jobs | submit login

In case it helps others:

> docker run -it -p 3000:3000 node /bin/sh

> npx dalai llama

> npx dalai serve




A containerized version of this thing would be def useful, as it installs global packages and assumes a lot of preinstalled binaries. The node image won't work alone tho, you'll python, pip, git, cpp compiler


Yeah, I've been wanting containers for these type of projects for a while now. Conda is fine if you're already involved in the ML/Python ecosystem, and as an outsider to that world I guess I have no right to complain (Conda is actually not all that hard to learn all things considered), but boy would it be nice if I could just install Docker, run `docker run cool_project/ml_wizardry`, and have a demo up and running in my web browser instantly.


Would nix be a good fit for this?


Doesn't work because there's no numpy installed in the node image:

>ModuleNotFoundError: No module named 'numpy'




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: