1. 03 8月, 2023 1 次提交
  2. 02 8月, 2023 3 次提交
    • Y
      [Inference] Replace groupNorm when data types are bf16 and fp16, and data... · e61d892a
      yangjianfengo1 提交于
      [Inference] Replace groupNorm when data types are bf16 and fp16, and data format is NHWC implementation. (#55399)
      
      * finish
      
      * cpergroup odd
      
      * fix bf16
      
      * single channel
      
      * code style
      
      * jingdu duiqi
      
      * add head_file
      
      * add bf16 head file
      
      * bf16 2
      
      * bf16
      
      * bf16 head
      
      * bf16 compile
      
      * py test
      
      * bf16 compile
      
      * bf16 compile
      
      * unset py test
      
      * nhwc
      
      * test
      
      * mean var
      
      * bf16 success
      
      * su
      
      * ctest success
      
      * use is_same_as
      
      * is_same
      
      * use is_same
      
      * rtol
      
      * gpu_stream
      
      * del sigmod
      
      * fix bfloat16 type
      
      * use cuda_bf16_hpp
      
      * use_cuda_arch
      
      * bfloat162float2
      
      * del inplace_tol
      
      * del max_releative_tol
      
      * temp store
      
      * jingdu duiqi
      
      * temp store
      
      * plugin
      
      * jingdu duiqi
      
      * duiqi
      
      * include cuda.h
      
      * del half
      
      * half single
      
      * ci
      
      * add const
      
      * ci
      
      * cudamemset
      
      * del printf
      
      * fp16 test
      
      * add half compute
      
      * del br16 ci
      
      * del ci
      
      * ci approve
      
      * del fluid include
      e61d892a
    • O
      [xdoctest] reformat example code with google style in No.21-30 (#55849) · 5d26d79f
      ooooo-create 提交于
      * [Doctest]fix No.21, test=docs_preview
      
      * Revert "[Doctest]fix No.21, test=docs_preview"
      
      This reverts commit 76bcdb280e254d682be6fc6f85588f1940bb1ade.
      
      * [Doctest]fix No.21, test=docs_preview
      
      * fix bugs,test=docs_preview
      
      * [Doctest]fix No.22-24,26,27, test=docs_preview
      
      * update fix
      
      * with pre-commit, test=docs_preview
      
      * fix seed, test=docs_preview
      
      * fix error, test=docs_preview
      
      * fix seed, test=docs_preview
      
      * fix seed, test=docs_preview
      5d26d79f
    • zhenhailiu's avatar
      Add scaled_dot_product_attention api (#55242) · b19dfb8c
      zhenhailiu 提交于
      b19dfb8c
  3. 31 7月, 2023 3 次提交
  4. 27 7月, 2023 1 次提交
  5. 26 7月, 2023 1 次提交
  6. 20 7月, 2023 1 次提交
    • X
      [Kunlun] Modify some legacy code on distributed training (#55515) · 806f8d2b
      XiaociZhang 提交于
      * [Kunlun] Mofify some legacy code on distributed training
      
      There were limitations on XPUs before, such as concat/split is not
      supported, and c_broadcast only support fp32. These limitations are
      lifted recently.
      
      Multi-device profiling on XPU will also be supported by this PR.
      Without this PR, a hanging broadcast will be issued by devices that
      enables profiling, eventually lead to kernel timeout error.
      
      * fix typo
      806f8d2b
  7. 18 7月, 2023 1 次提交
    • M
      [Add] Paddle 代码 CI 中引入 xdoctest 检查 (#55295) · 26fba07c
      megemini 提交于
      * [Add]Add Xdoctester
      
      * [Fix]fix beta docstring
      
      * [Doctest]change dirichlet docstring
      
      * [Doctest]change gumbel docstring
      
      * [Doctest]change bernoulli docstring
      
      * [Doctest]change categorical docstring
      
      * [Doctest]change ops.py docstring
      
      * [Doctest]change conv docstring
      
      * [Doctest]change distance docstring, test=docs_preview
      
      * [Change]add ref
      
      * [Change]patch xdoctest debug
      26fba07c
  8. 11 7月, 2023 1 次提交
  9. 06 7月, 2023 1 次提交
    • Z
      add clip_grad_value_ api (#54603) · 88402cdb
      zqw_1997 提交于
      * add clip_grad_value_ api
      
      * add test for ClipGradByValue
      
      * typo fix
      
      * refine and modify clip_grad_norm_
      
      * no_grad
      
      * clip_
      
      * remove g=p.grad
      
      * bug: AssertionError: When Variable is used as the condition of if/while , Variable can only contain one element.
      88402cdb
  10. 03 7月, 2023 1 次提交
  11. 30 6月, 2023 1 次提交
    • L
      修改 COPY-FROM No.5 nn (#54889) · 0f69d932
      Li-fAngyU 提交于
      * COPY FROM issue of paddle nn
      
      * 移除额外添加的示例,并修改Examplex->Examples
      
      * remove example name of transformer
      0f69d932
  12. 28 6月, 2023 1 次提交
  13. 16 6月, 2023 1 次提交
  14. 14 6月, 2023 3 次提交
  15. 12 6月, 2023 1 次提交
  16. 09 6月, 2023 1 次提交
  17. 31 5月, 2023 1 次提交
  18. 30 5月, 2023 1 次提交
  19. 23 5月, 2023 2 次提交
  20. 22 5月, 2023 1 次提交
    • M
      [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode() (#53856) · 3794d171
      Meteor Liu 提交于
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * fixed cyclic reference that caused patial import
      
      * fixed bad change
      
      * fix bad import
      
      * fix bad import
      
      * fix bad import
      
      * fix ut failed caused by change in_dynamic_mode
      
      * fix ut failed caused by change in_dynamic_mode
      
      * fixed usage of in_dynamic_mode() or in_dygraph_mode()
      
      * revert python3 to python in .pre-commit-config.yaml
      
      * fix merge conflicts
      3794d171
  21. 18 5月, 2023 3 次提交
  22. 16 5月, 2023 3 次提交
  23. 11 5月, 2023 1 次提交
  24. 09 5月, 2023 1 次提交
  25. 08 5月, 2023 1 次提交
  26. 05 5月, 2023 1 次提交
  27. 27 4月, 2023 1 次提交
  28. 26 4月, 2023 1 次提交
  29. 25 4月, 2023 1 次提交
    • Q
      [fluid clean] remove Print. (#51778) · ed45ecc6
      qizhaoaoe 提交于
      * fluid clean: remove print/switch from fluid to static
      
      * remove Switch in static.__init__
      
      * fix conflicts.
      
      * replace Switch by case.
      
      * fix piecewise_lr decay.
      
      * fix typo
      
      * fix conflicts.
      
      * fix lr dtype
      
      * keep Switch in paddle.static.nn.control_flow and fix piecewise_lr.
      
      * fix conflicts.
      
      * keep Switch in the fluid.
      
      * fix Switch doc
      
      * fix example in Switch doc
      
      * fix Switch doc.
      
      * fix static/__init__.
      ed45ecc6