You are using super-ancient pytorch 1.2.x, which causes dependency hell on different operating systems. I think it is almost 5 years old, can you put 2.x ?
The combination of pytorch, cuda, python that you have exists in conda for only some operating systems and also darts if you have it in pip section of the environment downloads newer pytoch and uninstalls older. I think your environment.yaml and requirements.txt combination was not tested in several operating systems.
You are using super-ancient pytorch 1.2.x, which causes dependency hell on different operating systems. I think it is almost 5 years old, can you put 2.x ? The combination of pytorch, cuda, python that you have exists in conda for only some operating systems and also darts if you have it in pip section of the environment downloads newer pytoch and uninstalls older. I think your environment.yaml and requirements.txt combination was not tested in several operating systems.