- 29 3月, 2023 2 次提交
- 28 3月, 2023 32 次提交
-
-
由 Feiyu Chan 提交于
Add basic functionalities to support Scalar & Scalars in operator attribute. 1. extend allowed types in operator's attribute type, add `paddle::experimental::Scalar`, add corresponding protobuf Message types; 2. Scalar enhancement, add formatting, equality; 3. add code to handle Scalar & Scalars in opmaker, conversion from paddle operator to phi kernel, opdesc construction and manipulation, tensorrt converter, tracer, operator construction, etc; 4. bind `paddle::experimental::Scalar` to python, as `libpaddle.Scalar`; 5. add functionality to canonicalize attribute map according to OpProto(if the op the attribute map used for has an OpProto); 6. add code to manipulate Scalar proto message via protobuffer python API; Add unittests. 1. add test cases for formatting, equality for Scalars, and WrapAsScalars; 2. add test cases for 'casting' between different morphs of attributes; 3. add test cases for extracting scalar & scalars from attribute; 4. add test cases for CanonicalizeScalarAttrs(and fix a bug in type index offset); 5. fix gmock's library filename on windows platform. 6. clean code: use canonicalize_attrs instead of inlining the function; 7. add test cases for libpaddle.Scalar in python code. 8. add test cases for `make_scalar_proto`, which manipulate proto message `Scalar` via protobuffer python API.
-
由 kangguangli 提交于
* remove api `class ParallelExecutor` * remove other references
-
由 wanghuancoder 提交于
* delete old dygraph op test
-
由 xiaoguoguo626807 提交于
* support layer_norm prim and cinn test * enable cinn test * fix merge conflict * polish input for check_output_with_place * fix merge conflict * add more test case * fix merge conflict * polish test case * polish op_test * change ln_g rules * modify scale is none case * modify scale is none case * add public_python_api for check prim * modify setoutputgrad and fp64bug * add todo & delete log * delete Single***varname * delete get varname * modify FP64 bug * delete op test * recover * fix conflict --------- Co-authored-by: NWeilong Wu <veyron_wu@163.com>
-
由 Leo Chen 提交于
* add flag to set chunk size * use the flag * add vlog * add ut * rename ut
-
由 houj04 提交于
* fix int8 support for full kernel * fix ut.
-
由 gouzil 提交于
-
由 Nyakku Shigure 提交于
-
由 WangZhen 提交于
* Polish ResNet and Bert prim_cinn test
-
由 cyberslack_lee 提交于
* fix huber_loss * fix * fix ops.yaml add intermediate * fix * fix test
-
由 Ainavo 提交于
-
由 Kim 提交于
-
由 gouzil 提交于
* [CodeStyle][B020] rename for * [CodeStyle][B020] rename for
-
由 Haohongxiang 提交于
-
由 wangxinxin08 提交于
* add unittest for conv2d/depthwise_conv2d/conv2d_transpose * add bf16 for DWConv and ConvTranspose * fix unitest of conv2d_transpose * modify DWConv2d op and unittest * fix unittest of conv2d_transpose_bf16 * modify unittest name according to review * modify atol of DWConv2D unittest
-
由 gouzil 提交于
* [Test Mv] autograd_test * [Move Test] rm py_test_modules
-
由 wanghuancoder 提交于
* delete old dygraph mkldnn op test
-
由 Wang Xinyu 提交于
* add squeeze, unsqueeze, transpose fp16 unitest * Update test_transpose_op.py
-
由 caozhou 提交于
* add tune o1 level * add unittest
-
由 YuhangLi 提交于
-
由 Ainavo 提交于
* [Test Mv] move collective/multinode to test dir * add CMakeList.txt to test/collective * add bash_test_modules * adjust the order * recover bash_test_modules * add_subdirectory(collective) * resolve conflicts * resolve conflicts
-
由 Kim 提交于
* mv python/paddle/dataset/tests/ test/dataset/ * use path to get file path * add dataset * remove cmake entry * add all ops * solve conflicts
-
由 jiangcheng 提交于
* [AMP] add fp16&bf16 support for flatten op * fix ci bug * fix inpute should astype self.dtype bug and fix zerodim test name * remove 0D-tensor bf16 test for window-inference-ci pass * remove flatten from op_accuracy_white_list
-
由 Zheng-Bicheng 提交于
* update * update
-
由 Zheng-Bicheng 提交于
* update * update
-
由 gouzil 提交于
* [CodeStyle][B015] delete unused * [CodeStyle][B015] add assert
-
由 张春乔 提交于
-
由 Infinity_lee 提交于
-
由 Zheng-Bicheng 提交于
-
由 Jiabin Yang 提交于
* optimize composite rule by making scalar shape as []1 * fix shape usage for 0D * fix rules * fix 0D error * fix flatten 0D error * fix bn eval mode * fix bn test * fix flatten
-
由 Young-Flash 提交于
* add bitwise_not trt converter * run pre-commit * modify neg_one_tensor_dims init way * fix BOOL type support requires TensorRT 8.4 * fix int8 & uint8 type * improve data type readability * modify filter logic * fix coverage CI
-
由 Infinity_lee 提交于
-
- 27 3月, 2023 6 次提交
-
-
由 gouzil 提交于
[CodeStyle][PLC3002][PLE1205] simplify lambda and add missing placeholder to logger template (#52133)
-
由 Infinity_lee 提交于
[CodeStyle][C413][C414] Unnecessary <list/reversed> call around sorted(),<list/reversed/set/sorted/tuple> call within <list/set/sorted/tuple>() (#52065)
-
由 Charles-hit 提交于
* add tanh and cast prim test * fix tanh test * fix 0-d test * add sqrt fp16 prim test * add public_python_api in prim test * fix test_squeeze2_op * add tanh prim test * add dropout prim test * [Dy2St]Fix clone for test state problem * clean code * modify test_cumsum_op * modify test_cumsum_op * fix dropout test * add dropout in cmake * fix dropout test --------- Co-authored-by: NAurelius84 <zhangliujie@baidu.com>
-
由 cyber-pioneer 提交于
-
由 zhouweiwei2014 提交于
-
由 Xinyu Chen 提交于
-