Hello everyone,
I wanted to train a NLP classifer on our server but it takes around 9 hours for a training. So I wanted to switch the training process to Sagemaker. When I just copy my code with the Trainer() instance (trainer.train()) I get the following error:
ImportError: torch>=1.5.0 is required for a normal functioning of this module, but found torch==1.4.0.
And it looks like I cannot update my torch on Sagemaker to 1.5.0.
On my research I found out that many trainings are done with the HugginFace estimator. Do I always have to use this and change my “local server code”?