1. 04 8月, 2022 3 次提交
  2. 03 8月, 2022 1 次提交
  3. 02 8月, 2022 2 次提交
  4. 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
  5. 30 6月, 2022 2 次提交
  6. 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
  7. 28 6月, 2022 2 次提交
  8. 27 6月, 2022 2 次提交
  9. 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
  10. 23 6月, 2022 2 次提交
  11. 22 6月, 2022 9 次提交
  12. 21 6月, 2022 2 次提交
  13. 20 6月, 2022 5 次提交
  14. 18 6月, 2022 1 次提交
  15. 17 6月, 2022 3 次提交
  16. 16 6月, 2022 2 次提交
    • Z
      [cherry pick] Unit test with tempfile to place the temporary files (#43522) · 1a660c8a
      zhangbopd 提交于
          Use tempfile for unit test & custom op test to replace temporary files to ensure that all temporary files will be deleted normally after a single measurement, avoiding the usage of disk files.
          The PR only involves single-test and op test modifications and does not affect existing functionality.
          Release/2.3 branch modified in PR43521;
      1a660c8a
    • Q
      [Cherry-pick] Fix ut tempfile v23 (#43387) · 24843fcb
      Qi Li 提交于
      * fix unit test temp file, test=develop (#43155)
      
      * add cleanup code, test=develop (#43305)
      24843fcb