3 ms·
In case it helps others: > docker run -it -p 3000:3000 node /bin/sh > npx dalai llama > npx dalai serve
by arcastroe 4y ago
In case it helps others:
> docker run -it -p 3000:3000 node /bin/sh
> npx dalai llama
> npx dalai serve
- evolveyourmind 4y agoA 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
- Ajedi32 4y agoYeah, 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.
- SparkyMcUnicorn 4y agoWould nix be a good fit for this?
- kgeist 4y agoDoesn't work because there's no numpy installed in the node image: >ModuleNotFoundError: No module named 'numpy'