generatebio / chroma

A generative model for programmable protein design
Apache License 2.0
700 stars 90 forks source link

Running chroma from docker #11

Closed e-osipov closed 1 year ago

e-osipov commented 1 year ago

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:

wujiewang commented 1 year ago

Ok, I think torch is somehow not installed properly with cuda support, this is weird....

image

I will update the Dockerfile to explicitly specify torch version with cuda=11.3.

Sorry about that!

wujiewang commented 1 year ago

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

wujiewang commented 1 year ago

ok, resolved with d5f5787!! thanks for reporting this issue!