ANUJ KUMAR
Results
2
comments of
ANUJ KUMAR
Since model_output file is a generator object that returns an iterable rather than the tensors. In order to retrieve all the outputs: `for i, out in enumerate(model_output.sample): print("output on gpu...
Yeah maybe you should try: `model = nn.parallel.DistributedDataParallel(model)` to parallelize the forward pass of a model across multiple GPUs.