1. 05 6月, 2022 1 次提交
  2. 14 4月, 2022 1 次提交
  3. 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
  4. 18 3月, 2022 1 次提交
  5. 25 2月, 2022 3 次提交
  6. 20 2月, 2022 1 次提交
  7. 11 2月, 2022 1 次提交
  8. 09 2月, 2022 1 次提交
  9. 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
  10. 03 12月, 2021 1 次提交
  11. 01 11月, 2021 1 次提交
  12. 11 9月, 2021 1 次提交
  13. 10 9月, 2021 2 次提交
  14. 05 6月, 2021 1 次提交
  15. 21 5月, 2021 1 次提交
  16. 06 5月, 2021 1 次提交
  17. 02 4月, 2021 1 次提交
  18. 16 3月, 2021 1 次提交
  19. 11 3月, 2021 1 次提交
  20. 10 3月, 2021 1 次提交
  21. 03 3月, 2021 1 次提交
  22. 25 2月, 2021 1 次提交
  23. 23 2月, 2021 2 次提交
  24. 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
  25. 12 10月, 2020 1 次提交
  26. 16 7月, 2020 1 次提交
  27. 11 7月, 2020 1 次提交
  28. 23 2月, 2020 1 次提交
  29. 20 12月, 2019 1 次提交
  30. 03 12月, 2019 1 次提交
  31. 18 11月, 2019 1 次提交
  32. 09 5月, 2019 1 次提交
  33. 07 5月, 2019 1 次提交
    • K
      Softmax_cross_entropy op add axis (#16806) · a71d8fdb
      Kaipeng Deng 提交于
      * add attr axis infershape. test=develop
      
      * add CUDA kernel. test=develop
      
      * fix unittest. test=develop
      
      * fix unittest for soft_label. test=develop
      
      * fix fp16 unittest. test=develop
      
      * remove comment code. test=develop
      
      * refine test for axis. test=develop
      
      * add python api. test=develop
      
      * fix doc. test=develop
      
      * fix fp16 unittest. test=develop
      
      * fix ngraph test. test=develop
      
      * fix ENFORCE for test_imperative_transformer. test=develop
      
      * fit for ngraph test. test=develop
      
      * fix after rebase develop. test=develop
      
      * fix doc. test=develop
      
      * fix API.spec. test=develop
      
      * fix test_layers. test=develop
      
      * fix format. test=develop
      a71d8fdb
  34. 06 5月, 2019 1 次提交
  35. 21 4月, 2019 1 次提交
    • Z
      Refine model gpu memory (#16993) · 1202d3fc
      Zeng Jinle 提交于
      * speedup gc and inplace softmax_with_cross_entropy_grad
      test=develop
      
      * refine models gpu mem
      Merge skip vars and warning messages of mem opt
      remove relu mem opt
      test=develop
      
      * follow comments
      test=develop
      1202d3fc
  36. 11 4月, 2019 1 次提交