I'm following the pytorch sagemaker docs here and I'm stuck on this line
torch.jit.optimized_execution(True, {'target_device': 'eia:device ordinal'})
When I run it, I get the error optimized_execution() takes 1 positional argument but 2 were given. I'm using pytorch 1.3.1, but I tried with 1.4.0 and was running into similar problems. Can I use optimized execution without this second argument? How can I specify the accelerator?