MCPcopy Create free account
hub / github.com/VincentHancoder/SSGD / _ignore_torch_cuda_oom

Function _ignore_torch_cuda_oom

mmdet/utils/memory.py:63–76  ·  view source on GitHub ↗

A context which ignores CUDA OOM exception from pytorch. Code is modified from # noqa: E501

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

wrappedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected