You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/08/22 13:29:11 UTC
[GitHub] [beam] yeandy commented on issue #22811: [Bug]: Cuda out of memory in PyTorch RunInference
yeandy commented on issue #22811:
URL: https://github.com/apache/beam/issues/22811#issuecomment-1222365017
Looks like adding `torch.no_grad():` context as suggested https://github.com/pytorch/pytorch/issues/16417 may resolve it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org