1. 17 1月, 2023 4 次提交
    • rm flag retain grad (#49835) · 73f97de0
      姜永久 提交于
      * rm retain grad
      
      * fix zero_dim
      
      * fix zero_dim for xpu
      
      * reset zero dim for xpu
      
      * reset xpu
      
      * reset custom_relu
      
      * Reset flip
      
      * fix zero dim
      73f97de0
    • zhouweiwei2014's avatar
      disable scatter zero_dim test (#49853) · 86fa1715
      zhouweiwei2014 提交于
      86fa1715
    • W
      [Dy2St]Support call backward() without params in dy2st (#49812) · 2f24b2d8
      WangZhen 提交于
      * Support call backward() without params in dy2st
      2f24b2d8
    • X
      【Prim】Add multiply,expand,div vjp rules (#49831) · 39c6765a
      Xiaoxu Chen 提交于
      * support elementwise base func
      
      * fix compiling error and add test
      
      * support vjp for div using comp
      
      * remove additional change
      
      * fix dy2st error with magic num
      
      * fix dy magic num
      
      * another magic
      
      * another magic
      
      * another magic
      
      * add skip rename strategy
      
      * support add vjp
      
      * support add with new axis cal
      
      * support sub vjp
      
      * [prim] add multiply vjp rules
      
      * [prim] add multiply vjp rules
      
      * [prim] fix no infershape with composite in _append_backward_ops
      
      * [prim] add expand vjp rule
      
      * [prim] add exp vjp rule
      
      * uncomment infer shape for reshape/sum static prim api
      
      * [prim] fix tanh nullptr error
      
      * remove some print message
      
      * fix magic number in run_program relative tests @JiaBinYang
      
      * [prim] add expand,multiply,exp vjp rules
      
      * fix only support single direction reduce error
      
      * infer reduce dims using out dims
      Co-authored-by: NJiabinYang <360788950@qq.com>
      39c6765a
  2. 16 1月, 2023 6 次提交
  3. 15 1月, 2023 1 次提交
    • J
      【Prim】Enhance tests (#49814) · 090aa45d
      Jiabin Yang 提交于
      * support elementwise base func
      
      * fix compiling error and add test
      
      * remove additional param
      
      * support vjp for div using comp
      
      * remove additional change
      
      * fix dy2st error with magic num
      
      * fix dy magic num
      
      * another magic
      
      * another magic
      
      * add more test
      
      * fix windows problem
      
      * another magic
      
      * fix windows compile
      
      * invoke ci
      
      * add skip rename strategy
      
      * support add vjp
      
      * fix test_tanh
      
      * support add with new axis cal
      
      * fix resnet and some test
      
      * add composite log
      
      * support sub vjp
      
      * enhance_tests
      
      * support more dtype for full
      090aa45d
  4. 13 1月, 2023 16 次提交
  5. 12 1月, 2023 7 次提交
  6. 11 1月, 2023 6 次提交
    • N
      395520f1
    • Y
      add FusedLinear pass (#49606) · 0f08a432
      yuehuayingxueluo 提交于
      * add FusedLinear pass
      
      * add fused_op_list and renname PASSES to OP_FUSION
      
      * add fused_passes_list to constants.py
      
      * add test_passes.py
      
      * fix test_fused_passes.py
      
      * fix add if float(paddle.version.cuda()) >= 11.6:
      
      * renamed test_fused_passes.py
      
      * fix CMakeList.txt
      0f08a432
    • R
      [Dy2St] 移除 ProgramTranslator (#49628) · 2bb28f31
      Ryan 提交于
      * add enable_to_static and drop some methods of ProgramTranslator
      
      * fix code style
      
      * fix cant import enable_to_static and update unitest
      
      * change unitest and rollback code of PT
      
      * fix can't import as of utils
      
      * roll back PT
      
      * fix roll back
      
      * add some unitest
      
      * add unitest and fix codestyle bug in api.py
      
      * finish all unitest
      
      * remove ProgramTranslator
      
      * fix code style
      
      * restore test_program_translator
      
      * api.py remove get_func
      
      * TestDygraphToStaticCode
      
      * fix check_type and import err
      
      * roll back PT without getcode
      
      * roll back pt with get_code
      
      * convert_to_static
      
      * fix import __all__
      2bb28f31
    • L
      fix hsigmoid_loss (#49549) · 8f0adcb5
      Linjie Chen 提交于
      8f0adcb5
    • L
      Add input check for NLLLoss (#49547) · 08bf1b49
      Linjie Chen 提交于
      * fix nll_loss
      
      * fix nll_loss
      
      * update
      
      * update
      
      * update
      
      * fix
      08bf1b49
    • rm retain_grad_flag for tests part0 (#49655) · a504508c
      姜永久 提交于
      * rm retain_grad_flag for tests
      
      * modify transpose op
      
      * retain grads for xpu tests
      
      * lint
      
      * modify xpu test
      a504508c