1. 16 12月, 2021 4 次提交
    • J
      support eager switch system (#38170) · 8305c2be
      Jiabin Yang 提交于
      * support eager switch system
      
      * polish code
      8305c2be
    • L
      Add fmax and fmin operators (#37826) · dd3afc9d
      LJQ❤️ 提交于
      Add elementwise_fmax and elementwise_fmin operators
      dd3afc9d
    • L
      Add sparse_attention mask ,test=develop (#37973) · fa463b90
      Liu-xiandong 提交于
      Add key_padding_mask and attn_mask in sparse_attention Api
      
      1.Key padding mask is a tensor with dimensions [batch_size, seq_len], and attention mask is a tensor with dimensions [seq_len, seq_len]. The data types of the two masks are consistent with Q, K, and V, which are float32 or float64. If the value in Mask is 0, it means that the position needs to be masked.
      
      2.The changed files are mainly paddle/fluid/operators/sparse_attention_op.cu and python/paddle/fluid/tests/unittests/test_sparse_attention_op.py. sparse_attention has three parts: sddmm, softmax, and dsd. Adding the mask operation only needs to modify the softmax. It has no effect on the other two parts. In addition, in order to test the mask function, related tests has been added.
      fa463b90
    • L
      Add float16 type for scatter op. (#38136) · 9bac4a76
      Li Min 提交于
      * Add float16 type for scatter op.
      
      * Add fp16 test for scatter op.
      
      * Add int and int64 support for scatter_grad on gpu.
      
      * Add int and int64 for check_variable_and_dtype routine.
      
      * Minors.
      
      * Code format.
      9bac4a76
  2. 15 12月, 2021 10 次提交
  3. 14 12月, 2021 19 次提交
  4. 13 12月, 2021 7 次提交
    • Z
      add_conv_bn_fuse_pass_test (#37975) · 7096da0c
      zhenlin 提交于
      * add_conv_bn_fuse_pass_test
      
      * add trt NHWC bug into invalid program for avoiding error crash
      
      * add trt NHWC bug into invalid program for avoiding error crash
      
      * add trt NHWC bug into invalid program for avoiding error crash
      
      * fix trt pass target optype bug based on has_bias value
      
      * fix trt pass target optype bug based on has_bias value
      7096da0c
    • Z
      update 3 tests (#37922) · 33fbb66e
      zhenlin 提交于
      * update 3 tests
      
      * fix typo error
      33fbb66e
    • W
      fix can not find eager attr, test=develop (#38071) · 03b09bd6
      wanghuancoder 提交于
      03b09bd6
    • X
      fix single card 8 unittests in new executor (#37957) · 9a4eec98
      xiongkun 提交于
      * fix single card 8 unittests in new executor
      
      * fix
      
      * fix
      9a4eec98
    • C
      fix custom op infershape error (#38045) · 3a339cc0
      Chen Weihang 提交于
      3a339cc0
    • W
      add logit API (#37844) · b197bfe6
      wangzhen38 提交于
      * add Logit API
      
      * add unittest
      
      * conflict
      
      * pull conflit
      
      * pull conflit logit
      
      * fix unititest
      
      * fix code style
      
      * update docs style of
      
      * update en doc
      
      * fix docs en style
      
      * fix docs en style1
      
      * fix docs en style2
      
      * fix docs en style3
      
      * fix docs en style4
      
      * fix docs en style5
      
      * fix docs en style6
      
      * fix docs en style7
      
      * fix docs en style8
      
      * update by review
      
      * fix nan bug
      b197bfe6
    • Z
      [rot90] fix rot90 (#38042) · 201b7c9d
      zmxdream 提交于
      * [rot90] fix rot90
      
      * fix rot90
      
      * fix for ci. test=develop
      
      * fix rot90. test=develop
      
      * update. test=develop
      
      * update. test=develop
      201b7c9d