pytorch/torch/multiprocessing
David Reiss e75fb4356b Remove (most) Python 2 support from Python code (#35615)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/35615

Python 2 has reached end-of-life and is no longer supported by PyTorch.
Now we can clean up a lot of cruft that we put in place to support it.
These changes were all done manually, and I skipped anything that seemed
like it would take more than a few seconds, so I think it makes sense to
review it manually as well (though using side-by-side view and ignoring
whitespace change might be helpful).

Test Plan: CI

Differential Revision: D20842886

Pulled By: dreiss

fbshipit-source-id: 8cad4e87c45895e7ce3938a88e61157a79504aed
2020-04-22 09:23:14 -07:00
..
__init__.py Add torch.multiprocessing.create_processes 2019-12-03 10:38:19 -08:00
_atfork.py Fix os.register_at_fork not defined on Windows (#30809) 2019-12-05 13:36:53 -08:00
cuda_multiprocessing.md Implement reference counting for shared IPC CUDA tensors (#16854) 2019-03-25 10:24:38 -07:00
pool.py
queue.py Add build support for Python 2.7 using MSVC (#4226) 2017-12-20 15:07:25 +01:00
reductions.py Remove (most) Python 2 support from Python code (#35615) 2020-04-22 09:23:14 -07:00
spawn.py [torch/multiprocessing] Update documentation indicating that start_method is ignored for mp.spawn() (#33070) 2020-02-07 15:26:00 -08:00