clearml-agent icon indicating copy to clipboard operation
clearml-agent copied to clipboard

Agent fails installing environment

Open andrearosasco opened this issue 3 years ago • 2 comments

After trying to execute a task from the queue the agent fails while executing:

Installing collected packages: numpy                                                                                                                                                   
Successfully installed numpy-1.21.2
Found PyTorch version torch==1.12.0 matching CUDA version 102                                                                                                                          
ERROR: torch-1.12.0+cu102-cp38-cp38-linux_x86_64.whl is not a supported wheel on this platform.                                                                                        
Command 'source /home/IIT.LOCAL/arosasco/mambaforge/etc/profile.d/conda.sh && conda activate /home/IIT.LOCAL/arosasco/.clearml/venvs-builds/3.9 && pip install -r /tmp/user/1021449697/
cached-reqsaulxx7n6.txt' returned non-zero exit status 1.

Could the issue be related to /tmp/user since it doesn't have access to it? Also why is it trying to install it with pip when I set conda in the clearml.config file?

andrearosasco avatar Aug 03 '22 21:08 andrearosasco

Hi @andrearosasco,

Sorry, I somehow missed this 🙁

I think the problem is the incorrect torch version:

ERROR: torch-1.12.0+cu102-cp38-cp38-linux_x86_64.whl is not a supported wheel on this platform.

Are you running the agent in docker mode? If so, which image are you using?

jkhenning avatar Aug 21 '22 20:08 jkhenning

Don't worry it's ok! We talked a bit about it in the slack channel but didn't manage to solve it. This is the link to the thread if you can access it: https://app.slack.com/client/TT9ATQXJ5/search/search-eyJkIjoiZnJvbSUzQSUzQyU0MFUwM1JFTVBKNVY1JTdDJTQwQW5kcmVhJTIwUm9zYXNjbyUzRSIsInEiOiJVMDNSRU1QSjVWNSIsInIiOiJmcm9tJTNBJTNDJTQwVTAzUkVNUEo1VjUlM0UifQ==/thread/CTK20V944-1659602063.081199

andrearosasco avatar Aug 23 '22 08:08 andrearosasco