Closed gballardin closed 1 year ago
Hi @gballardin! Just to check one hypothesis, do you have available gpus in this environment? I can reproduce this error only on my local laptop without gpus, while it works within/outside of the docker when gpus (or cuda) are available.
Ah. Good point. I thought (probably incorrectly) that device
was not not affecting the environment setup, but only the actual training. That is why I was going to test the basics out on CPUs, and then I was going to move to GPUs after I ironed out all the basic kinks.
Let me test that out.
@gballardin No, you can test it on cpu (we also do it all the time), probably for this you just have to pip install it without cuda (remove +cu113). So, this is a problem with our requirements. May be we need to provide requirements_dev_cpu
in such a case
Thank you for clarifying. "remove +cu113" did the trick in the CPU-only environment. I appreciated your help in figuring this out.
When I try to install the dependencies in a brand new Conda environment:
pip install -r requirements/requirements_dev.txt
it errors out with:
I am using Python 3.8.16. Am I using the wrong Python version?