- 03 12月, 2021 2 次提交
-
-
由 wanghuancoder 提交于
* refine a test case, test=develop * publish python c api for eager, test=develop * revert modify about test_allclose_layer.py, test=develop * refine, test=develop * refine, test=develop * refine, test=develop * refine, test=develop * refine, test=develop * refine, test=develop * delete numpy includes, use pybind11 numpy.h, test=develop * refine, test=develop * refine, test=develop * refine, test=develop * suport eager error msg, and add grad test case, test=develop * refine, test=develop * refine, test=develop
-
由 zyfncg 提交于
* add code-gen file * add api-gen in cmake * adjust the code format * temp save the code * add genen-api module into pten * merge the develop code * fix merge conflict * fix code conflict with develop * support reduce_mean/sum * fix the CI requirement * fix requirement problem of CI * remove original api code * fix bug caused by removing original api
-
- 02 12月, 2021 1 次提交
-
-
由 YuanRisheng 提交于
* add inplace op adaptation * optimize inplace logic and fix bugs when run kernel that has args of vector<DenseTensor> * refactor logic that transform variable to densetensor * update func name
-
- 30 11月, 2021 3 次提交
-
-
由 chentianyu03 提交于
-
由 Chen Weihang 提交于
-
由 Chen Weihang 提交于
-
- 29 11月, 2021 2 次提交
-
-
由 chentianyu03 提交于
* add pten reduce kernel * add reduce_sum kernel * update attribute args and order * make out dtype undefined * fix empty input error * merge develop branch * rename sum as reduce function * rename sum as reduce function * fix reducekernelImpl args error * add reduce cuda kernel * modify dims type to const & * remove unsed log * fix reduce_all out eigen function error * remove unused codes * add the missing sum api define and testcase * merge develop branch * fix sum test axis value error * replace pten mean kernel with reduce_mean * revcover meam cuda to original implement
-
由 chentianyu03 提交于
* add cuda implement of cast kernel * remove bfloat16 when defined paddle_with_hip
-
- 26 11月, 2021 2 次提交
-
-
由 YuanRisheng 提交于
* Support parse kernel key by multi-inputs * optimize code according to reviewer
-
由 Chen Weihang 提交于
-
- 25 11月, 2021 2 次提交
-
-
由 zyfncg 提交于
* add scalar and scalar_array * remove DenseTensor include from Scalar and ScalarArray * remove inner header from scalar_array * refactor the method of fill_constant and add some comment * add fill_constant kernel using ScalarArray * modify some prompt * remove fill_constant kernel with no shape
-
由 Chen Weihang 提交于
-
- 24 11月, 2021 3 次提交
-
-
由 YuanRisheng 提交于
* elementwise_mul refactor * perfect code in test * delete redundant code * fix bugs when run test_multiply * adjust the location of macro * fix bugs when run ci
-
由 zyfncg 提交于
* add scalar and scalar_array * remove DenseTensor include from Scalar and ScalarArray * remove inner header from scalar_array * refactor the method of fill_constant and add some comment
-
由 Chen Weihang 提交于
* standarded unittest namespace * fix detail error
-
- 23 11月, 2021 5 次提交
-
-
由 YuanRisheng 提交于
* elementwise_div refactor * fix compile bugs in windows ci
-
由 Jiabin Yang 提交于
* Add EagerTensor and tests * remove useless enforce * remove comment in cmake * support autograd meta * support grad node info test * support grad_node_info * add more edge test * remove Python.h * refine error code * add error type in error msg * given default null name for tensor
-
由 Chen Weihang 提交于
* rename to api to copy_to * support cast method for tensor * fix compile failed
-
由 Chen Weihang 提交于
* adapt to inference api dir for pten * fix conflit with develop * fix test_egr_ds_eager_tensor compile failed
-
由 石晓伟 提交于
-
- 22 11月, 2021 4 次提交
-
-
由 Zhanlue Yang 提交于
-
由 Jiabin Yang 提交于
* Add EagerTensor and tests * remove useless enforce * remove comment in cmake * fix test_error * add depends on python * Remove python.h * Merge develop and add Eager tensor with test back
-
由 chentianyu03 提交于
* add cast kernel * add cast cuda kernel * add cast kernel * make cast kernel output dtype undefined * get cast dtype from vardesc * move cast to manipulation and add test case * add castinfershape * avoid reinitilaze variable * InitializeVariable support datatype * merge develop branch * fix merge bug * revert modify initializeVariable * revert modify on InitializeVariable * revert modify on InitializeVariable * mutable support reset dtype * enable make pten tensor from variable when def_arg.type is undefined * fix build pten ctx start_idx error * copy pten out tensor to variable * merge develop branch * fix non pten kernel cast failed * add reset allocation place for remake tensor * fix inplace realloc error * add mutable on pten kernles and remove unused cast files * rename function names * fix output type error * fix conflict with develop branch * set data type to variable with pten's dtype * fix test_cast_api type mismatch * densorTensro mutable_data support 0 bytes value * fix the inplace bug of reshape kernel * fix pten.backend != variable.place when moving storage, palce mismatch bug * fix conflict with develop branch * Fix bug of paddle::experimental::MovesStorage * fix ReMakePtenDenseTensor place mismatch bug * Revert "fix ReMakePtenDenseTensor place mismatch bug" This reverts commit 86336032f60b8a15eacd2c1ff2fa513f5d8dfd1a. * fix ReMakePtenDenseTensor place mismatch bug * reverts the set_lod interface, test=develop * modify by the review options * modify error message * add & for const input arguments * add reference in params * elementwise_sub add mutable_data * fix ResetHolderWithType check size bug * add dependence pten_tensor to test_cast_api object * remove unused code to pass ci coverage Co-authored-by: NChen Weihang <chenweihang@baidu.com> Co-authored-by: NYuanRisheng <yuanrisheng@baidu.com> Co-authored-by: Nshixiaowei02 <39303645+Shixiaowei02@users.noreply.github.com>
-
由 niuliling123 提交于
* modified the elementwise_op_broadcast and elementwise_op_impl for xpu2
-
- 20 11月, 2021 1 次提交
-
-
由 Jiabin Yang 提交于
-
- 19 11月, 2021 5 次提交
-
-
由 zyfncg 提交于
* rename TensorBase interface data_type() to dtype() * rename type to dtype of TensorMeta * merge the code * merge the code * fix the problem when merge conflict * fix bug of ci caused by type of tensor_meta * changes cmake to clear cache
-
由 Jiabin Yang 提交于
* Add EagerTensor and tests * remove useless enforce * remove comment in cmake * fix test_error * add depends on python
-
由 zyfncg 提交于
* rename TensorBase interface data_type() to dtype() * rename type to dtype of TensorMeta * merge the code * merge the code * fix the problem when merge conflict
-
由 Chen Weihang 提交于
* add copy_to and to method for Tensor * polish msg format * fix details error * fix copy_to test compile failed * fix typo
-
由 Chen Weihang 提交于
* add reshape method for Tensor * fix typo * fix typo * fix conflit with develop
-
- 18 11月, 2021 1 次提交
-
-
由 YuanRisheng 提交于
* elementwise_add kernel refactor * fix compile bugs in elementwise_add refactor * fix compile bugs when run in npu/xpu * fix bugs when run unit test * fix bugs when run ci-windows * modify code as recommended * code format adjust * fix bugs when run ci * fix compile bug when run in ci-windwos * elementwise_sub refactor * add PD_DLL_DECL for elementwise_sub * fix bugs when compilei
-
- 17 11月, 2021 3 次提交
-
-
由 石晓伟 提交于
-
由 Chen Weihang 提交于
* add slice api impl of Tensor * fix test slice error
-
由 zyfncg 提交于
-
- 16 11月, 2021 2 次提交
-
-
由 YuanRisheng 提交于
* reshape kernel refactor * fix compile bugs when run ci * support xpu for reshape * fix bugs when run unittest in kunlun ci * fix compile bugs when run kunlun * perfect code according to suggestion * add api and unit test for reshape
-
由 石晓伟 提交于
-
- 15 11月, 2021 4 次提交
-
-
由 Chen Weihang 提交于
* move extension into pten [no-verify] * append tensor methods by ext_tensor [no-verify] * append other tensor methods [no-verify] * ext related files tidy [no-verify] * include relation tidy [no-verify] * add pten tensor test [no-verify] * replace tensor in custom op & compile success * refine tensor constructor for unittest * custom relu jit run success * fix all custom op unittests * add inference cmake adapt [no-verify] * fix failed unittests * fix windows failed unittests * try to fix kunlun and inference failed * fix test_elementwise_api error * try to fix win compile failed * fix kunlun fp16 type error * remove useless haddle error macro * add custom linear op test * fix compile failed & add win symbols * fix non pten kernel cast failed * add dll decl for api * polish several deetails * polish details by review comment * add dll_decl for register
-
由 Chen Weihang 提交于
-
由 arlesniak 提交于
* Added BF16 to mean op * fix for CI * fix for CI * fix for CI
-
由 Linjie Chen 提交于
Optimize dot product of Matmul_v2
-