1. 03 11月, 2022 13 次提交
  2. 02 11月, 2022 14 次提交
  3. 01 11月, 2022 13 次提交
    • N
      [CodeStyle][E711] use `is`/`is not` for comparison with `None` (#47452) · a35a4a53
      Nyakku Shigure 提交于
      * [CodeStyle][E711] use `is`/`is not` for comparison with `None`
      
      * `self.assertTrue($A is None)` -> `self.assertIsNone($A)`
      
      * `self.assertTrue($A is not None)` -> `self.assertIsNotNone($A)`
      
      * `self.assertFalse($A is None)` -> `self.assertIsNotNone($A)`
      
      * `self.assertEqual($A, None)` -> `self.assertIsNone($A)`
      
      * `self.assertNotEqual($A, None)` -> `self.assertIsNotNone($A)`
      a35a4a53
    • L
      fix dynamic link of xpu library (#47434) · 9d801855
      Leo Chen 提交于
      * refine comments,test=kunlun
      
      * link xpu lib, test=kunlun
      
      * add sleep for test, test=kunlun
      
      * merge develop, fix compile, test=kunlun
      
      * remove debug code, test=kunlun
      
      * add dependency to avoid potential concurrency error, test=kunlun
      9d801855
    • H
      [Kernel Selection] Remove hard code of PADDLE_WITH_CUDA (#47325) · f9134045
      HongyuJia 提交于
      * move cudnn hardcode outside GetExpectedKernelType
      
      * add header file
      
      * debug
      
      * update interpreter_util with hardcode
      
      * update interpreter_util headerfile
      
      * solve activation hardcode
      
      * debug with CI
      
      * add mkldnn_op_list header file
      
      * temporarily uncomment mkldnn
      
      * temporarily uncomment mkldnn
      
      * delete sequence_softmax cudnn hardcode
      
      * add hardcode to data_transfer.cc
      
      * update data_transfer headerfile
      
      * try fix segment fault
      
      * update cudnn&miopen_helper
      
      * reset HasAttr of DygraphExctnCtx
      
      * debug, this commit should pass all CI
      
      * debug should pass CI, temporarily disable activation
      
      * debug should pass CI
      
      * fix default_attr=nullptr bug
      
      * clean debug code
      f9134045
    • Y
      db323927
    • H
      clean mkldnn headerfile (#47507) · a341bb8c
      HongyuJia 提交于
      a341bb8c
    • S
      [geometric] Optimize graph sample speed (#47531) · 2a932e55
      Siming Dai 提交于
      2a932e55
    • L
      Fix bugs in tranpose kernel (#47212) · ec7fe888
      limingshu 提交于
      * first commit
      
      * transpose_kernel_optimization
      
      * first complishment of transpose op
      
      * second commit
      
      * refine code logics of tranpose_kernel
      
      * refine transpose kernel
      
      * first commit
      
      * fix DtoD copy bugs for hip
      
      * refine code according to the PR advice
      
      * change dim to int64_t type.
      
      * fix some type error
      ec7fe888
    • Y
      [PHI]Standardise some C++ API (Part2) (#47510) · 399047d7
      YuanRisheng 提交于
      * standard_api
      
      * add hardtanh
      399047d7
    • S
      fix (#47537) · 957fbb02
      shentanyue 提交于
      957fbb02
    • N
      [CodeStyle][E712] use `if cond`/`if cond is True` for comparison with `True` (#47464) · 5a2ab683
      Nyakku Shigure 提交于
      * [CodeStyle][E712] use `if cond`/`if cond is True` for comparison with `True`
      
      * revert changes in fluid
      
      * revert unrelated file
      
      * revert changes in norm
      
      * revert changes in auto_parallel_amp
      
      * fix norm and auto_parallel_amp
      
      * revert a typo fix due to fixed at #47477
      5a2ab683
    • R
      Support custom stream for standalone executor (#47411) · e12b6c04
      Ruibiao Chen 提交于
      * [Auto Parallel] Improve the c++ dist attr
      
      * [Auto Parallel] Modify test_program.py
      
      * Support custom stream for standalone executor
      Co-authored-by: NYulong Ao <aoyulong@baidu.com>
      e12b6c04
    • X
      [EinsumOp] Einsum support complex grad (#47514) · e930c576
      xiongkun 提交于
      * Einsum Support Complex
      
      * code fix
      
      * add unittest for complex grad with einsum
      
      * set rtol=1e-4
      
      * fix
      e930c576
    • N
      [CodeStyle][py2] remove `six` package (part2) (#47334) · 3592ba8c
      Nyakku Shigure 提交于
      * [CodeStyle][py2] remove `six` package (part2)
      
      * six.ensure_str
      
      * remove unused `import six`
      
      * remove six from BUILTIN_LIKELY_MODULES
      
      * remove six in example code
      
      * remove some decode
      
      * try to fix example code
      
      * fix MockEtcdClient get/get_prefix returns data type
      
      * fix MockEtcdClient get_prefix returns data
      
      * fix MockEtcdClient get returns data
      
      * remove `six` in pypi and conda requirements
      
      * fix MockEtcdClient add_watch_callback/add_watch_prefix_callback returns data type
      
      * refine MockEtcdClient
      3592ba8c