Ray tune gets URLError due to SSL: CERTIFICATE_VERIFY_FAILED

Hi Experts,

I just started to learn Ray and was following the tutorial on Hyperparameter tuning with Ray Tune — PyTorch Tutorials 2.1.0+cu121 documentation

However, when I run the same code, I got an error below. All the trails failed with the same error. The model training function runs fine by itself, the error is only when I try to tune the hyperpameters using tune.run.

What might be the cause?

Thank you!

How severe does this issue affect your experience of using Ray?

  • High: It blocks me to complete my task.

never mind. Issue come from Torch vision dataset download,

@joshuazzx hey just to confirm, were you able to resolve this? The error does seem to be from the torchvision step, but are you still running into the issue only when using Ray Tune?