- 24 8月, 2023 1 次提交
-
-
由 xiaoguoguo626807 提交于
* [prim][newir] add basic framework for primitive * support desctensor in new ir * add vjp interface * support vjp in new ir * support vjp in new ir * polish vjp interface * fix stop_gradients set * fix vjp dispatch * add comment * add vjp test for new ir * add test for tanh vjp * [prim][newir] add basic framework for primitive * support desctensor in new ir * support vjp in new ir * support vjp in new ir * polish vjp interface * fix stop_gradients set * fix vjp dispatch * add comment * add vjp test for new ir * add test for tanh vjp * add eager and static backend for warp lower level api * support call_vjp pybind * polish code and add test for vjp * remove useless code * polish code * remove useless code * support mean vjp * backward origin code * add test for mean vjp and support has_vjp function * fix call_vjp * polish code * add attrs and dtype interface * add primitive ops set for backend * fix compile bugs * fix some bugs * fix windows bugs * add vjp test for tanh_ * fix inference CI * fix inference ci * modify fluid cmake * origin test of tanh and mean passed * fix conflict * modify stop_gradient * remove useless deps * add cmake * modify block.ops * modify test * fix conflict * reply review comments * reply review comments * pulish code * fix comment * fix test * polish code * modify backward stop_gradients * modify static_backend.cc * refactor grad_op * support add and add_inplace vjp * remove useless code * remove useless code * remove cout * modify add_n * modify add_n with add_vjp test * modify add_n with add_vjp test * fix conflict and concat call_vjp * modify backward test * Add more gen api * modify split kernel pass * modify concat api * modify builtin split bug * delete vlog --------- Co-authored-by: Ncxxly <chenxx_id@163.com> Co-authored-by: NCharles-hit <wanghao107@baidu.com> Co-authored-by: Nzhangbo9674 <zhangbo54@baidu.com> Co-authored-by: NYuanRisheng <yuanrisheng@baidu.com> Co-authored-by: N0x45f <wangzhen45@baidu.com>
-
- 18 8月, 2023 1 次提交
-
-
由 xiaoguoguo626807 提交于
* [prim][newir] add basic framework for primitive * support desctensor in new ir * add vjp interface * support vjp in new ir * support vjp in new ir * polish vjp interface * fix stop_gradients set * fix vjp dispatch * add comment * add vjp test for new ir * add test for tanh vjp * [prim][newir] add basic framework for primitive * support desctensor in new ir * support vjp in new ir * support vjp in new ir * polish vjp interface * fix stop_gradients set * fix vjp dispatch * add comment * add vjp test for new ir * add test for tanh vjp * add eager and static backend for warp lower level api * support call_vjp pybind * polish code and add test for vjp * remove useless code * polish code * remove useless code * support mean vjp * backward origin code * add test for mean vjp and support has_vjp function * fix call_vjp * polish code * add attrs and dtype interface * add primitive ops set for backend * fix compile bugs * fix some bugs * fix windows bugs * add vjp test for tanh_ * fix inference CI * fix inference ci * modify fluid cmake * origin test of tanh and mean passed * fix conflict * modify stop_gradient * remove useless deps * add cmake * modify block.ops * modify test * fix conflict * reply review comments * reply review comments * pulish code * fix comment * fix test * polish code * modify backward stop_gradients * modify static_backend.cc * refactor grad_op * support add and add_inplace vjp * remove useless code * remove useless code * remove cout * modify add_n * modify add_n with add_vjp test * modify add_n with add_vjp test * fix conflict and concat call_vjp * modify backward test * Add more gen api * add builtin split op --------- Co-authored-by: Ncxxly <chenxx_id@163.com> Co-authored-by: NCharles-hit <wanghao107@baidu.com> Co-authored-by: Nzhangbo9674 <zhangbo54@baidu.com> Co-authored-by: NYuanRisheng <yuanrisheng@baidu.com> Co-authored-by: N0x45f <wangzhen45@baidu.com>
-
- 02 8月, 2023 1 次提交
-
-
由 gouzil 提交于
* [clang-tidy] modernize-avoid-c-arrays * rollback * [clang-tidy] fix * close modernize-avoid-c-arrays * fix PHI_DEFINE_string; add PHI_DEFINE_bool NOLINT * fix PHI_DEFINE_string * fix next_h_state and parity err * fix win32 * fix cuda_graph * fix accuracy_kernel * fix math_function * fix fused_softmax_mask_kernel.cu load_data and warp_reduce; rollback concat_and_split_functor ins_addr * fix fused_dropout_add_grad_kernel * fix * rollback cu * rollback concat_and_split_functor.cu * rollback
-
- 11 7月, 2023 1 次提交
-
-
由 Aurelius84 提交于
* [NewIR]Refine IrPrinter and basic Concept Interface for const Object
-
- 27 6月, 2023 1 次提交
-
-
由 winter-wang 提交于
-
- 26 6月, 2023 1 次提交
-
-
由 winter-wang 提交于
-
- 20 6月, 2023 1 次提交
-
-
由 zhangbo9674 提交于
* new_ir to shared * refine code * add ir lib path to env * refine type * refine code * fix bug * fix bug * refine code * refine code * close win * refine code * refine code * refine code * add win share * refine code * refie code * refine code * refine code * refien code * fix bug * fix bug * fix bug * solve conflict * solve conflict * fix bug * refine code * fix bug * fix bug * fix bug * fix bug * fix bug * refine code * fix interpretercore program bug * delete unuse code * fix bug * fix bug * fix bug * fix bug * fix bug * fix bug * fix bug * fix bug * fix cinn bug * fix cinn bug * debug * fix cinn bug * delete unused code * fix cinn bug * fix cinn bug * fix ug * test win openblas * test win openblas * fix win openblas bug * polish code * fix win open blas bug * close win dll * fix flag bug * test for windows * fix compile bug
-
- 12 6月, 2023 1 次提交
-
-
由 zhangbo9674 提交于
-
- 09 6月, 2023 1 次提交
-
-
由 zhangbo9674 提交于
* refine code * refine code * refine code * refine code * refine code * refine code * refine code * fix bug * refine code * refine code * refine code * refine code * refine code * delete unused code * delete unused code * refine code
-
- 06 6月, 2023 1 次提交
-
-
由 winter-wang 提交于
-
- 05 6月, 2023 1 次提交
-
-
由 zhangbo9674 提交于
* add constant op * support mutable attribute * refine code * fix bug * fix bug * refine code * fix bug * refine code * refine code * add ut * refine code * fix test bug * solve conflict * refine code
-
- 02 6月, 2023 3 次提交
-
-
由 kangguangli 提交于
* add vector type support for program translator * polish * support basic attribute type * resolve conflicts * add verify for combine/slice and unittests * polish * support more type in attribute translator * modify by reviews * fix merge mistakes * refine code * refine code * add interface * fix: op name normalization * fix typo * refactor input translator * fix merge conflicts * fix op normalizer bug * refactor attribute translator * fix bug * refactor output translator * fix typo * fix * fix approval error * fix coverage * fix op_compat parser * fix merge conflicts * fix merge conflicts * fix merge conflicts * fix merge conflicts * fix merge conflicts * revert some changes --------- Co-authored-by: Nzhangbo9674 <zhangbo54@baidu.com>
-
由 winter-wang 提交于
-
由 winter-wang 提交于
-
- 29 5月, 2023 1 次提交
-
-
由 winter-wang 提交于
-
- 24 5月, 2023 1 次提交
-
-
由 kangguangli 提交于
* add vector type support for program translator * polish * resolve conflicts * add verify for combine/slice and unittests * polish
-
- 23 5月, 2023 1 次提交
-
-
由 zhangbo9674 提交于
* Use copy_if_different to avoid recompilation of generated cutlass kernels. * add program parameter dialect_interface * fix op create bug * add conv2d * draft of paddle converter * fix CI * fix windows CI * fix program destructor * printer draft * fix bug * printer draft finish * fix windows CI * reserve inplace semantics * revert program::destroy since no need to do topology sort * revert * modify by reviews * commit printer and resnet50 related ops * fix * fix * fix op definition * refine op dyn_cast * fix bug * refine code * refine code * refine code * refine code * add code gen * refine code * refine code * refine code --------- Co-authored-by: Numiswing <umiswing@foxmail.com> Co-authored-by: Nkangguangli <kangguangli@hotmail.com>
-
- 19 5月, 2023 1 次提交
-
-
由 王明冬 提交于
-
- 17 5月, 2023 1 次提交
-
-
由 zhangbo9674 提交于
* add program parameter dialect_interface * fix op create bug * add ir parameter convert pd variable methods * refine code * fix bug * refine by ut * refine ut * delete unused code * refine code * refine code by comment * reset WITH_NEW_IR * refine op attribute map * refine program and op create * refine program and op create
-
- 02 3月, 2023 1 次提交
-
-
由 zhangbo9674 提交于
* add dialect * add some interface for dialect * add some dialect interfaces for class Type * set WITH_NEWIR=OFF * refine code by comment * polish code * refine include style * refine log for debug
-
- 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
-
- 09 1月, 2023 1 次提交
-
-
由 Jiabin Yang 提交于
* 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 * rm other file * rm gitignore file * code_style * add eager test * code_style * merge develop * remove useless files * modify static test * support bool flag from singlton * merge develop * recover git ignore * fix conflict * recover git ignore for generated op * fix test compile error * remove some tests * add python test * 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 Co-authored-by: Nzyfncg <zhangyunfei07@baidu.com> Co-authored-by: Nwangruting <wangruting@baidu.com> Co-authored-by: Ncxxly <chenxx_id@163.com> Co-authored-by: Ncharles-hit <wanghao107@baidu.com> Co-authored-by: Nxiaoguoguo626807 <100397923+xiaoguoguo626807@users.noreply.github.com>
-
- 04 3月, 2022 1 次提交
-
-
由 hong 提交于
* move conv to pten * move conv to pten; test=develop * fix bug; * add conv cudnn impl; test=develop * update * update operator; test=develop * fix bug; test=develop * move operator and prepared_operator to develop; test=develop * resolve conflict; test=develop * remove useless code;test=develop * add depency ; test=develop * fix bug; * add sig.cc ; test=develop * fix use_op error; test=develop * fix bug; test=develop * fix bug; test=develop * add conv3d register; test=develop * fix star gan and conv_nn_grad test failed; test=develop * add header; test=develop * manul to recover to develop; * resolve confilct; test=develop * remove useless code * fix bug; * remove conv2d_cudnn; test=develop * fix bugs; test=develop * fix cpu rocm compile bugs; test=develop * fix blas error; test=develop * fix compile bug; test=develop * fix windows compile error; test=develop * fix windows error; test=develop * resolve confilct; test=develop
-
- 25 2月, 2022 1 次提交
-
-
由 0x45f 提交于
* move eye OP to pten * move size OP to pten * merge develop * fix merge * move files * move erfinv OP to phi * remove comment * move pixel_shuffle OP to phi * remove comment * fix PT_REGISTER * fix NPU * fix CR * remove size_sig.cc for PR-CI-Coverage
-
- 24 2月, 2022 1 次提交
-
-
由 zhouweiwei2014 提交于
* Migrate poisson op into phi * fix CI * fix comment
-
- 20 2月, 2022 1 次提交
-
-
由 Chen Weihang 提交于
* rename pten dir to phi * rename namespace to phi * rename infrt pten dir to phi * resolve conflict * rename pten to phi in cmake * revert all infrt change * change needed files * fix infrt failed * fix inference failed
-
- 28 1月, 2022 1 次提交
-
-
由 hong 提交于
* move digamma to pten; test=develop * fix mutable_data bugs; test=develop * remove useless code; test=develop * remove kernel compute; test=develop * fix bug; test=develop
-
- 17 1月, 2022 1 次提交
-
-
由 Allen Guo 提交于
* update ipu_backend * sync with paddle internal Co-authored-by: NXiaobing Wang <xiaobingw@graphcore.ai> Co-authored-by: NAllen Guo <alleng@graphcore.ai> Co-authored-by: NZhixin Yao <zhixiny@graphcore.ai> Co-authored-by: NHaicheng Jiang <haichengj@graphcore.ai> Co-authored-by: NHan Zhao <hanzhao@graphcore.ai> * apply comments 01 * update error messag * restore ipu_executor and ipu_optimizer * add clang-format on Co-authored-by: NXiaobing Wang <xiaobingw@graphcore.ai> Co-authored-by: NZhixin Yao <zhixiny@graphcore.ai> Co-authored-by: NHaicheng Jiang <haichengj@graphcore.ai> Co-authored-by: NHan Zhao <hanzhao@graphcore.ai>
-
- 12 1月, 2022 1 次提交
-
-
由 ziyoujiyi 提交于
* delete gloo connect retry * the_one_ps dirs reconstruct * . * . * create the_one_ps dirs * create the_one_ps dirs * create the_one_ps dirs * create the_one_ps dirs * create the_one_ps dirs * create the_one_ps dirs * the one ps dirs modify * the one ps dirs modify * the one ps dirs modify * the one ps dirs modify
-
- 03 11月, 2021 1 次提交
-
-
由 LiYuRio 提交于
-
- 18 9月, 2021 1 次提交
-
-
由 Huihuang Zheng 提交于
Add basic Cost Model, it uses executor to run program and profile it to get op time. This is an early basic version, we will add more functions in the future.
-
- 15 9月, 2020 1 次提交
-
-
由 Wilber 提交于
-
- 03 6月, 2020 1 次提交
-
-
由 Yanghello 提交于
* add crypto helper for paddle, test=develop * cryptopp.cmake bug fixed, test=develop * remove debug build type, test=develop * fixed CMakeLists for new target, test=develop * fix CI bug, test=develop * add cmake option flag DWITH_CRYPTO, test=develop * add crypto api for python, test=develop * Revert "add crypto api for python, test=develop" This reverts commit 3a1cfa9d. * Revert "Add crypto api (#24694)" This reverts commit 5a7a517c. * Revert "Revert "Add crypto api (#24694)"" This reverts commit f952b19f. * fixed cryptopp cmake building error, test=develop * change WITH_CRYPTO building option to OFF, test=develop * âfixed cipher test failed, test=develop * "add crypto api for python, test=develop" This reverts commit 83fb55c0. * travis CI bug fixed, test=develop * fixed test in python3 * test=develop * fixed unittest, test=develop
-
- 21 1月, 2019 1 次提交
-
-
由 flame 提交于
add python inference api
-
- 10 1月, 2019 1 次提交
-
-
由 flame 提交于
-
- 13 12月, 2018 1 次提交
-
-
由 sneaxiy 提交于
fix cmake again test=develop
-
- 10 12月, 2018 1 次提交
-
-
由 sneaxiy 提交于
-
- 10 9月, 2018 1 次提交
-
-
由 Yan Chunwei 提交于
-
- 18 6月, 2018 1 次提交
-
-
由 Yan Chunwei 提交于
-
- 24 5月, 2018 1 次提交
-
-
由 Yan Chunwei 提交于
-