1. 09 8月, 2023 9 次提交
    • K
      [NewIR] minor fix about new ir test (#56075) · a127d7c8
      kangguangli 提交于
      * fix bugs about new ir test
      
      * enable dy2st newir test in all cases
      
      * fix
      a127d7c8
    • R
      fix atan2 grad (#56067) · 1bf2ab48
      ronnywang 提交于
      1bf2ab48
    • Z
      [IR] Fix assign_value_op bug (#56082) · 826eaf72
      zhangbo9674 提交于
      * fix bug
      
      * fix bug
      826eaf72
    • [xdoctest] reformat example code with google style in 78 (#55966) · b0ed082e
      张春乔 提交于
      * input.py
      
      * Update python/paddle/nn/functional/input.py
      
      * Update input.py
      b0ed082e
    • L
      remove the... · 723c6f77
      LoneRanger 提交于
      remove the AdamOptimizer、SGDOptimizer、MomentumOptimizer、ModelAverage、LookaheadOptimizer、FtrlOptimizer、DecayedAdagradOptimizer、DpsgdOptimizer in fluid and relocate the ExponentialMovingAverage、PipelineOptimizer、GradientMergeOptimizer and change optimizer base for LarsMomentumOptimizer and RecomputeOptimizer (#55970)
      
      * change the optimizer base for SGDOptimizer
      
      * change the optimizer base for SGDOptimizer
      
      * replace the SGDOptimizer with SGD
      
      * fix bug of sgd
      
      * change the optimizer base for MomentumOptimizer
      
      * fix the remaining tests
      
      * remove the Momentum in fluid/optimizer.py
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * Update test_resnet_cinn.py
      
      * Update test_resnet_prim_cinn.py
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * remove the ModelAverage in fluid
      
      * remove the LookaheadOptimizer in fluid
      
      * fix bug
      
      * remove AdamOptimizer in fluid
      
      * Update test_image_classification_fp16.py
      
      * fix bug
      
      * relocate the ExponentialMovingAverage in fluid
      
      * restore the static api
      
      * remove the FtrlOptimizer in fluid
      
      * remove the DecayedAdagradOptimizer in fluid
      
      * remove the DpsgdOptimizer in fluid
      
      * fix bug
      
      * fix codestyle
      
      * fix bug
      
      * fix bug
      
      * relocate the PipelineOptimizer
      
      * relocate the GradientMergeOptimizer
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix doc
      
      * Update __init__.py
      
      * Update test_fleet_qat_meta_optimizer.py
      
      * change optimizer base for LarsMomentumOptimizer
      
      * fix bug
      
      * fix conflict
      
      * fix code-style
      
      * fix sample codes
      
      * fix bug
      
      * fix bug
      
      * fix cinn bug
      
      * fix bug
      
      * fix bug
      
      * Update qat_optimizer.py
      
      * Update __init__.py
      
      * fix bug
      
      * change optimizer base for RecomputeOptimizer
      
      * fix bug
      
      * fix bug
      
      * Update test_imperative_optimizer_v2.py
      723c6f77
    • T
      Del gpups test (#56085) · 9ec0bdd5
      tianshuo78520a 提交于
      * Del test for gpups ci
      
      * test=document_fix
      9ec0bdd5
    • R
      14aed740
    • A
      [NewIR]Add cinn RuntimeDialect and JitKernelOp (#56074) · 12823f2b
      Aurelius84 提交于
      * [NewIR]Add cinn RuntimeDialect and JitKernelOp
      
      * remove PointerAttribute register
      
      * fix comment
      12823f2b
    • Y
      cherry pick #55651 and #55890 (#56063) · fa878846
      Yuang Liu 提交于
      fa878846
  2. 08 8月, 2023 30 次提交
  3. 07 8月, 2023 1 次提交
    • Y
      Add attn_mask supported for FlashAttnKernel. (#55969) · 42e0c6b8
      yin wei 提交于
      * add mask
      
      * add backword
      
      * add enforce info
      
      * update scale
      
      * integrate code
      
      * update enforce
      
      * add enforce eq
      
      * add error type
      
      * update enforce
      
      * add test_flash_attention
      
      * Polish codes and fix compiling errors.
      
      * Set num_splits to 0 for flash-attn with tensor mask.
      
      * Fix the compiling error for non flash-attn case.
      
      ---------
      Co-authored-by: NLiu Yiqun <liuyiqun01@baidu.com>
      42e0c6b8