Hi everyone!
I'm hoping to use Dagger for an internal ML pipeline, which unsurprisingly requires a GPU.
We have a working POV on a VM running the following setup:
containerdis configured to use thenvidia-container-runtime(per this: https://josephb.org/blog/containerd-nvidia/#configure-containerd-to-use-nvidia-container-runtime)buildkitis running on it's own like so:NVIDIA_VISIBLE_DEVICES=all sudo ./buildkitd --oci-worker=false --containerd-worker=true- Ran the dagger engine with
export BUILDKIT_HOST=unix:///var/run/buildkit/buildkitd.sock
Now from everything I've seen, BUILDKIT_HOST isn't something we should depend on.
So the question(s) are:
- is there a recommended way?
- All of our workloads are running in GKE, so I wonder if there's away to achieve this without resorting to an out-of-cluster VM
Many many thanks in advance!
Site of Joseph Borġ