1. 02 8月, 2022 1 次提交
  2. 01 8月, 2022 1 次提交
    • zhouweiwei2014's avatar
      [UT]fix test_poisson op random fail (#44763) · b71833ea
      zhouweiwei2014 提交于
      修复poisson op单测随机挂
      
      原因:由于随机OP的无法直接验证数值正确性,该单测随机采样100万个样本,统计落到直方图各区间的数量,计算出粗略的概率密度函数,与标准概率密度函数对比,这种测试方式会有一定误差。
      当采样数量越小,误差越大,因此该PR增大采样样本数量(100万->200万),误差进一步减小在rtol范围内。
      b71833ea
  3. 30 6月, 2022 2 次提交
  4. 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
  5. 28 6月, 2022 2 次提交
  6. 27 6月, 2022 2 次提交
  7. 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
  8. 23 6月, 2022 2 次提交
  9. 22 6月, 2022 9 次提交
  10. 21 6月, 2022 2 次提交
  11. 20 6月, 2022 5 次提交
  12. 18 6月, 2022 1 次提交
  13. 17 6月, 2022 3 次提交
  14. 16 6月, 2022 5 次提交
  15. 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