How to select specific GPUs
cppww opened this issue · comments
How to select specific GPUs?
In class EventEncoder, self.model = nn.DataParallel(self.model, device_ids=[X,X,X])
In def to_cuda, set x = x.to(device) device = 'cuda:'+str(num) num = device_ids[0]