title: PyTorch not working when using Pytorch with cuda 11.1: Dataloader
body: <p>So, I'm running this deep neural network. And normally, when i train it with the cpu using the pytorch library WITHOUT cuda, it runs fine.</p>
  <p>However, I noticed when I installed pytorch+cuda 11.1, whenever I try to enumerate over the Dataloader, the following error gets thrown out:</p>
  <pre><code>OSError: [WinError 1455] The paging file is too small for this operation to complete. Error loading &quot;C:\Users\Name\Desktop\Folder\lib\site-packages\torch\lib\cudnn_adv_train64_8.dll&quot; or one of its dependencies.
  </code></pre>
  <p>But, when i use pip to uninstall pytorch+cuda and install pytorch without cuda, my script runs fine.</p>
  <p>both versions of pytorch are 1.8.0</p>
  <p>Does anyone know how to go about fixing this? Would love to be able to use this gpu.</p>
  <p>Note: This is how i set up the dataloader:</p>
  <pre><code>    train_dataloader = DataLoader(
          train_dataset,
          batch_size=args.batch_size,
          num_workers=args.num_workers,
          shuffle=True,
          pin_memory=(device == &quot;cuda&quot;),
      )
  </code></pre>