mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 00:21:07 +01:00
In some cases the warning from #147744 still gets emitted because [atexit hooks aren't called](https://github.com/python/cpython/pull/114279). Even in those cases, if the atexit hooks _were_ called you could end up with issues due to the directory being deleted in one process, but still being used elsewhere. It's better all round to load these modules entirely in-memory. Pull Request resolved: https://github.com/pytorch/pytorch/pull/157713 Approved by: https://github.com/xush6528 |
||
|---|---|---|
| .. | ||
| templates | ||
| __init__.py | ||
| instantiator.py | ||