1. 30 6月, 2022 2 次提交
  2. 29 6月, 2022 1 次提交
    • Q
      Fix elementwise_div UT by providing user defined gradients (#43536) (#43909) · 26187c27
      Qi Li 提交于
      Cherry-pick of #43536
      
      Backgroud in #43262
      
      In elementwise_div UT, the numeric gradient (validation) has large relative error in comparison to analytic gradient (Paddle OP).
      
          The default rtol for UTs is 0.005
          The rtol for float32 and float64 elementwise_div OP is set to be 0.05
          The rtol for float16 and bfloat16 elementwise_div OP is set to be 1.0
      
      The relative error is too large, so this PR provides user defined gradients to test elementwise_div followed by the analytic method.
      26187c27
  3. 28 6月, 2022 2 次提交
  4. 27 6月, 2022 2 次提交
  5. 24 6月, 2022 2 次提交
    • A
      [cherry-pick] NVIDIA fixes (#43780) · 9edbe4aa
      Aganlengzi 提交于
      * Use all sitepackages path as the library/include path (#42940)
      
      * Fix several unit tests and increase the unit tests stability (#43670)
      
      * Reduce gather op unit tests size and increase the timeout
      
      * Add NVIDIA_TF32_OVERRIDE for multi-processes environment
      
      * Remove record test for device event ut
      
      * Fix 3 unittest errors (#43532)
      
      * Fix test_fuse_resnet_unit failure
      
      * Fix test_imperative_auto_mixed_precision failure
      
      * Fix sparse_attention_op error
      
      * Fix sparse_attention_op error
      
      * Use fixed random seed (#43659)
      
      * for CI test_collective_sendrecv_api
      Co-authored-by: Nzlsh80826 <rewang@nvidia.com>
      Co-authored-by: NShijie <505749828@qq.com>
      9edbe4aa
    • K
      [cherry pick] fix structure infos conflict in static return_list mode (#43691) · e700ffdc
      Kaipeng Deng 提交于
      * fix structure infos conflict in static return_list mode. test=develop
      
      * fix format. test=develop
      
      * fix format. test=develop
      e700ffdc
  6. 23 6月, 2022 3 次提交
  7. 22 6月, 2022 9 次提交
  8. 21 6月, 2022 2 次提交
  9. 20 6月, 2022 5 次提交
  10. 18 6月, 2022 1 次提交
  11. 17 6月, 2022 3 次提交
  12. 16 6月, 2022 5 次提交
  13. 14 6月, 2022 2 次提交
    • X
      [ CherryPick ] Cherry pick for einsum optimization. (#43468) · 22e75d92
      xiongkun 提交于
      * [EinsumOp] Polish forward logic and backward logic for optimize (#42603)
      
      * change logic for optimize
      
      * modifty
      
      * merge
      
      * change einsum_v2 as default and add new flags: FLAG_einsum_opt=1|0 (#43010)
      
      * [EinsumOp] Make EinsumOp support bfloat16. (#43085)
      
      * change einsum_v2 as default and add new flags: FLAG_einsum_opt=1|0
      
      * make EInsumOP support bf16
      
      * add unittest for BF16
      
      * add condition for test_BF16
      
      * fix bugs
      
      * fix
      
      * change the backward api to fit einsum op
      22e75d92
    • F
      Use tempfile to place all the temporary files. (#43392) · afd0c1db
      freeliuzc 提交于
          使用 tempfile 替换临时文件,保证在单测结束后,所有临时文件都会被正常的删除,避免占用磁盘文件。
          此 PR 仅涉及单测修改,不影响现有功能。
          develop 分支修改在 PR 43376
      afd0c1db
  14. 09 6月, 2022 1 次提交