Pytorch.hub.load

I’m downloading my waveglow model using:

torch.hub.load('nvidia/DeepLearningExamples:torchhub', 'nvidia_waveglow')

but what if I want to directly download it locally on my pc or into the s3 bucket. What would be the procedure please help.

The code should be stored in the default cache directory, which can be changed via torch.hub.set_dir.
Alternatively to changing the cache directory, you could also directly git clone the WaveGlow repository from GitHub.

1 Like