1. 18 11月, 2022 1 次提交
  2. 13 10月, 2022 1 次提交
  3. 29 9月, 2022 1 次提交
    • Z
      Move valid check from python to kernel (#46412) · 37bc2d7b
      Zhang Zheng 提交于
      * Move valid check from python to kernel
      
      * fix error throw
      
      * fix
      
      * invalid label check
      
      * fix
      
      * Revert "fix"
      
      This reverts commit 79fad6799cfa4b30423dbc84e67d7d843d22b84a.
      
      * Revert "invalid label check"
      
      This reverts commit 402a9707390ad5386b3222e85844b92d2e9b9fa4.
      
      * Revert "fix"
      
      This reverts commit 09ba3080ee0587447f875c19cdf060485f15ae3b.
      
      * Revert "fix error throw"
      
      This reverts commit a901bfcc2179d5c120ec29af766f392b122dab52.
      
      * Revert "Move valid check from python to kernel"
      
      This reverts commit baa03cc4ef82d8d45516c30dfb52bf5aead30748.
      
      * final fix
      
      * fix
      
      * fix
      37bc2d7b
  4. 24 6月, 2022 1 次提交
    • Y
      [Phi]Change Copy from Kernel to basic component utils (#43622) · 2739bd73
      YuanRisheng 提交于
      * perfect copy
      
      * deal with conflict
      
      * deal with conflict
      
      * fix compile bugs
      
      * fix unittest bugs
      
      * change code format
      
      * deal with conflict
      
      * modify code by review
      
      * fix ce bugs
      
      * fix ce bugs
      
      * add lo
      
      * perfect code format
      
      * deal with conflicts
      2739bd73
  5. 05 6月, 2022 1 次提交
  6. 14 4月, 2022 1 次提交
  7. 01 4月, 2022 1 次提交
    • C
      [Phi] Move softmax with cross entropy kernel into phi (#40832) · e6ec98fe
      Chen Weihang 提交于
      * add cross_entropy_with_softmax phi kernel
      
      * remove softmax_with_cross_entropy kernel
      
      * add softmax_with_cross_entropy grad kernel
      
      * remove original op kernel
      
      * refine cross entropy impl
      
      * fix pointer error
      
      * revert kernel cu change
      
      * fix xpu failed
      
      * fix cinn failed
      
      * fix npu failed
      
      * add forward sig
      
      * add check_nan_inf for pt kernel
      
      * remove repeat cmake item
      
      * fix unittest error
      e6ec98fe
  8. 18 3月, 2022 1 次提交
  9. 25 2月, 2022 3 次提交
  10. 20 2月, 2022 1 次提交
  11. 11 2月, 2022 1 次提交
  12. 09 2月, 2022 1 次提交
  13. 20 12月, 2021 1 次提交
    • F
      optimize softmax with cross entropy soft label (#32387) · f8955602
      Feng Xing 提交于
      softmax_with_cross_entropy optimization with soft label. This PR includes optimization of
          "SoftmaxWithCrossEntropySoftLabel" : compute log_softmax and then compute loss.
          "CrossEntropySoftLabel" : compute loss with softmax as input.
      These optimization includes following technics:
          read data to buffer with vectorization
          compute max and sum in warp
          fixed loop size with macro
      Performance (computation time):
          softmax_with_cross_entropy_0 (forward) : -40.1%
          softmax_with_cross_entropy_0 (backward): -41%
      f8955602
  14. 03 12月, 2021 1 次提交
  15. 01 11月, 2021 1 次提交
  16. 11 9月, 2021 1 次提交
  17. 10 9月, 2021 2 次提交
  18. 05 6月, 2021 1 次提交
  19. 21 5月, 2021 1 次提交
  20. 06 5月, 2021 1 次提交
  21. 02 4月, 2021 1 次提交
  22. 16 3月, 2021 1 次提交
  23. 11 3月, 2021 1 次提交
  24. 10 3月, 2021 1 次提交
  25. 03 3月, 2021 1 次提交
  26. 25 2月, 2021 1 次提交
  27. 23 2月, 2021 2 次提交
  28. 16 11月, 2020 1 次提交
    • G
      Fix gradients with ignore_idx in softmax_with_cross_entropy (#28622) · 110febdc
      Guo Sheng 提交于
      * Fix gradients with ignore_idx in softmax_with_cross_entropy.
      test=develop
      
      * Fix gradients with ignore_idx in softmax_with_cross_entropy on cpu.
      Remove softmax_with_cross_entropy from op_threshold_white_list.
      test=develop
      
      * Fix test_softmax_cross_entropy_op.py.
      test=develop
      110febdc
  29. 12 10月, 2020 1 次提交
  30. 16 7月, 2020 1 次提交
  31. 11 7月, 2020 1 次提交
  32. 23 2月, 2020 1 次提交
  33. 20 12月, 2019 1 次提交
  34. 03 12月, 2019 1 次提交
  35. 18 11月, 2019 1 次提交
  36. 09 5月, 2019 1 次提交