Better HN
topnewbestaskshowjobs
Log inSign up

kiview

6 karma · joined Oct 14, 2021 (5y ago) · 9 submissions

Submissions

comment 9mo ago · link · parent

Yeah, we are on it. In the current version, things are hardcoded and implicit (we are also in experimental preview), but soon it will be configurable and explicit.

comment 1y ago · link · parent

You can run the same model in production, using Docker Model Runner in Docker CE. This is assuming, the model works for your production use case :)

comment 1y ago · link · parent

You can check out my blog post on publishing models to Docker Hub using Docker Model Runner :) https://www.docker.com/blog/publish-ai-models-on-docker-hub/

comment 1y ago · link · parent

Unfortunately not, since the container won't have access to the Apple silicon GPU. That's why in our architecture, we have to run llama.cpp as a host process and wire it up with the rest of the Docker Desktop architecture, to make it easily accessible from containers.

comment 1y ago · link · parent

(disclaimer: I'm leading the Docker Model Runner team at Docker)

We decided to start with Apple silicon Macs, because they provide one of the worst experiences of running LLMs in a containerized form, while at the same time having very capable hardware, so it felt like a very sad situation for Mac users (because of the lack of GPU access within containers).

And of course we understand who our users are, so believe me when I say, macOS users on Apple silicon make up a significant portion of our user case, else we would not have started with it.

In production environments on Docker CE, you can already mount the GPUs, so while the UX is not great, it is not a blocker.

However, we have first class support for Docker Model Runner within Docker CE on our roadmap and we hope it comes sooner rather than later ;) It will also be purely OSS, so no worries there.

comment 1y ago · link · parent

Better late than never ;)

comment 1y ago · link · parent

(disclaimer: I'm leading the Docker Model Runner team at Docker)

We are not packaging models as Docker images, since indeed that is the wrong fit and comes with all kinds of technical problems. It also feels wrong to pure package data (which models are) into an image, which generally expects to be a runnable artifact.

That's why we decided to use OCI Artifacts, and specify our own OCI Artifact subset that is better suited for the use case. The spec and implementation is OSS, you can check it out here: https://github.com/docker/model-spec

comment 1y ago · link · parent

(disclaimer: I'm leading the Docker Model Runner team at Docker)

It's fine to disagree of course, but we envision Docker as a tool that has a higher abstraction level than just container management. That's why having a new domain-specific command (that also uses domain-specific technology that is independent from containers, at least on some platform targets) is a cohesive design choice from our perspective.

comment 1y ago · link · parent

(disclaimer: I'm leading the Docker Model Runner team at Docker)

You were always able to manually install Docker CE within WSL2 on Windows. But if you want to have an integrated Docker experience on the Windows host, you need to use Docker Desktop, which will ship it's own Linux VM and performs the transparent integration with the Windows host.

This is fully independent of the Docker Model Runner feature thought :)