notebook
notebook copied to clipboard
How to activate 2 GPUs in jupyter notebook ?
depends on the work you are doing,
if you have multiple GPU . . . check it with ! nvidia-smi
If you are implementing PyTorch : I would suggest looking into https://pytorch.org/docs/stable/generated/torch.nn.parallel.DistributedDataParallel.html
Hope this helps!!!
Prerequisites : check the Cuda package, and if the installation of PyTorch, Tensorflow or others has Cuda version support.