1. 20 7月, 2018 1 次提交
  2. 17 7月, 2018 1 次提交
  3. 28 6月, 2018 1 次提交
  4. 22 6月, 2018 1 次提交
    • Q
      Fix kill fail bug (#11635) · dda24f18
      Qiyang Min 提交于
      * 1. Remove PYTHON_FLAGS from paddle_build.sh in paddlepaddle/paddle:latest-dev
      
      * 1. Add PYTHON_FLAGS back
      2. Change SIGKILL to SIGINT and SIGTERM
      
      * 1. Add setup.py.in back
      
      * 1. add pip install open-cv in Dockerfile to avoid libusb_exit hanging up which is caused by the opencv-python package missing
      
      * 1. Add the && \ to line above
      
      * 1. Remove the notice comment
      dda24f18
  5. 14 6月, 2018 1 次提交
  6. 11 6月, 2018 1 次提交
  7. 06 6月, 2018 3 次提交
  8. 05 6月, 2018 1 次提交
  9. 01 6月, 2018 1 次提交
  10. 29 5月, 2018 1 次提交
    • Q
      Shutdown pserver gracefully when SIGINT and SIGTERM was sent (#10984) · 580340ee
      Qiyang Min 提交于
      * 1. implement StopAll in ListenAndServOp
      2. make pserver receive the SIGINT and SIGTERM from outside
      3. add unittests for listen_and_serv_op in python
      
      * 1. add blocking queue set to record queue
      2. aware all blocking queue when exit and exit gracefully
      
      * 1. Remove comment lines from blocking_queue.h
      2. Implement SignalHandler and move all global vars and funcs into it
      
      * 1. Make code follows the style check
      2. Move the SignalHandler out of the unnamed namespace
      
      * 1. Make yapf happy
      
      * 1. Call Stop() in destructor to release the resource allocated by ListendAndServOp
      2. Change exit status to EXIT_SUCCESS after handling the signal from outside
      3. Remove the mis-usage of REMOVE_ITEM in unittests
      
      * 1. use DISABLE_COPY_AND_ASSIGN
      2. use program once macro only
      580340ee
  11. 23 5月, 2018 2 次提交
  12. 22 5月, 2018 2 次提交
  13. 21 5月, 2018 5 次提交
  14. 17 5月, 2018 1 次提交
  15. 16 5月, 2018 1 次提交
  16. 17 4月, 2018 2 次提交
  17. 12 4月, 2018 1 次提交
  18. 06 4月, 2018 1 次提交
  19. 03 4月, 2018 2 次提交
  20. 16 3月, 2018 1 次提交
  21. 26 2月, 2018 1 次提交
  22. 24 2月, 2018 1 次提交
  23. 13 2月, 2018 1 次提交
    • X
      Run Python OP tests in a single Python process to improve test time. (#8362) · cde6241a
      Xin Pan 提交于
      Currently, our tests run with 2 GPUs, the init time is absurdly long:
      about 4s for each process.  Currently, we run each OP test on
      different processes. This PR:
      
      1. create cmake function py_test_modules which will generate the
      Makefile that runs a list of Python unittest module in a single Python
      process.
      
      2. move all "python unittest compatible" (e.g., used the unittest
      package, not just a regular python file). from fluid/tests to
      fluid/tests/unittests.
      
      3. cmake now will run all OP tests in fluid/tests/unittests in a
      single process, except the time-consuming tests, they are separated
      into different processes to utilize parallelism. Please make sure to
      use the unittest package if you put the python test file in
      fluid/tests/unittests
      
      4. remove all exit(0) from fluid/tests/unittests/*.py, exit(0) is used
      to disable unittest, we can not do it when running all tests in a
      single process since it will terminate the process without running the
      other tests. Instead, the test is disabled in
      fluid/tests/unittests/CMakeLists.txt. FIXME is added for each disabled
      item. Please disable the unittest from
      fluid/tests/unittests/CMakeLists.txt, instead of adding exit(0) to the
      Python file, for all Python file in fluid/tests/unittests/.
      
      5. add an option WITH_FAST_BUNDLE_TEST. When OFF, will run the unit
      tests in separate process so that they can be tested individually.
      cde6241a