- 02 3月, 2023 2 次提交
-
-
由 Jiabin Yang 提交于
* fix attrs copy error * fix bert by fix slice error * fix op test
-
由 wangzhen38 提交于
* [cinn] concat_grad * [cinn] concat_grad * [cinn] concat_grad build success * [Add PGLBOX] fix unnitest * [Add PGLBOX] fix unnitest * [Add PGLBOX] fix codestyle * [cinn] update by comments * [cinn] update by comment * [cinn] add axis check
-
- 01 3月, 2023 3 次提交
-
-
由 Jiabin Yang 提交于
* fix sqrt grad * fix sqrt grad
-
由 HongyuJia 提交于
* Add comments for #50886 * [Tensor Operants & Prim-Relevant] Tensor supports logical operants * add prim dynamic unit test * add prim static unit test
-
由 zqw_1997 提交于
* tmp gather vjp * support gather * remove useless code * fix compiling error * fix ut * add eager test * add eager test * add seed * small change * fix cpu error * fix transpose op compat * remove tensor index case * fix prim_cinn * small commit * add cumsum prim backward * small commit * skip aixs=None test case * fix op generante eror * fix static test error * remove unused code * fix static test error * small commit * skip cpu float16 test case * skip eager cpu cumsum float16 test case * add eager and static UT * fix ut * add composite backward rule * fix error * fix type error and format error * add try cpu+float16 test * fix test bugs * remove test for cpu+float16 and make y[0] be the grad arg * add cinn test * fix UT * fix the wrong dim of v in test cases * change y[0] to y[1] for grad in UT * reshape flatten out * Disable cinn single test * use scatter_nd_add * modify the reshape part of topk_grad * delete useless build file * to make the syntax right * modify bug * try use of put_along_axis * remove cinn test * reformat todo * add silu composite rule * fix code style. * add cinn test * fix composite grad maker code gen * add prim in cumsum op test * remove old test * fix typro * pass the static test * fix typro * modify optest and delete old test files * remove normal test_top_k_op test * fix typro * pass axis=None test case * buffer comment * for debug * add silu fp16 unit test. * add static guard * remove forward prim test * remove same name axis * modify the test_top_v2_op.py to pass all local tests * delete the useless testcase * fix mistake * add more testcases to test dtype16 and dtype32 --------- Co-authored-by: NJiabinYang <360788950@qq.com> Co-authored-by: NGGBond8488 <857631483@qq.com> Co-authored-by: Nzxcd <228587199@qq.com> Co-authored-by: NCharles-hit <wanghao107@baidu.com>
-
- 28 2月, 2023 4 次提交
-
-
由 HongyuJia 提交于
-
由 xiaoguoguo626807 提交于
* modify name * merge develop * original code * build modify * success 2*2 * fused dim=1 failed * success * modify static * success for static except dim=1 * delete log * tmp modify * success * success * add fp1664 * delete fp16 cpu test * stop windows test * review modify * modify tanh test * modify tanh * fix_conflixt * modift static prim * fix_conflict * Update test_static_prim.cc * update * bug fix
-
由 GGBond8488 提交于
* add cumsum prim backward * skip aixs=None test case * fix op generante eror * fix static test error * remove unused code * fix static test error * skip cpu float16 test case * skip eager cpu cumsum float16 test case * add cinn test * reshape flatten out * Disable cinn single test * remove cinn test * reformat todo * add prim in cumsum op test * remove old test * fix typro * fix typro * fix typro * pass axis=None test case * remove forward prim test * remove same name axis
-
由 Jiabin Yang 提交于
* support transpose and reshape * support reshpe, transpose, cast vjp * merge develop * recover unused file * remove prim base * support problem * remove additional status settting * remove additional status settting * fix ut * fix ut * fix ut * fix no grad branch * add more test * disable fp16 in cpu * fix test
-
- 27 2月, 2023 1 次提交
-
-
由 HongyuJia 提交于
* [Tensor Operants & Prim] Tensor pow API uses elementwise_pow * unittest change to fill_constant+elementwise_pow
-
- 24 2月, 2023 2 次提交
-
-
由 xiaoguoguo626807 提交于
* support prim test in OpTest * fix cmake * fix op test * fix test_input_spec * disable cinn in reduce_sum unit test * add bfloat16 dtype for sum * add approve rules * polish code * add clear jit program function * convert grad out from tensor to numpy * remove unnecessary code * add only_prim flag * fix flag * fix op test * add attr * fix optest comp inplace error * fix op test * fix op test with guard * add initialization of check_comp flag * fix comp inplace error in op test * rename check_comp with check_prim and add bfloat16 dtype convert * rename comp_op_type to prim_op_type * rename comp to prim * remove useless code * skip ci check for only prim * add no_grad_vars and grad_outputs in prim test * fix var_dict * fix op test for only_prim * fix dy2static bugs * polish some code * temp * modify op test * except cinn test * modify bfp16 * modify pad grad * add pad_grad dtype * start cinn part --------- Co-authored-by: NCharles-hit <wanghao107@baidu.com>
-
由 HongyuJia 提交于
-
- 23 2月, 2023 2 次提交
-
-
由 HongyuJia 提交于
* change phi tensor_gen->tensor_operants_gen * [Tensor API] Support multiple Tensor C++ api * [Tensor API] Unsupport prob Tensor API * accept reviewers comment of #50731 * delete tensor_api.yaml
-
由 HongyuJia 提交于
* polish namespace * change static_tensor_operants * polish namespace * support add, subtract, divide * add unit test * polish unittest * fix cmake error * solve conflicts, merge auto code-gen * add scalar operator in tensor.h * tensorbase * static prim full support more datatype * fix prim unittest * polish codes * fix cmake error
-
- 22 2月, 2023 2 次提交
-
-
由 HongyuJia 提交于
* change phi tensor_gen->tensor_operants_gen * [Tensor API] Support multiple Tensor C++ api
-
由 Jiabin Yang 提交于
* tmp gather vjp * support gather * remove useless code * fix compiling error * fix ut * add eager test * add eager test * add seed * fix cpu error * fix transpose op compat * remove tensor index case * fix prim_cinn * fix ut
-
- 21 2月, 2023 1 次提交
-
-
由 HappyHeavyRain 提交于
* support bw invoke fw * fix scale in static_backward.yaml * fix the bug in tensorrt/convert * move 'scale','sign' into ops.yaml * add scale_grad of scale in op_compat.yaml * change generated_static_op in CMakeLists.txt
-
- 20 2月, 2023 1 次提交
-
-
由 HongyuJia 提交于
* polish tensor operants implementation * change year, 2021->2023
-
- 18 2月, 2023 1 次提交
-
-
由 HongyuJia 提交于
* support prim eager codegen * support prim static codegen * fix static header file * polish code style, support arthmetic * add subtract to yaml * fix merge conflict
-
- 17 2月, 2023 2 次提交
-
-
由 xiaoguoguo626807 提交于
-
由 risemeup1 提交于
-
- 16 2月, 2023 1 次提交
-
-
由 HongyuJia 提交于
* polish namespace * change static_tensor_operants * polish namespace * support add, subtract, divide * add unit test * polish unittest * fix cmake error * polish unittest
-
- 14 2月, 2023 1 次提交
-
-
由 HongyuJia 提交于
* polish namespace * change static_tensor_operants * polish namespace
-
- 12 2月, 2023 1 次提交
-
-
由 Xiaoxu Chen 提交于
-
- 11 2月, 2023 1 次提交
-
-
由 HongyuJia 提交于
* init commit * fix tensor operator* * fix compile bug * bug reproduce * update commit * polish codes * fix compile bug * test begin * test begin * compile finish * restore origin composite_backward_api * pass local CI * fix merge error * fix merge error * change py_test from GPU->CPU, test custom op * polish codes, modify prim unittest * modify prim unittest * determine phi_tensor_operants location * polish codes * add header file * solve windows unresolved symbol * fix some CI error * add overload defination * fix CI inference and Windows * polish codes according to reviewers' opinion * polish codes according to reviewers' opinion
-
- 03 2月, 2023 2 次提交
-
-
由 Jiabin Yang 提交于
* optimize log * fix type error * fix type error2
-
由 Jiabin Yang 提交于
* refactor dir for prim * support blacklist for bwd comp * fix type error * remove additional file * fix git ignore * add more test * merge develop
-
- 02 2月, 2023 1 次提交
-
-
由 Xiaoxu Chen 提交于
【PRIM】Support use operator's output metadata info in constructing static backward composite (#50043) * [prim] support custom target_gradients * support infershape after append one gradop * [prim] add simple net test * fix test_loop segment fault bug * [prim] fix infer shape segment fault bug when output of grad_op_desc is empty
-
- 31 1月, 2023 1 次提交
-
-
由 Charles-hit 提交于
* polish static grad op maker gen * fix some bugs * fix static code gen * solve conflict * modify composite grad maker name * integrate phi and fluid info in static code gen * rename some composite maker * modify static code gen format
-
- 20 1月, 2023 1 次提交
-
-
由 Jiabin Yang 提交于
-
- 19 1月, 2023 1 次提交
-
-
由 xiaoguoguo626807 提交于
* modify name * merge develop * fix param * fix exp gen bug * fix sum_grad * comment
-
- 17 1月, 2023 3 次提交
-
-
由 xiaoguoguo626807 提交于
* proto type of composite grad in paddle * proto type of composite grad in paddle * refactor composite api with phi * fix compile error * support static graph code-gen for squeeze op * generate static graph code of unsqueeze * refine op name * fix compile error * add extra output in op_compat * remove debug log * fix clang compile error * support prim switch flag * support prim switch flag * fix dygraph error * merge develop * add code_gen * add necessary files without codegen * fix code_gen bug * add deps * modify igmnore * add ignore * delete std cout * add composite logic for backward.py * add tanh first order grad composite * support enable_prim flag for static graph * throw expection when both GrapOpMaker and GradCompOpMaker not been registered * reorganize the directory of prim api tests * fix windows error * add eager_utils * add eager_utils * modify code gen * add composite parse * add unittest for get_grad_op_desc * code optimize * fix static test on windows * support generate static graph code for imag and real op * fix windows compile error in test_static_prim * merge develop * disable test eager in inference * prim code gen * disable eager compile in inference * origin_yaml codegen success * rm other file * rm gitignore file * code_style * add eager test * code_style * clear # * merge develop * clear # * remove useless files * modify static test * support bool flag from singlton * merge develop * recover git ignore * fix conflict * clear prim_gen * recover git ignore for generated op * parse_yaml success * fix test compile error * remove some tests * add python test * code_style * revert parse_utils+ clear prim_gen * fix some name issue * add composite code gen * modify backward yaml * fix static composite grad maker code gen * remove addtional files * add some static funcs unit test * fix some bugs * fix composite grad maker register code gen * optimize some functions * modify gen cmake * add more api gen * add header * modify static * add static expand unsqueeze * comments * modify compopmaker * revert * modify gen name Co-authored-by: NJiabinYang <360788950@qq.com> Co-authored-by: Nzyfncg <zhangyunfei07@baidu.com> Co-authored-by: Ncxxly <chenxx_id@163.com> Co-authored-by: Ncharles-hit <wanghao107@baidu.com>
-
由 Jiabin Yang 提交于
-
由 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>
-
- 16 1月, 2023 4 次提交
-
-
由 Jiabin Yang 提交于
This reverts commit 4d5265b8.
-
由 Charles-hit 提交于
* polish static grad op maker gen * fix some bugs * fix static code gen * solve conflict * modify composite grad maker name
-
由 zqw_1997 提交于
-
由 xiaoguoguo626807 提交于
-
- 15 1月, 2023 1 次提交
-
-
由 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
-
- 13 1月, 2023 1 次提交
-
-
由 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
-