I didn’t use nvidia.So I didn’t install GPU version and cuda.
AssertionError : Torch not compiled with CUDA enabled
Why didn’t AssertionError happen when I run the following code?
<torch.cuda.device at 0x16349fb2488>
- you should see almost linear scaling? I’m confused what is linear scaling.
‘Linear scaling’ is that the computation speed is proportional to the number of GPUs you use.
e.g., With one GPU, two tasks take 2 sec, and with two GPUs, two tasks (each on one GPU) takes only 1 sec.