pytorch/torch/utils
Tongzhou Wang 8e76dcf173 Prevent raising KeyboardInterrupt in worker (#11718)
Summary:
Current behavior is that each process (main and workers) will print trace from `KeyboardInterrupt`. And the main process will also print
```
RuntimeError: DataLoader worker (pid 46045) exited unexpectedly with exit code 1. Details are lost due to multiprocessing. Rerunning with nm_workers=0 may give better error trace.
```
due to our SIGCLD handler.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/11718

Differential Revision: D9840844

Pulled By: SsnL

fbshipit-source-id: 1a05060bb02907fef5aac3f274d2c84f9f42d187
2018-09-14 16:09:35 -07:00
..
backcompat Simplify python warning settings and cleanup tests. 2017-06-11 05:37:59 -04:00
bottleneck Add environment collection script (#6635) 2018-04-22 15:18:14 -04:00
data Prevent raising KeyboardInterrupt in worker (#11718) 2018-09-14 16:09:35 -07:00
ffi Make all of TH and THC C++. (#6913) 2018-04-28 07:45:02 -04:00
serialization Codemod to update our codebase to 0.4 standard (#6641) 2018-04-17 22:06:54 -04:00
trainer loss plugin: Fix indexing into a scalar (#9143) 2018-07-03 14:25:44 -07:00
__init__.py [pep8] Fix most lint automatically with autopep8 2017-01-28 01:15:51 +01:00
checkpoint.py various documentation formatting (#9359) 2018-07-13 02:48:25 -07:00
collect_env.py Fix collect_env.py for Windows (#8326) 2018-06-11 10:52:21 -04:00
cpp_extension.py Use -isystem for system includes in C++ extensions (#11459) 2018-09-11 10:40:20 -07:00
dlpack.py various documentation formatting (#9359) 2018-07-13 02:48:25 -07:00
file_baton.py Create FileBaton to synchronize distributed JIT C++ extension builds (#6684) 2018-04-18 18:07:03 -04:00
hooks.py Make weight norm pickleable (#2066) 2017-07-12 17:21:22 -04:00
model_zoo.py Enable the general usage of _download_url_to_file (#9090) 2018-07-02 19:55:39 -07:00