Running chroma from docker
e-osipov opened this issue · 3 comments
e-osipov commented
Hi everyone,
I wonder how to properly create docker image and run container in order to utilize GPU? For now, chroma is running using CPU only.
What I did:
- I created an image from
Dockerfile
usingdocker build -t chroma .
command - Container was started using
docker run -i -t --runtime=nvidia --gpus all chroma
nvidia-smi
within container will show that I have GPU available
However, any example will run on CPU, using all available cores.
wujiewang commented
wujiewang commented
Oh, I guess cuda=11.3.1 is too old for torch=2.1.1, will just do
pip install torch==1.12.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113