1. 14 4月, 2022 20 次提交
  2. 13 4月, 2022 20 次提交
    • L
      Lml/add prim ops (#41201) · 97dec7ca
      levi131 提交于
      * native commit for triple grad of sigmod
      
      * Updated unittests files
      
      * init functional jacobian api
      
      * Updated trible_test func
      
      * Updated gradient_checker & test_script
      
      * finish test with dtype float32
      
      * add float64 test case
      
      * polish code
      
      * use atol=1e-5 with dtype float64
      
      * fix for ci
      
      * set timeout for test_jacobian
      
      * fix dygraph grad to support high differential
      
      * polish API docstring
      
      * Updated gradient checker and some related files
      
      * fix double grad strip error for high differential
      
      * fix double grad strip error for high differential
      
      * Add Sigmoid triple grad tests
      
      * fix dygraph double grad dtype error when calling for high differential senario
      
      * Updated triple grad teses func
      
      * Use np.random to initialize ddx
      
      * Updated triple_grad_check func
      
      * add todo for gradient checker and refine some comments
      
      * remove additional code
      
      * add test for warnging in backward.py
      
      * format python code
      
      * support multi input in triple gradient checker
      
      * Add matmul triple grad kernel
      
      * Updated comments of TODO
      
      * Supported some special tests
      
      * Change code-format to follow CI std
      
      * Updated gradient_checker.py
      
      * Fix conflicts
      
      * Removed unnecessary printing log
      
      * Change code style to follow CI std
      
      * merge upstream
      
      * add_p
      
      * rm useless files
      
      * add sub_p mul_p div_p
      
      * add sqrt_p and tanh_p
      
      * add reshape_p
      
      * add broadcast_p
      
      * add broadcast_p fill_constant_p matmul_p reduce_p reshape_p transpose_p
      
      * add split_p and concat_p
      
      * add gather_p and scatter_add_p
      
      * add slice_select_p and slice_assign_p
      
      * add multi input check for add_p, sub_p, mul_p, div_p
      
      * update concat_p
      
      * refine gather_p and scatter_add_p
      
      * refine slice_assign_p and slice_select_p
      
      * add 9 test for prim ops
      
      * add more test and fix some bug
      
      * add more test
      
      * register proto
      
      * add shape valid check for broadcast_p op, and add keepdim attr into reduce_p op proto
      
      * support multi input and multi output for split_p and concat_p
      
      * fix slice bug for slice_select_p and slice_assign_p
      
      * dtype for axis attr should be long int
      
      * update dtype for axis attr int64_t
      
      * update for iscan CI
      
      * add more shape and dtype check
      
      * change IndexTensor into int32 dtype
      97dec7ca
    • W
      the one ps proto (#41659) · b12af9e1
      wangguanqun 提交于
      * the one ps proto
      
      * the one ps proto
      
      * fix
      
      * fix
      
      * fix
      
      * fix windows ci
      
      * fix windows ci
      
      * add dependency
      
      * add dependency
      b12af9e1
    • Z
      Adjust the slice end in getitem (#41681) · 27a91b1a
      zyfncg 提交于
      * adjust the slice end in getitem
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * recover start change
      27a91b1a
    • H
      add split backward yaml (#41746) · b61fa16a
      hong 提交于
      b61fa16a
    • Z
      [XPUPS]add support for kunlun2 (#40985) · c9c03e7b
      zmxdream 提交于
      
      [XPUPS]add support for kunlun2
      Co-authored-by: NWorgenZhang <frank08081993@gmail.com>
      c9c03e7b
    • C
      fix new dygraph record event (#41715) · ca4aea2c
      chenjian 提交于
      * fix new dygraph record event
      
      * refine name
      
      * fix
      
      * fix
      
      * fix according to review
      ca4aea2c
    • Z
      tensor fluid code transfer part2 (#41096) · c239f15a
      zhiboniu 提交于
      c239f15a
    • L
      1e56ca8a
    • T
      Update static-check CI Build (#41174) · 1cdd88f6
      tianshuo78520a 提交于
      1cdd88f6
    • F
      init roll convert (#41689) · 14c3c450
      feng_shuai 提交于
      * init roll convert
      
      * add ut for roll convert
      
      * roll convert don't support trt6.0
      
      * fix: change ut for trt 7.0.0.1
      14c3c450
    • Z
      Add yaml and unittest for SGD (#41485) · 6d1e03a2
      zyfncg 提交于
      * add sgd yaml
      
      * change python api
      
      * open eager mode in sgd
      
      * fix bug
      6d1e03a2
    • Z
      Reduce trt convert unit test problem size (#41701) · b0b75169
      zlsh80826 提交于
      b0b75169
    • T
      404c4a6b
    • Z
      [DoubleGrad] Enabled test_imperative_triple_grad test cases under eager_mode (#41612) · 15087552
      Zhanlue Yang 提交于
      * [DoubleGrad] Enabled double grad test cases in eager_mode for test_imperative_double_grad
      
      * Fixed elementwise issue
      
      * Addressed CI failures
      
      * [DoubleGrad] Enabled test_imperative_triple_grad test cases under eager_mode
      
      * Fixed minor issues
      15087552
    • H
      Add expand equal all yaml (#41540) · e53d1837
      hong 提交于
      * add expand, poisson
      
      * add poison grad
      
      * add expand equal_all poisson triangular solve yaml
      e53d1837
    • C
      Fix declarations header block (#41718) · f48a37ef
      Chen Weihang 提交于
      * test declarations block, test=document_fix
      
      * fix check error, test=document_fix
      
      * remove test code, test=document_fix
      f48a37ef
    • Y
      [Phi] Support construct Scalar by using Non-CPU Tensosr (#41528) · fe214af2
      YuanRisheng 提交于
      * support construct scalar using non-cpu tensor
      
      * fix bugs when run unittest
      
      * fix compile bugs
      
      * fix bugs when run ci
      
      * fix compile bugs
      
      * fix bugs when move copy
      
      * perfect unit test
      
      * perfect unittest
      
      * update according to comment
      
      * add target dependency
      fe214af2
    • Z
      Fix problem of infermeta with vector output (#41646) · b2390438
      zyfncg 提交于
      * remove stack_grad infershape
      
      * fix bug of output with null
      
      * fix bug
      b2390438
    • R
      fix moe apis (#41650) · 5f2c5b9e
      Roc 提交于
      5f2c5b9e
    • T
      optimize hbm (#41623) · d95280c7
      Thunderbrook 提交于
      * optimize hbm
      
      * format
      
      * format
      d95280c7