neuralforecast icon indicating copy to clipboard operation
neuralforecast copied to clipboard

.yml environment channels

Open alejandroxag opened this issue 3 years ago • 1 comments

Pytorch and pytorch lightning downloads take a lot of time depending on the download channel, and some HTTP issues arise:

  1. Pytorch: CondaHTTPError: HTTP 000 CONNECTION FAILED for URL https://conda.anaconda.org/pytorch/linux-64/pytorch-1.10.2-py3.7_cuda11.3_cudnn8.2.0_0.tar.bz2
  2. Pytorch lightning: socket.timeout: The read operation timed out

In the case of pytorch, specifying the channel (-pytorch::pytorch, -pytorch::torchvision, etc.) solved the problem; with pytorch lightning, setting the timeout to a large number (pip install -U --timeout 2000 pytorch-lightning) did the trick.

alejandroxag avatar Feb 04 '22 19:02 alejandroxag

Hi, what command are you training to run? The file environment.yml already has the channels.

AzulGarza avatar Feb 04 '22 19:02 AzulGarza