1. 30 5月, 2023 1 次提交
    • Y
      [AMP] Reimplement check_nan_inf as check_numerics_kernel. (#52245) · 44bd5927
      Yiqun Liu 提交于
      * Reimplement the check_nan_inf function as check_numerics kernel.
      
      * Remove the cpu implemention to phi.
      
      * Add ifdef for the including of omp.h.
      
      * Move the use of FLAGS_check_nan_inf_level out of header file.
      
      * Implement a common PrintAndThrowError function.
      
      * Fix the error using of __NVCC__, which should be instead with __CUDA_ARCH__.
      
      * Add dependency of phi.
      
      * Polish codes and unittest.
      44bd5927
  2. 22 5月, 2023 1 次提交
  3. 30 4月, 2023 1 次提交
  4. 22 4月, 2023 1 次提交
    • W
      [Zero-Dim] support output 0D for... · b406a7db
      wangfengsheng1999 提交于
      [Zero-Dim] support output 0D for is_empty/as_complex/inner/dot/rank/tensordot/squeeze_/static.accuracy/static.auc/metric.accuracy, test=allcase (#52850)
      
      * [Zero-Dim] support output 0D for is_empty/as_complex/, test=allcase
      
      * [Zero-Dim] support output 0D for is_empty/as_complex/, test=allcase
      
      * add test case
      
      * modify dot/metric.accuracy/static.accuracy/static.auc
      
      * modfiy inner/tensordot bug
      
      * test 9 api
      
      * [Zero-Dim] support output 0D for is_empty/as_complex/inner/dot/rank/tensordot/squeeze_/static.accuracy/static.auc/metric.accuracy, test=allcase
      
      * fix bug
      
      * support output 0D for is_empty/as_complex/inner/dot/rank/tensordot/squeeze_/static.accuracy/static.auc/metric.accuracy
      
      * code style
      
      * fix bug
      
      * fix test_dot_op bug
      
      * fix accuracy bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * codestyle
      
      * fix dot bug
      
      * fix dot bug
      
      * fix dot bug
      
      * code style
      
      * fix dot bug
      
      * fix dot bug
      
      * fix dot bug
      
      * fix dot bug
      
      * fix dot bug
      
      * fix dot bug
      
      * modify code
      b406a7db
  5. 18 4月, 2023 1 次提交
  6. 31 3月, 2023 1 次提交
  7. 29 3月, 2023 1 次提交
  8. 23 3月, 2023 1 次提交
  9. 22 3月, 2023 2 次提交
  10. 12 12月, 2022 1 次提交
    • Y
      Enhance check_nan_inf implementation for CPU. (#48591) · 69e695b7
      Yiqun Liu 提交于
      * Enable to print device info.
      
      * Enhance the nan and inf checking for cpu.
      
      * Implement a common print function.
      
      * Unify the check of complex numbers.
      
      * Rewrite the omp method.
      
      * Count and print the number of nan and inf.
      
      * Change the print content.
      
      * Add unittest.
      69e695b7
  11. 29 11月, 2022 1 次提交
  12. 03 11月, 2022 1 次提交
  13. 02 11月, 2022 1 次提交
    • Y
      Improve the tool for checking nan and inf, and support to compute the max, min... · ad39043f
      Yiqun Liu 提交于
      Improve the tool for checking nan and inf, and support to compute the max, min and mean of output tensor. (#47095)
      
      * Improve the tool for checking nan and inf, and support to compute the max, min and mean of output tensor.
      
      * Add a FLAGS to control whether abort when meets inf/nan and polish codes.
      
      * Fix unittest.
      
      * Change the computing of mean.
      ad39043f
  14. 23 10月, 2022 1 次提交
  15. 27 9月, 2022 1 次提交
  16. 05 6月, 2022 1 次提交
    • S
      【code format check upgrade】 step2:yapf (#42944) · a072fca8
      Sing_chan 提交于
      * use yapf to format all python file
      
      * yapf exclude two unittests file for they rely on writing and reading file, and format will break them
      
      * disable diff_py_file because too many diff files cause command following failed
      a072fca8
  17. 29 4月, 2022 1 次提交
  18. 24 4月, 2022 1 次提交
  19. 02 4月, 2022 1 次提交
  20. 10 6月, 2021 1 次提交
  21. 01 12月, 2020 1 次提交
  22. 22 9月, 2020 1 次提交
    • P
      Use dygraph mode by default (#27443) · 827ac36f
      pangyoki 提交于
      * default open dygraph mode
      
      * fix CI-Mac
      
      * fix Mac-CI other unittest file
      
      * fix CI-Py3
      
      * fix test_communicator_geo and test_buffer_shared_memory_reuse_pass
      
      * add enable_static to fix CI-Py3
      
      * add enable_static to fix CI-coverage
      
      * delete try except
      827ac36f
  23. 12 12月, 2019 1 次提交