Multiple GPU
Its possible to use multiple gpus ?
According to this StackOverflow answer, it looks like using cuda uses all available GPUs
How can i used it in code? Can you write some example for jupyter notebook?
There are some examples provided in the repository
You think nn in models? So if i put nn instead of nerf it will be work?
I dont know how can i do it, jupyter notebooks examples are without torch.nn
I tried to modified code like this:
xm = torch.nn.DataParallel(load_model('transmitter', device=device)) model = torch.nn.DataParallel(load_model('text300M', device=device))
but i have error: AttributeError: 'DataParallel' object has no attribute 'd_latent'
Is there some solution?
How can i use multiple GPUs ?