1. 04 1月, 2023 1 次提交
    • H
      [Unify KernelKey] change OpKernelType->KernelKey (#49138) · 4383494f
      HongyuJia 提交于
      * execute use kernel_key first
      
      * change OpKernelType->KernelKey
      
      * fix py3 compile error, remove redundant header files
      
      * fix build_strategy_test
      
      * fix DataType::RAW
      
      * fix custom_type test: operator_test.cc
      
      * fix transform place
      
      * fix backends_are_same_class
      
      * try fix place TransDataDevice
      
      * support all KernelKey
      
      * fix TransformData
      
      * fix place_are_same_class
      
      * fix merge
      
      * fix test_params_no_grad
      
      * fix specific place of GetExpectedKernelType
      
      * fix specific place of GetExpectedKernelType
      
      * fix GetKernelTypeForVar
      
      * fix dtype error
      
      * fix fetch_v2
      
      * change GetKernelTypeForVar
      
      * fix interpreter
      
      * fix typo error
      
      * polish codes
      
      * polish codes
      
      * polish codes
      
      * fix conflict
      4383494f
  2. 23 12月, 2022 2 次提交
  3. 14 12月, 2022 1 次提交
  4. 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
  5. 05 12月, 2022 1 次提交
  6. 05 11月, 2022 1 次提交
  7. 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
  8. 27 10月, 2022 1 次提交
    • L
      make all cpp tests dynamic linked to libpaddle.so [except windows] (#47088) · 2096448b
      Leo Chen 提交于
      * make all cpp tests dynamic linked to libpaddle.so
      
      * add comments
      
      * keep old cc_test for some tests
      
      * fix some ut
      
      * make some ut use cc_test_old
      
      * fix typos and fit for win32
      
      * fix lib path
      
      * fix some tests
      
      * skip lite test
      
      * fit for rocm
      
      * fit for cinn
      
      * fit for mac
      
      * fit for win32
      
      * skip inference ut
      
      * skip  windows
      
      * fix coverage
      2096448b
  9. 26 10月, 2022 1 次提交
  10. 19 10月, 2022 1 次提交
  11. 17 10月, 2022 2 次提交
  12. 13 10月, 2022 1 次提交
  13. 12 10月, 2022 1 次提交
  14. 11 10月, 2022 1 次提交
  15. 28 9月, 2022 2 次提交
  16. 22 9月, 2022 1 次提交
  17. 19 9月, 2022 1 次提交
  18. 09 9月, 2022 1 次提交
  19. 06 9月, 2022 1 次提交
  20. 01 9月, 2022 1 次提交
  21. 31 8月, 2022 1 次提交
  22. 30 8月, 2022 1 次提交
    • Z
      Remove extra attribute in OpMaker (#44310) · fe321f9a
      zyfncg 提交于
      * add runtime config in phi
      
      * add runtime attr for op desc and op
      
      * fix no proto error
      
      * adjust opdesc set_attr impl
      
      * try to remove conv_op extra attrs
      
      * add init runtime attr map
      
      * change extra header path
      
      * fix runtime_attr
      
      * fix trace_op
      
      * fix bug of pass
      
      * fix merge conflict
      
      * fix dygraph attrs
      
      * fix bug of pass
      
      * fix dygraph bug
      
      * fix unittest module
      
      * delete extra attr default
      
      * fix dropout kernel
      
      * polish code
      
      * fix extra output of instance_norm
      
      * fix merge confilct
      
      * fix op_desc bug
      
      * add extra attr in yaml for conv3d_transpose
      
      * don't remove extra input and output
      
      * fix save_inference_model
      
      * fix bug of batch_norm
      
      * revert some change
      
      * polish log
      
      * polish code
      
      * add code comment
      Co-authored-by: NChen Weihang <chenweihang@baidu.com>
      fe321f9a
  23. 25 8月, 2022 1 次提交
  24. 18 8月, 2022 1 次提交
  25. 08 8月, 2022 1 次提交
  26. 02 8月, 2022 1 次提交
  27. 01 8月, 2022 1 次提交
    • L
      unify gpu context (#44740) · 86763023
      Leo Chen 提交于
      * remove cudaDeviceContext
      
      * remove more template
      
      * fix rocm compile
      
      * remove alias name CUDADeviceContext
      
      * fix compile
      
      * fix tests
      
      * revert changes
      86763023
  28. 29 7月, 2022 1 次提交
  29. 26 7月, 2022 1 次提交
  30. 19 7月, 2022 1 次提交
  31. 15 7月, 2022 1 次提交
  32. 02 7月, 2022 1 次提交
    • L
      unify cpu context, part2 (#44012) · 755438a7
      Leo Chen 提交于
      * fix init()
      
      * delete test_device_context
      
      * replace CPUDeviceContext with CPUContext
      
      * fix test_scalar
      
      * remove dot_op.cc
      
      * fix compile
      755438a7
  33. 30 6月, 2022 1 次提交
  34. 28 6月, 2022 1 次提交
    • R
      Remove boost::variant (#43100) · b3cf28f8
      Ruibiao Chen 提交于
      * boost::variant -> paddle::variant
      
      * boost::variant.apply_visit -> paddle::visit
      
      * Update pybind_boost_hraders.h
      
      * Fix CINN compilation errors
      
      * Revert FetchResultType
      b3cf28f8
  35. 26 6月, 2022 1 次提交
  36. 10 6月, 2022 1 次提交
  37. 05 6月, 2022 1 次提交