- 31 5月, 2023 1 次提交
-
-
由 YuanRisheng 提交于
* fix inference static lib bugs * add if for copy * fix py3 bugs
-
- 26 5月, 2023 1 次提交
-
-
由 YuanRisheng 提交于
* create phi so * fix ci bugs * fix py3 bugs * add file * fix py3 bugs * fix windows bugs * perfect so * fix py3 bugs * delete all static target in phi * fix windows bugs * fix py3 bugs * fix ci bugs * fix windows bugs * fix bugs: gflags can't be linked by dynamic and static lib * fix bugs that can not load 3rd party * fix ci bugs * fix compile bugs * fix py3 bugs * fix conflict * fix xpu bugs * fix mac compile bugs * fix psgpu bugs * fix inference failed * deal with conflict * fix LIBRARY_PATH bug * fix windows bugs * fix onednn error * fix windows compile bugs * fix windows compile bugs * fix test_cuda_graph_static_mode_error aborted * fix windows bugs * fix mac-python3 error * fix hip compile bugs * change mode to static * change to static mode * fix ci bugs * fix py3 bugs * fix windows bugs * fix bugs * add static flag * add PADDLE_API * change position of PADDLE_API * fix windows bugs * change mode to dynamic lib * fix windows static bugs * deal with conflict * fix windows unit bug * fix coverage * deal with conflict * fix windows-inference * fix py3 bugs * fix bugs when compile type_info * fix compile bugs * fix py3 bugs * fix windows bugs * fix windows openblas * fix xpu bugs * fix enforce_test in windows * update code according comment * fix windows cmake bug * fix windows bugs * fix windows bugs * delete cinn unittest * fix cinn bugs --------- Co-authored-by: lzydev <1528794076@qq.com>
-
- 18 5月, 2023 1 次提交
-
-
由 Yuanle Liu 提交于
-
- 06 5月, 2023 1 次提交
-
-
由 zhenhailiu 提交于
* polish * polish * polish * polish * polish * polish * polish * polish * polish * polish * polish
-
- 21 4月, 2023 1 次提交
-
-
由 tianshuo78520a 提交于
* mv inference/api infer_ut * mv test * merge develop fix error * fix * fix build error * fix build error * fix bug * fix tester_helper.h * fix analyzer_transformer_profile_tester.cc * fix * fix mac * fix mac * fix error * fix * fix
-
- 31 3月, 2023 1 次提交
-
-
由 YuanRisheng 提交于
-
- 15 3月, 2023 1 次提交
-
-
由 JingZhuangzhuang 提交于
-
- 24 2月, 2023 1 次提交
-
-
由 Yuanle Liu 提交于
-
- 21 12月, 2022 1 次提交
-
-
由 lxsbupt 提交于
* merge gpugraph to develop, fix code style * update for untrainable params for stage3. (#48577) * merge gpugraph to develop, trigger ci * [CodeStyle][isort][Dy2St] sort imports in test_error (#48746) * [CodeStyle][isort][Dy2St] sort imports in test_error * update lineno * Clear extra input (Bias, ResidualData) in OpMaker of conv2d (#47579) * delete Bias and ResidualData in OpMaker of conv2d * delete extra input of conv3d * refactor pass of conv_bias_fusion * fix mkldnn dependency * fix mkldnn compile * fix test_conv_bias_mkldnn_fuse_pass * police some code * remove useless log * fix analyzer_vit_ocr_tester * fix conv_activation_mkldnn_fuse_pass * fix test_analyzer_ocr * add fused_conv_sig * fix performence regression * fix performance regression * make bilinear interpolate stable. (#48644) * make bilinear interpolate stable. * fix code * clear tmp var in ptq (#48660) * merge gpugraph to develop, fix py-api comment * merge gpugraph to develop, fix mac-python3 * merge gpugraph to develop, fix mac-python3 * [Dy2St] replace deprecated `load_module` with `exec_module` (#48679) * merge gpugraph to develop, fix mac-python3 * modify d2d copy to xpu::copy in xpu kernel, test=kunlun (#48710) * rm _test_eager_guard (#48767) * delete sampling_id api (#48543) * [NPU] add FLAGS_npu_storage_format env to enable npu storage format, test=develop (#48774) * optimize nchw<->nhwc kernel in fp16 model (#48692) * fix: oss just support sm>=75 (#48731) * update kl1 op list and optimize matmul unitest for kunlun (#48775) *test=kunlun * Fix accuracy fp16 kernel return fp32 tensor error (#48803) * [phi::DenseTensor] Replace Tensor with phi::DenseTensor (#48682) * [Zero-Dim] Support 0D for paddle.diagflat (#48735) * [Zero-Dim] Support 0D for paddle.diagflat * 【fluid api clear】Move batch norm1 (#47965) * modify slice infershape * code style * modify slice_unittest * temp fix * batch_norm api move * code_style * codestyle * ci_static * add __init__ * reset other change * revert .cc * add import batchnorm * conflict and revert * fix bug * fix third conflict one day * fix conflict * fix conflict bug * fix conflict bug * modify api * code_style * modify doc * add lost doc stable * fix conflict bug * ci lack of gpu * [remove fluid] PRelu BilinearTensorProduct Conv2DTranspose SequenceConv RowConv (#48654) * [remove fluid] PRelu BilinearTensorProduct * [remove fluid] PRelu BilinearTensorProduct Conv2DTranspose SequenceConv RowConv * [remove fluid] PRelu BilinearTensorProduct Conv2DTranspose SequenceConv RowConv * [remove fluid] PRelu BilinearTensorProduct Conv2DTranspose SequenceConv RowConv * [remove fluid] PRelu BilinearTensorProduct Conv2DTranspose SequenceConv RowConv * [remove fluid] PRelu BilinearTensorProduct Conv2DTranspose SequenceConv RowConv * [remove fluid] PRelu BilinearTensorProduct Conv2DTranspose SequenceConv RowConv * [remove fluid] PRelu BilinearTensorProduct Conv2DTranspose SequenceConv RowConv * merge gpugraph to develop, rollback graph_send_recv * fix ci (#48730) * Remove reduntant numpy output in Example code (1/3), test=document_fix (#48678) * 修改了英文API文档 (#48219) * 修改paddle.nn.dynamic_decode,paddle.nn.functional.diag_embed 示例 * mma qk tensor_core (#48087) * use mma for QK dot computing in fused_multi_transformer. * Update fused_multi_transformer_op.cu.h * remove lrn which is not used in paddle 2.0 (#47945) * replace scatter_nd and scatter_nd_add with paddle.scatter_nd and (#47960) paddle.scatter_nd_add * [PHI] Migrate mul_grad kernel (#48061) * cleanup unused code * unify is_int8 is_bfloat16 * Simplify matmul_v2 FWD kernel * remove RunKernel methods * remove import namespace * remove headers * clean fluid/phi cross imports * remove fluid axpy_handler * delete fluid methods * activations * OneDNNMemDesc * MKLDNNFormatForSize * MatchShapeToLayout * MKLDNNMemoryFormat * MKLDNNFormat * ReorderMKLDNNHandler * to_void_cast * review suggestions * interpolate * remove fluid depedency * init * ExecuteMatMulV2 * rm fluid kernel * matmul_grad * remove mutable_data * mul_grad * delete unnecessary shape and slice op (#48112) * 修改英文文档。 * 修改segment operator等英文文档。 * 重新修改了paddle.einsum,paddle.unique_consecutive, paddle.disable_signal_handler的英文文档格式。 * 重新修改了英文文档格式。;test=docs_preview * Update extension.py * 重新修改了英文文档格式。;test=docs_preview * 重新修改了英文文档格式。 待验收: - paddle.linalg.svd - paddle.nn.functional.diag_embed - paddle.set_grad_enabled - paddle.disable_signal_handler - paddle.cumprod - paddle.devaice.cuda.stream_guard 待修改: - paddle.nn.dynamic_decode - paddle.einsum - paddle.unique_consecutive - paddle.linalg.svd - paddle.uncubate.segment_min - paddle.uncubate.segment_max - paddle.uncubate.segment_sum - paddle.uncubate.segment_mean ;test=docs_preview * 重新修改了英文文档格式。 待验收: - paddle.linalg.svd - paddle.nn.functional.diag_embed - paddle.set_grad_enabled - paddle.disable_signal_handler - paddle.cumprod - paddle.devaice.cuda.stream_guard - paddle.nn.dynamic_decode - paddle.unique_consecutive - paddle.linalg.svd 待修改: - paddle.einsum - paddle.incubate.segment_min - paddle.incubate.segment_max - paddle.incubate.segment_sum - paddle.incubate.segment_mean ;test=docs_preview * 重新修改了英文文档格式。 待验收: - paddle.linalg.svd - paddle.nn.functional.diag_embed - paddle.set_grad_enabled - paddle.disable_signal_handler - paddle.cumprod - paddle.devaice.cuda.stream_guard - paddle.nn.dynamic_decode - paddle.unique_consecutive - paddle.linalg.svd 待修改: - paddle.einsum - paddle.incubate.segment_min - paddle.incubate.segment_max - paddle.incubate.segment_sum - paddle.incubate.segment_mean ;test=docs_preview * update * test=docs_preview * update formula; test=docs_preview * update formula; test=docs_preview * remove this operator; test=docs_preview * add hyper link; test=docs_preview * add default value; test=docs_preview * update format; test=docs_preview * empty commit; test=docs_preview * fix codestyle issues; test=docs_preview * empty commit; test=docs_preview Co-authored-by: Nlzy <569782149@qq.com> Co-authored-by: NVvsmile <450864116@qq.com> Co-authored-by: NSławomir Siwek <slawomir.siwek@intel.com> Co-authored-by: NRichardWooSJTU <37864677+RichardWooSJTU@users.noreply.github.com> Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com> Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com> * [PHI] Migrate squeeze and squeeze_grad kernels (#48634) * squeeze kernel * squeze fwd * whitespace * 修复paddle.nn.functinal包和paddle.nn包下API文档 (#48581) * assign cve number to pdsa, test=document_fix (#48846) * [fluid remove]: remove paddle.fluid.layers.yolo_box and paddle.fluid.layers.yolov3_loss (#48722) * remove paddle.fluid.layers.nn.temporal_shift * code check * rm unittest * remove fluid.yolo_box * remove fluid.yolov3_loss * change the comments of yolov3_loss to yolo_loss * merge gpugraph to develop, fix windows compile * merge gpugraph to develop, fix windows compile * merge gpugraph to develop, fix windows compile * Try add eval() to speedup the eigen performance. (#48855) * [Fluid Clean]move inplace_apis_indygraph_only from paddle.flud.dygraph.inplace_utils to paddle.utils (#48744) * move inplace_apis_indygraph_only from paddle.flud.dygraph.inplace_utils to paddle.utils * modify conflict * modify conflict * modify conflict * modify conflict * modify conflict * modify conflict * modify conflict * modify static-check ci error * fix conflict * modify failed tests * fix conflict * fix conflict * fix pool2d examples * modify conflict * fix failed tests * fix conflict * fix failed tests * modfiy problem of deleting pool2d * merge gpugraph to develop, fix windows compile * clean fluid task: transfer gaussian random api (#48529) * Delete duplicate quant nodes in QAT (#48751) * rm autograd func dynamic eager tests (#48788) * Setuptools optimization (#48770) * optimize setup.py * modify setup.py * modify setup.py * modify setup.py * modify setup.py after zhangbo reviewed * [CodeStyle][F811] fix some test cases shadowed by the same name (#48745) * [CodeStyle][F811] fix some unittests * fix setup.py * remove ignore from flake8 config * remove repeat TestAbsDoubleGradCheck * fix rrelu test * fix fft ut * add noqa in fluid.lstm ut * add rtol and atol in test_matmul_v2_op * update rtol * empty commit * empty commit * revert changes in matmul ut and add noqa * rename test case name * set free_when_no_cache_hit default value to true (#48815) * [Clean Fluid] Rm and mv some fluid dygrah apis (#48576) Remove fluid dygrah apis GroupNorm TreeConv Move fluid dygraph apis Flatten SpectralNorm * [Inference] inference add cinn interface (#48741) * Clean and migrate fluid APIs of paddle.fluid.layers.control_flow (#48233) * Merge branch 'reduce_sum' of https://github.com/GhostScreaming/Paddle into mine_fluid_clean_common. * Fix some bugs. * Clean APIs in python/paddle/fluid/layers/control_flow.py * Polish code style. * Change API. * Fix some bugs. * Fix some bugs. * remove gpu_info.h from phi dependencies (#48811) * [Paddle Inference] Add add onehot trt converter (#48655) * add onehot trt converter * add unitest * fix bug * opt code * fix bug * fix depth_tensor * fix unitest * fix bug * fix unitest * fix bug * fix bug * fix bug * fix bug * [PHI decoupling] remove bbox_util.h from phi dependencies (#48761) * remove bbox_util.h from phi * add file bbox_util.h * reframe bbox_util.h * Optimize Paddle diagonal (#47904) * [API Clean]Clean __all__ to avoid exposing usless API (#48713) * [API Clean]Clean __all__ to avoid exposing usless API * fix import * fix typo * remove tracedLayer unittest * Clean fluid APIs in distributed and fleet files (#48851) * Fix bug of reduce_sum op. When input.numel() > INT32_MAX, its result is wrong. * Remove climits. * Clean fluid API in paddle/distributed and paddle/fleetx folders. Include following files: python/paddle/distributed/__init__.py python/paddle/distributed/collective.py python/paddle/distributed/fleet/utils/fs.py python/paddle/distributed/fleet/utils/hybrid_parallel_inference.py python/paddle/distributed/fleet/utils/hybrid_parallel_util.py python/paddle/distributed/fleet/utils/internal_storage.py python/paddle/distributed/launch/context/device.py python/paddle/distributed/parallel.py python/paddle/distributed/parallel_with_gloo.py python/paddle/distributed/spawn.py python/paddle/framework/__init__.py To be mentioned, 'paddle.fluid.dygraph.parallel.ParallelEnv' and 'fluid.framework.core' keeps unchanged in those files. ParallelEnv is used by paddle.fluid.dygraph.parallel.DataParallel. However, APIs in paddle.fluid.dygraph.parallel can't be migrated to paddle.distributed, as there exists cyclic import dependencies in modules like paddle.static, paddle.tensor. And 'fluid.framework.core' will be changed to import framework.core after fluid.core is transmitted. * Change TODO authors. * rm kunlun xpu2_op_list (#48826) *test=kunlun * remove detection_output, iou_similarity and bipartite_match (#48773) * Set WaiterType of kGpuSync to kCPU (#48758) * [Migrate Fluid] Migrate Decoder, BeamSearchDecoder (#48754) * [Inference] Enable infer shape cache. (#48312) * [Fluid Clean] remove unfold, deformable_roi_pooling, shard_index, hard_swish, mish, uniform_random, unbind (#48451) * fix-gpups setup.py (#48888) * fix-gpups * test=document_fix * [PHI decoupling] move cuda_graph from fluid to phi (#48686) * move cuda_graph from fluid to phi * move device_memory_aligment from fluid to phi * Revert "move device_memory_aligment from fluid to phi" This reverts commit b92fcd39a0a50fdac13278f49be0237a85f3a13f. * update xpu cmake * fix english docs typo errors (#48599) * fix english docs typo errors the errors in docs as same as chinese pr 5468 * update docs; test=docs_preview Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com> * [XPU] add load op into oplist. (#48860) * [XPU] add load op into oplist. * remove test_sampling_id_op_xpu.py * 【fluid clean】remove fluid.dygraph.rnn.lstmcell and fluid.dygraph.rnn.grucell (#48719) * refine bsd doc (#48882) * [Paddle Inference] General optimization for no_varlen embedding layernorm (#48580) * general optimization no_varlen embedding layernorm * fix tmp directories (#48863) * rm dygraph_to_static eager guard tests part2 minst2ptb_lm (#48793) * rm dygraph_to_static eager guard tests part2 minst2ptb_lm * merge gpugraph to develop, fix the_one_ps.py for gpups * [remove fluid] under unittesets of linear api (#48564) * [remove fluid] under unittesets of linear api * [remove fluid] under unittesets of linear api * [remove fluid] under unittesets of linear api * [remove fluid] under unittesets of linear api * [remove fluid] under unittesets of linear api * [remove fluid] under unittesets of linear api * [remove fluid] fluid dygrapn linear api * [remove fluid] fluid dygrapn linear api * [remove fluid] fluid dygrapn linear api * [remove fluid.layers.cross_entropy] remove unit tests (part 1) (#48726) * replace layers.cross_entropy with paddle.entropy * fix args * fix codestyle * proper fix (#48360) Reenabled ext_reorder recording for TransDataLayoutFromOneDNN * [remove fluid.layers.matmul] remove fluid.layers.matmul in example code (#48818) * replace fluid.layers.matmul in fluid/io.py * fix doc error in fluid.layers.nn.sampling_id * remove test_auto_search_dist_matmul_op.py (#48794) * delete mean api (#48764) * clean test_op_name_conflict (#48704) * opt kernel_selection error msg (#48864) * rewrite delete_weight_dequant_linear_op_encoder/decoder pass (#48650) * rewrite delete_weight_deqquant_linear_op_encoder/decoder pass * [XPU] add set_value and set_value_grad (#48845) * merge gpugraph to develop, fix gpups ut * Add QuantizedMatmul in QAT (#47997) * fix 'BlasAXPBY unimplemented' error with custom device (#48762) * fix 'BlasAXPBY unimplemented' error with custom device * fix utils CmakeLists bug * first commit (#38143) * [Auto Parallel] Add cluster partition and dm to pm (#48320) * add cluster_partition and device_meshes to process_meshes funcs * add unitest * fix paddle2cinn float16 type support bug (#48249) * remove pool2d from fluid (#48512) * remove pool2d * [fluid remove]: remove paddle.fluid.layers.detection_map, paddle.fluid.metrics.DetectionMAP and paddle.fluid.evaluator.DetectionMAP (#48674) * remove paddle.fluid.layers.nn.temporal_shift * code check * rm unittest * remove paddle.fluid.layers.detection_map and the class:DetectionMAP * [PHI decoupling] move "flags.h" from fluid to phi (#48696) * add set_lr & get_lr for stage2 optimizer. (#48857) * move share_buffer kernel to phi (#48858) * move share_buffer kernel to phi * fix ut * add source file * fix window links * [Kernel Selection] Simplify kernel selection process in phi, reduce search number to half (#47771) * simplify SelectKernelOrThrowError function in phi * opt kernel_selection process * polish code, fix backend error * Support static graph code-gen for scalar and int_array (#48792) * add suppport_tensor for code_gen to static graph * support code-gen for int_array * polish code * fix bug of data_type * clean unittest test_model_cast_to_bf16 (#48705) * rm dy2static eager tests part1 bert2loop (#48790) * rm dygraph_to_static eager guard tests part3 reinforce2yolo (#48795) * rm distribution uniform eager guard test (#48768) * rm distribution uniform eager guard test * review * replace cross_entropy in python/paddle/fluid/tests/unittests/test_[a-n]*.py except test_dist_transpiler.py (#48913) * replace cross_entropy except in python/paddle/fluid/tests/unittests/*.py && unittests/*/*.py (#48922) * [Paddle Inference]add cutlass act set in conv_elementwise_add_act_fuse_pass (#48838) * add cutlass act set in conv_elementwise_add_act_fuse_pass * move fluid.layers.create_global_var to static.create_global_var (#48777) * Modified the Kernel policy. When the compute is NHWC (#48563) * temporally disable set_value (#48942) * xpu support inplace flatten (#48909) This is a PR to catch up with latest xpu white list strategy (https://github.com/PaddlePaddle/Paddle/pull/48606) , since original list only include 'fluid' fashion names, but new list must include 'phi' fashion as well. Refer to paddle/phi/core/kernel_factory.cc for more details. * fix:vit_attention ut (#48884) * mv fused_bias_dropout_residual_ln to fluid manual dir (#48824) * mv fused_bias_dropout_residual_ln to fluid manual dir * rm useless comments * bug fix (#48829) * move ops_extra_info_gen.py from phi to fluid (#48926) * fix scale type in alpha and beta (#48887) * [inference][trt] upgrade prelu op (#48528) * add prelu * 对多个文档按照要求修改 对应中文的#5453 (#48886) * fix doc * test=document_fix Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com> * replace cross_entropy in python/paddle/fluid/tests/unittests/*.py except test*.py (#48919) * [remove fluid] Remove fluid APIs (#48641) * [CodeStyle] fix renamed files not being monitored by Codestyle Check (#48892) * [fluid remove]: remove paddle.fluid.layers.box_coder and paddle.fluid.layers.polygon_box_transform (#48896) * remove fluid_box_coder and polygon_box_transform * code check * [Custom XPU Support] Custom extension support xpu backend (#48733) * support custom_xpu * update cmake to test xpu * support custom_xpu, verify mechanism * fix test_custom_relu_op_xpu_setup.py, test=kunlun * fix FLAGS_init_allocated_mem * cancel TIMEOUT property * reset FLAGS_init_allocated_mem property * rm mlu ops eager guard tests (#48769) * rm npu instance_np op for eager guard tests (#48785) * remove xpu eager guard tests (#48786) * [remove fluid.layers.cross_entropy] remove unit tests (part 3) (#48918) * replace cross_entropy in python/paddle/fluid/tests/unittests/test_[o-z]*.py plus test_dist_transpiler.py * fix test_prune * [Inference] optimize some code and fix some bug (#48780) * clean ir_pass_manager and fix map_depthwise_conv_to_conv_pass * fix unitest timeout * [PHI] Migrate reshape kernel (#48749) * reshape * typo * remove header * support py3 in setup.py (#48905) * support py3 in setup.py * support setup.py bdist_wheel in py3 * support py3 in setup.py * modify run_setup * [Paddle-TRT] add cast between int64 tensor and Paddle-TRT (#45547) * Add cast between int64 tensor and Paddle-TRT * Add Unit testing. * fix sharding_stage1 amp O2 decorate bug (#48960) * [remove fluid] fluid dygraph Embedding (#48806) * [remove fluid] fluid dygraph Embedding * [remove fluid] fluid dygraph Embedding * [remove fluid] fluid dygraph Embedding * [remove fluid] fluid dygraph Embedding * [remove fluid] fluid dygraph Embedding * [remove fluid] fluid dygraph Embedding * fix for mkldnn (#48852) * H2D data transfer optimization with usage of structure type for stack kernel (#48899) * first commit. * refine performance with fast_divmod * refine performance with fast_divmod * rm accuracy and auc in extra __all__ (#48986) * Add dynamic checks for collective communication on NCCL (#48915) * chore: unify `SingleTensor` * feat: dynamic check * support sharding in fp16 on xpu, (#48897) * support sharding in fp16 on xpu, change reduce_max to reduce_sum for found nan or inf * update * Support cross-step stream synchronization for standalone executor (#48809) * Add UT * Support cross-step stream synchronization for standalone executor * Fix typos * Fix typos * Update UTs * Generate static graph code of some ops by yaml (#48771) * generate static graph code of some ops by yaml, test = develop * fix 'take_along_axis' yaml style * reset scatter/scatter_nd_add * delete the comments of put_along_axis * fix a bug in GetTrtWeight (#48993) * add static_ops.yaml for static op (#48991) * [PHI decoupling] move norm_utils.cu.h from fluid to phi and remove norm_utils.h in fluid (#48930) * move norm_utils.cu.h from fluid to phi * remove norm_utils.h in fluid * fix bugs and replace mutable_data with Alloc * replace mutable_data with Alloc * forbid conv op whose weight is not a persistable weight into Paddle-TRT (#48763) * fix: Move the pass location to the appropriate location (#48951) * Enhance check_nan_inf implementation for CPU. (#48591) * Enable to print device info. * Enhance the nan and inf checking for cpu. * Implement a common print function. * Unify the check of complex numbers. * Rewrite the omp method. * Count and print the number of nan and inf. * Change the print content. * Add unittest. * [PHI] OneDNN version of Copy (#48539) * OneDNN version of Copy, tranpose kernels adjusted * style fixes in tranpose_grad * redundant headers deleted * fix: there are some bugs with trt 8.0 (#48921) * fix: there are some bugs with trt 8.0 * fix:windows CI trt is too old * Optimization of Eigh op with ssyevj_batched runtime api (#48560) * fix codestyle * add double complex<float> complex<double> dtype support for syevj_batched * fix use_syevj flag for precision loss when input dtype of syevj_batch is complex128 in some case * optimize eigh in different case * fix missing ; bug * fix use_syevj bug * fix use_cusolver_syevj_batched flag * replace cross_entropy in python/paddle/fluid/tests/unittests/*/*.py except unittests/*.py (#48920) * [PHI decoupling] replace dependency of inclusive_scan.h from phi (#48980) * replace dependency of inclusive_scan.h from phi * format code * fluid API magration : Assert, increment, cond (#48885) * [Clean fluid] Add inner function _elementwise_op_with_axis (#48748) * add inner function _elementwise_op_with_axis * fix transformer_model * polish API code * remove elementwise_div/mul api * delete API in __all__ * delete elementwise_mul completely * polish elementwise_mul call * polish internal api * resolve conflict, fix rnn.py * use non-inplace call * delete elementwise_mul api test * delete elementwise_mul api test * clean elementwise_add/sub * restore _elementwise_op_in_dygraph in nn.py * test_convert_to_mixed_precision.py use tempfile for temporary models/params (#48819) * Tighten the Interception strategy (#48947) * test approve ,test=document_fix * test approve ,test=document_fix * test approve ,test=document_fix * [CodeStyle][isort][F401] fix some regression issues (#48936) * [CodeStyle][isort][F401] fix some regression issues * add import paddle to fix eval call * rm multinode eager guard tests (#48766) * rm multinode eager guard tests * remove unwanted tests * reset process_mpi test * rm unittests eager guard tests part5 dataloader2dygraph_mnist (#48816) * [PHI]Add new Tensor type and migrate save_combine kernel (#47856) * add new tensor * fix windows compile bugs * fix ci bugs * fix ci bugs * fix ci bugs * perfect according comment * fix ci compile bugs * add raw tensor * fix ci bugs * modify code by comment * delete String * [Fluid Clean]move BatchNorm from flud.dygraph.nn to paddle.nn.layer.norm (#48734) * move BatchNorm from flud.dygraph.nn to paddle.nn.layer.norm * modfiy conflict * modify pre-commit error * modify static-check ci error * fix failed tests * modify conflict * modify conflict * delete import modelu GRUUnit * fix falied test * fix failed testes * fix failed tests * fix failed tests * fix failed test * fix error in test_fused_resenet_basic_block_op_xpu.py * modify after xiaoguang reviewed * [Setup] Ignore @PADDLE_BINARY_DIR@ files (#49002) * [Setup] Ignore @PADDLE_BINARY_DIR@ files * test=document_fix * reshape onednn test reimplemented (#48850) * - UT reshape onednn - Fix test test2 - test4 - test5 - test6 test7 - test8 - Ut reinvented - cosmetic * - fix * - fix * - fix * - fix * - Fix * - fix * - fix * - fix * - Fix * lint * update fused_multi_transformer_encoder_pass support GPT new matmul API (#48953) * fit paddle.matmul in fleetx.gpt * Revert "set free_when_no_cache_hit default value to true (#48815)" (#48968) This reverts commit 592ed40b. * [Paddle Inference]fix some transformer unitest (#48929) * fix some transformer unitest * Enable Generic-Plugin support FP16 (#48807) * support conv1d quant & skip calibrate zero-size tensor (#48912) * enable custom device save model on device memory && fix conflict (#48221) * [api move] cvm (#48989) * [api move] cvm * [api move] cvm * [api move] cvm * [api move] cvm * [api move] cvm * [api move] cvm * [api move] cvm * [api move] ci test * [api move] ci test * [api move] ci test * Bugfix: xpu now only support single node multi-card, bkcl_comm_num should always set to 1 (#48961) * rm unittests eager guard tests part23 where2zeros (#48895) * rm unittests eager guard tests part17 number2pool1d (#48840) * [NPU] fix FLAGS_npu_storage_format flag in python, test=develop (#48976) * remove fleet eager guard tests (#48765) * rm unittests eager guard tests part6 eager_run2expand_v2 (#48817) * rm unittests eager guard tests part12 imperative_optimizer2resnet (#48833) * [fluid clean] remove 4 fluid.layers api and imigrate 2 fluid.layer api (#48972) * fluid clean layer * docs * remove reset reference in unittest for `fluid.layers.cross_entropy` (#49012) * replace cross_entropy in test*.py except python/paddle/fluid/tests/unittests/*.py (#48978) * remove linear_chain_crf and crf_decoding from fluid (#48996) * remove linear_chain_crf and crf_decoding * Generate static graph code of some ops by yaml (#48977) * generate static graph code of some ops by yaml * fix the code-style of yaml * fix the framework_ci for triangular_solve * change the 'data_type' of scatter * add the 'out: Out' of scatter_nd_add * [tools] Update summary env (#48627) * [tools] remove deprecated api , fix macOS get version error * [tools] Rename the value that returns null * [tools] add gcc, clang, cmak, libc version * [tools] fix cudnn read error * [tools] add gpu devices list, drive based * [issue] update 3_build-installation-issue.yml * [tools] fix get gpu list AttributeError * [Dy2St] transforms.RandomVerticalFlip Support static mode (#49024) * add static RandomVerticalFlip * object => unittest.TestCase * Save fused_attention op memory when dropout_rate = 0.0 (#48902) * save fused_attention memory when dropout_rate = 0.0 * add ut * fix ut bug * fix fused_layernorm_residual_dropout_bias_test.cu * Correct multiple inputs and outputs (#48872) * [CodeStyle][isort][Dy2St] sort imports for paddle.jit (#48637) * isort jit * refine comment * remove non-public apis from __all__ (#48952) * remove non-public apis from __all__ * fix code style * fix rmsprop_ yaml bug (#49026) * fix rmsprop_ yaml bug * Fixed the dead link bug in the API documentation (#48969) * first pr * Revise nn.py * Revise nn.py 2.0 * Revise rnn.py;test=document_fix * test=document_fix Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com> * Change mutable_data to ctx.Alloc. (#49001) * [inference][trt] add more unary op and square (#48534) * add more unary op and square * Support ninja (#48932) * move inplace_apis_indygraph_only from paddle.flud.dygraph.inplace_utils to paddle.utils * modify conflict * modify conflict * modify conflict * modify conflict * modify conflict * modify conflict * modify conflict * modify static-check ci error * fix conflict * modify failed tests * fix conflict * fix conflict * fix pool2d examples * modify conflict * fix failed tests * fix conflict * fix failed tests * modfiy problem of deleting pool2d * support Ninja in setup.py * support different cmake_generators * modify after reviewed * delete unused denotes * Deleted mkldnn_inplace_pass code (#47818) * Deleted mkldnn_inplace_pass code * Fixed error with cmake * Resolve conflicts * hide log (#49045) * test=doucment_fix * test=document_fix * [Sparse]Optimize performance of sparse conv on T4 (#49009) * modify cmake file for cuda11.8 compile (#49020) * modify cmake file for cuda11.8 compile * add op_library(fused_embedding_eltwise_layernorm_op DEPS bert_encoder_functor) * remove dropout from fluid (#48319) * remove dropout * nullptr bugfix for XPU pg mode (#49043) * nullptr bugfix for XPU pg mode Also a few kernels is added to xpu whitelist * increase error msg length * Divide elementwise case from BroadcastKernel and refine transpose autotune (#33051) * First Commit. * add some codes * add elementwise loader * fix code styles * merge with develop * add some changes both in elementwise and transpose * add init operation in broadcast kernel. * change codes according to pr suggestions about transpose file * fix error for op-benchmark ci * fix according to ci * add condition of skipif (#48791) * add condition of skipif * fix code format error * Update test_fused_gate_attention_op.py update * rm unittests eager guard tests part9 histogram2imperative_dataloader (#48825) * rm unittests eager guard tests part9 histogram2imperative_dataloader * rm basic * rm unittests eager guard test part14 initializer2layer_norm (#48835) * rm unittests eager guard test part14 initializer2layer_norm * monior change * [Bugfix] recompute dep filter param (#49010) * recompute dep filter param * recompute dep for reshard * [Paddle Inference] rewrite convert_to_mixed_precision (#48853) * [CodeStyle] fix c++17-extensions warning on macos (#49017) * fix c++17-extensions warning on macos * fix type fix c++17-extensions warning on macos fix c++17-extensions warning on macos * Add custom CUDNN finding paths for 64bit Windows (#49066) * remove prior_box (#49006) * remove prior_box * modify the sequence of paras of prior_box in multi_box_head api * InstanceNorm1D、InstanceNorm2D、InstanceNorm3D (#48940) * modified: python/paddle/nn/layer/norm.py * modified: python/paddle/nn/layer/norm.py * modified: python/paddle/nn/layer/norm.py * modified: python/paddle/nn/layer/norm.py * modified: python/paddle/nn/layer/norm.py * modified: python/paddle/nn/layer/norm.py * test=docs_preview * InstanceNorm2D中文档格式修改 * test=docs_preview * modified: python/paddle/nn/functional/loss.py modified: python/paddle/nn/functional/norm.py modified: python/paddle/nn/layer/loss.py modified: python/paddle/nn/layer/norm.py * test=docs_preview * test=docs_preview * [AutoParallel] recompute tuning (#48608) * [AutoParallel] recompute tuning * fix conflict * update comment * bug fix * update rc algo * tiny fix * fix clear process_group * remove comment * update segment print * fix import OpRole * adapt amp pass and grad_clip pass for opt_tuner * update tuning config * fix import * annotate recompute info on ops and upgrade recompute pass * add op_namescope for seed op * record reserved vars * fix recompute var's dist_attr * fix strategy unittest * adapt for fp16 * update unittest * revert copy opt * update unittest * rename set_recompute_segments * fix unittest * fluid API magration : array_read, array_write (#49022) * del array_write & array_read * fix import err * fix import err * fix example codes * Keep double-buffer reader for static mode (#49068) * Fix nullptr to TestFuseGemmEpilogueReluBWDFP* (#48997) * support fp16 index sample (#47897) * add index sample fp16 support * remove fluid APIs in distributed_strategy.py and role_maker.py * Revert "remove fluid APIs in distributed_strategy.py and role_maker.py" This reverts commit 223bbee990d3bf69e252fc3c0f19e3873550a264. * fix instantiated more than once * clean codes * rm unittest eager guard tests part20 sparse_mv2split (#48879) * rm unittests eager guard tests part11 imperative_layer2ocr (#48828) * rm unittests eager guard tests part11 imperative_layer2ocr * review * rm eager guard tests part3_1 (#49059) * fix: gloo compatible (#49084) * rm eager guard tests part3_3 (#49061) * fix bug (#49081) * [Inference] memory_optimize and mkdlnn problem (#49054) * memory_optimize and mkdlnn problem * update * update * update * Remove/move 16 fluid APIs (#48377) * remove density_prior_box * remove anchor_generator * remove roi_perspective_transform * remove generate_proposal_labels * remove generate_mask_labels * remove generate_proposals * remove box_clip * remove retinanet_detection_output * remove multiclass_nms * remove locality_aware_nms * remove matrix_nms * remove distribute_fpn_proposals * remove box_decoder_and_assign * remove collect_fpn_proposals * remove 2 trt files * move prior_box to static/nn/common.py * move multi_box_head to static/nn/common.py * fix for CI/CE * remove retinanet_detection_output * restore compile_vs_runtime_white_list.py * restore test_retinanet_detection_output to white list * replace nn.flatten by paddle.flatten, and fix doc for retinanet_target_assign * add enable_static in demo and fix bug * remove roi_perspective_transform in test_layers * remove multi_box_head * change self.multiclass_nms to _legacy_C_ops.multiclass_nms * empty commit * empty commit * check code style * fix prior_box * fix CI * remove redundant prior_box in detection.py * fix docs * remove detection * fix prior_box en doc * delete prior_box in common * remote proir_box from __init__.py * fix embedding multihead (#49085) * SetDeviceId in StreamSafeCUDAAllocation (#49080) * [PHI decoupling] Remove fluid imports from MKLDNN code (#48981) * fix wrong handler name * mkldnn_engine -> onednn_engine * remove fluid/errors.h imports * remove fluid/enforce.h imports * remove note and unnecessary import * remove fluid/pretty_log.h imports * remove fluid/place.h imports * remove fluid/data_layout_transform.h imports * remove fluid/device_context.h imports * remove mkldnn_helper code * remove fluid/mkldnn_reuse.h imports * pretty_log import * replace cross_entropy in python/paddle/fluid/tests/unittests/*.py (#48975) * 修复paddle.amp.decorate等API的文档 (#48983) * 涉及到的api有 paddle.amp.decorate paddle.static.npu_places paddle.signal.istft paddle.signal.stft paddle.linalg.eigvalsh paddle.randint_like * change signal.stft * randint_like的low增加optional * ; test=docs_preview * 修改了注解格式; test=docs_preview * 修改了公式格式 * 修改了decorate的models等 * test=document_fix Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com> * 按在线文档需求 61~70 更新了部分文档 (#49014) * Update docstring: 1. 去除 python/paddle/tensor/manipulation.py 中 cast 函数描述中的 This OP; 2. 调整 python/paddle/fluid/layers/control_flow.py 中 Print 函数中参数描述的顺序,添加 optional 描述; 3. 为 python/paddle/tensor/logic.py 中 logical_and 函数添加 optional 描述; 4. 为 python/paddle/fluid/reader.py 中 DataLoader 类中 from_generator、from_dataset 函数添加 optional 描述; 5. 在 python/paddle/fluid/layers/nn.py 中 crf_decoding 函数的 param_attr 在使用中确实可视为存在默认值 None,故添加 optional 描述; 6. 修复 python/paddle/static/nn/common.py 中 data_norm 函数描述里 tex 语法错误的问题,并一并修复同一文件中的相同问题。 * 根据 review 意见修改部分内容。 * 将谓语动词去掉第三人称单数形式。 * 同步中文文档变更。 * string-->str; test=document_fix Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com> * merge gpugraph to develop, fix gloo wrapper * merge gpugraph to develop, fix ci * merge gpugraph to develop, fix gloo wrapper * merge gpugraph to develop, fix ci * merge gpugraph to develop, fix fleet.py * merge gpugraph to develop, fix merge error * merge gpugraph to develop, fix merge error * merge gpugraph to develop, add python ut * merge gpugraph to develop, fix code style * merge gpugraph to develop, add c++ ut * merge gpugraph to develop, fix code style * merge gpugraph to develop, fix data_feed.h * merge gpugraph to develop, fix code style * merge gpugraph to develop, fix code style * merge gpugraph to develop, fix code style * merge gpugraph to develop, fix code style Co-authored-by: Nwuhuachaocoding <77733235+wuhuachaocoding@users.noreply.github.com> Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com> Co-authored-by: Nzyfncg <zhangyunfei07@baidu.com> Co-authored-by: Nxiongkun <xiongkun03@baidu.com> Co-authored-by: Nceci3 <ceci3@users.noreply.github.com> Co-authored-by: Nzhangyikun02 <48021248+zhangyk0314@users.noreply.github.com> Co-authored-by: NWeilong Wu <veyron_wu@163.com> Co-authored-by: N201716010711 <87008376+201716010711@users.noreply.github.com> Co-authored-by: NQi Li <qili93@qq.com> Co-authored-by: Nzhoutianzi666 <39978853+zhoutianzi666@users.noreply.github.com> Co-authored-by: Nfeng_shuai <fengshuai03@baidu.com> Co-authored-by: NQingshuChen <chenqingshu@baidu.com> Co-authored-by: NWangZhen <23097963+0x45f@users.noreply.github.com> Co-authored-by: N张春乔 <83450930+Liyulingyue@users.noreply.github.com> Co-authored-by: N傅剑寒 <Xs1580802568@gmail.com> Co-authored-by: Nxiaoguoguo626807 <100397923+xiaoguoguo626807@users.noreply.github.com> Co-authored-by: Nwangzhen38 <41941775+wangzhen38@users.noreply.github.com> Co-authored-by: Zhou Wei <1183042833@qq.com> Co-authored-by: NKevin吴嘉文 <417333277@qq.com> Co-authored-by: NZman <35071129+Atlantisming@users.noreply.github.com> Co-authored-by: Nlzy <569782149@qq.com> Co-authored-by: NVvsmile <450864116@qq.com> Co-authored-by: NSławomir Siwek <slawomir.siwek@intel.com> Co-authored-by: NRichardWooSJTU <37864677+RichardWooSJTU@users.noreply.github.com> Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com> Co-authored-by: Nhjyp <53164956+Tomoko-hjf@users.noreply.github.com> Co-authored-by: NVigi Zhang <VigiZhang@users.noreply.github.com> Co-authored-by: Nzqw_1997 <118182234+zhengqiwen1997@users.noreply.github.com> Co-authored-by: NYiqun Liu <Xreki@users.noreply.github.com> Co-authored-by: Nrisemeup1 <62429225+risemeup1@users.noreply.github.com> Co-authored-by: NGuanghua Yu <742925032@qq.com> Co-authored-by: N姜永久 <34344716+yjjiang11@users.noreply.github.com> Co-authored-by: Nwanghuancoder <wanghuan29@baidu.com> Co-authored-by: NRoc <30228238+sljlp@users.noreply.github.com> Co-authored-by: NWilber <jiweibo@baidu.com> Co-authored-by: NGhost Screaming <mofengshenjieII@163.com> Co-authored-by: NNetpunk <69072522+Patrick-Star125@users.noreply.github.com> Co-authored-by: N六个骨头 <46243324+zrr1999@users.noreply.github.com> Co-authored-by: NAurelius84 <zhangliujie@baidu.com> Co-authored-by: NRuibiao Chen <chenruibiao@baidu.com> Co-authored-by: Nliu zhengxi <380185688@qq.com> Co-authored-by: Nheyanru <81976792+heyanru01@users.noreply.github.com> Co-authored-by: Ntianshuo78520a <707759223@qq.com> Co-authored-by: Nhuangjiyi <43315610+huangjiyi@users.noreply.github.com> Co-authored-by: NInfinity_lee <luhputu0815@gmail.com> Co-authored-by: Nhouj04 <35131887+houj04@users.noreply.github.com> Co-authored-by: Nlugimzzz <63761690+lugimzzz@users.noreply.github.com> Co-authored-by: NWangzheee <634486483@qq.com> Co-authored-by: Nsneaxiy <32832641+sneaxiy@users.noreply.github.com> Co-authored-by: Nkangguangli <kangguangli@hotmail.com> Co-authored-by: Njakpiase <jakpia21@gmail.com> Co-authored-by: NHongyuJia <jiahongyu@baidu.com> Co-authored-by: Nhaosicheng <47998305+HarperCy@users.noreply.github.com> Co-authored-by: NChang Xu <molixu7@gmail.com> Co-authored-by: NKai Song <50285351+USTCKAY@users.noreply.github.com> Co-authored-by: Nlimingshu <61349199+JamesLim-sy@users.noreply.github.com> Co-authored-by: NJianghai <72591262+CjhHa1@users.noreply.github.com> Co-authored-by: Njiangcheng <thisjiang@qq.com> Co-authored-by: Nccrrong <101700995+ccrrong@users.noreply.github.com> Co-authored-by: NPuQing <me@puqing.work> Co-authored-by: NLeo Chen <chenqiuliang@baidu.com> Co-authored-by: Ncyber-pioneer <116002591+cyber-pioneer@users.noreply.github.com> Co-authored-by: Nniuliling123 <51102941+niuliling123@users.noreply.github.com> Co-authored-by: Njames <zhangxiaoci@baidu.com> Co-authored-by: Nwenbin <wang3323032@qq.com> Co-authored-by: ZZK <359521840@qq.com> Co-authored-by: NZhang Jun <ewalker@live.cn> Co-authored-by: Nyjphhw <43883055+yjphhw@users.noreply.github.com> Co-authored-by: NYuanle Liu <yuanlehome@163.com> Co-authored-by: NWen Sun <35923278+HermitSun@users.noreply.github.com> Co-authored-by: lzydev <1528794076@qq.com> Co-authored-by: NPaulina Gacek <paulina.gacek@intel.com> Co-authored-by: Nfeifei-111 <2364819892@qq.com> Co-authored-by: NYuanRisheng <yuanrisheng@baidu.com> Co-authored-by: NJacek Czaja <jacek.czaja@intel.com> Co-authored-by: Nweishengying <63448337+weishengying@users.noreply.github.com> Co-authored-by: Nengineer1109 <jialiang.wang@xdxct.com> Co-authored-by: Ngouzil <66515297+gouzil@users.noreply.github.com> Co-authored-by: NRyan <44900829+DrRyanHuang@users.noreply.github.com> Co-authored-by: Njoanna.wozna.intel <joanna.wozna@intel.com> Co-authored-by: NJYChen <zoooo0820@qq.com> Co-authored-by: Njjyaoao <88936287+jjyaoao@users.noreply.github.com> Co-authored-by: NHulek <jakub.hulek@intel.com> Co-authored-by: Nzhangkaihuo <zhangkaihuo@baidu.com> Co-authored-by: NYUNSHEN XIE <1084314248@qq.com> Co-authored-by: NJZ-LIANG <jianzhongliang10@gmail.com> Co-authored-by: NTinson Lai <laitingsheng@hotmail.com> Co-authored-by: NAyuan <79981115+Ayuan2021@users.noreply.github.com> Co-authored-by: Nzhaoyingli <86812880+zhaoyinglia@users.noreply.github.com> Co-authored-by: NMing-Xu Huang <mingh@nvidia.com> Co-authored-by: Nwangxiaoning <71813629+wangxn12138@users.noreply.github.com> Co-authored-by: NHaohongxiang <86215757+haohongxiang@users.noreply.github.com> Co-authored-by: NHydrogenSulfate <490868991@qq.com> Co-authored-by: Nmjxs <52824616+kk-2000@users.noreply.github.com> Co-authored-by: 学渣戊 <x19403@163.com>
-
- 27 10月, 2022 1 次提交
-
-
由 Leo Chen 提交于
* make all cpp tests dynamic linked to libpaddle.so * add comments * keep old cc_test for some tests * fix some ut * make some ut use cc_test_old * fix typos and fit for win32 * fix lib path * fix some tests * skip lite test * fit for rocm * fit for cinn * fit for mac * fit for win32 * skip inference ut * skip windows * fix coverage
-
- 25 10月, 2022 1 次提交
-
-
由 engineer1109 提交于
export all symbols for phi_function_api on paddle_inference_shared
-
- 20 10月, 2022 1 次提交
-
-
由 JingZhuangzhuang 提交于
* Add infer prune function * Update phi.cmake * Update operators.cmake * add fusion op
-
- 19 10月, 2022 2 次提交
-
-
由 Yuanle Liu 提交于
-
由 Leo Chen 提交于
* clean unused code: piece.cc/h * clean usage
-
- 13 7月, 2022 1 次提交
-
-
由 ronnywang 提交于
-
- 01 7月, 2022 1 次提交
-
- 28 6月, 2022 1 次提交
-
- 27 6月, 2022 1 次提交
-
-
由 Sing_chan 提交于
* make inference_api_test use import_lib + dll to smaller its size;test=document_fix;test=windows_ci_inference * make place.h not export symbols; change the order of inference test dependencies * cant delete analysis pass ..in inference_analysis_test or build test_analyzer.exe will failed; temporarily comment test need paddle_inference_c * add onnx path; cp onnxruntime.dll to tests/api * make c_ut depend on paddle_inference_c_shared rather than paddle_inference_c * make c_ut depend .dll in windows and .lib in linux;path add capi_exp * init context pool by analysis predictor * make windows and linux both use shared; compile shared even on_infer off * move case:profile after case:fuse_statis to avoid context pool null problem * make c_ut depend .dll in windows and .lib in linux;path add capi_exp
-
- 14 6月, 2022 1 次提交
-
-
由 Wilber 提交于
* cmake-lint * update
-
- 10 6月, 2022 1 次提交
-
-
由 Leo Chen 提交于
* make all phi kernels to 2(host/device) static libraries directly * fix calling kernel_declare * fix compile * fix cpu compile * fix rocm compile * fix xpu compile * fix xpu kp compile * fix inference compile
-
- 04 6月, 2022 1 次提交
-
-
由 Sing_chan 提交于
-
- 10 5月, 2022 1 次提交
-
-
由 ronnywang 提交于
-
- 25 4月, 2022 2 次提交
-
-
由 heliqi 提交于
* fix windows compile test case error * test windows ci * cmake add onnxruntime * cmake add onnxruntime * test windows ci * auto_code_generator add ort lib copy * fallback modify windows ci bat * ci notest;test=document_fix;test=windows_ci_inference;test=windows_ci;test=windows_op
-
由 zhouweiwei2014 提交于
* merge all phi lib to several big static lib * merge all phi lib to several big static lib
-
- 06 4月, 2022 1 次提交
-
-
由 Allen Guo 提交于
* remove paddle_ipu shared library * fix unique_name
-
- 31 3月, 2022 1 次提交
-
-
由 TeslaZhao 提交于
* Pass compat of conv_transpose_bias_mkldnn_fuse_pass * Fix a bug of strided_slice op, about the axes parameter access memory out of bounds * Fix a bug of strided_slice op, about the axes parameter access memory out of bounds * Fix a bug of transpose op, about accessing memory out of bounds of the perm param * op:transpose_op supports bool type * op:transpose_op supports bool type * Keep strided_slice op behavior consistent with slice op when starts input is less than -rank * Using DistConfig in inference
-
- 10 3月, 2022 1 次提交
-
-
由 heliqi 提交于
* add onnxruntime predictor * Add code comments * support link paddle2onnx onnxruntime * support onnxruntime with python * support onnxruntime with python * support onnxruntime with windows * paddle2onnx compile with windows * supoort windows compile * supoort windows compile with onnxruntime * supoort windows compile with paddle2onnx * supoort mac compile * compile with mac * compile with mac * add code comments * fix remind word * code optimization * add test case * add test case * add inference demo_ci test case * fix compile paddle2onnx with no python * add inference demo_ci test case * add inference demo_ci test case * add inference infer_ut test case * support c go api and test cases * add converage test case * add converage test case * add capi test case * add capi test case
-
- 24 2月, 2022 1 次提交
-
-
由 Chen Weihang 提交于
* rename pten to phi * fix infrt compile failed * resolve conflict
-
- 23 2月, 2022 1 次提交
-
-
由 Allen Guo 提交于
* update inference part * restore white space
-
- 25 1月, 2022 1 次提交
-
-
由 xiongkun 提交于
* transfer: string tinyformat errors and part of enforce into pten * remove comment * fix by code review * assert is not compile in -DNDEBUG * add string as dependences of paddle_inference
-
- 15 12月, 2021 1 次提交
-
-
由 jianghaicheng 提交于
* add ipu_inference * resovle commments * resolve comments * add EnableIpu introduction * rm line * restore npu update * add ernie and resnet50 test * fix copyright time Co-authored-by: Nyaozhixin <522190855@qq.com>
-
- 15 11月, 2021 1 次提交
-
-
由 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
-
- 01 11月, 2021 1 次提交
-
-
由 Chen Weihang 提交于
* initial tensor design & sign kernel demo * add move constructor for meta & add lodtensor * add dirs & sign xpu kernel * add mean cpu&cuda kernel impl * move sign & mean xpu & npu kernel * add selected_rows basic impl * refactor design, BaseTensor to DenseTensor, etc. * add scale mkldnn kernel * polish xpu & npu impl details * fix mkldnn reuse compile failed * change tensor operation lib name * rename util filename * add more comments * change TensorImplInterface to TensorInterface * add kernel key and factory * remove MKLDNNTensorMeta, add MKLDNNDenseTensor * change XXDeviceContext to XXContext * add base kernel registrar utils & test on sign * replace boost::any by paddle::any * fix several ci failed * fix npu compile error * add ordered map util * fix multiple ordered_map compile errors * move dev into include dir * support sign op in static op run * fix static op run error * fix new executor compile failed * add dygraph branch & remove sign_op.h * fix test_infer_no_need_buffer_slots * fix rocm compile link error * fix unitybuild error & clear glog * fix npu compile failed * skip quant trans test * fix part windows compile problem * fix xpu enforce error * fix inference test failed * remove ordered_map to solve quant failed * fix part of rcom compile faild * add more register kernels * revert scale kernel temporarily * fix code format error * add new kernel registrar marco * rename top to tcmpt * revert xpu, npu, mkldnn impl & remove op def * add kernel args parse functor to auto parse args * revert some change & add scale kernels * add op proto in dygraph kernelcontext building * polish kernel dispatch logic & nameing rule * fix scale kernel match error * fix scale test failed * add mean API and unittest * test mean api success * add branch to solve compiled error * skip clang format error * add mean skip rule in op_library * add dot kernel, api and unittest (#6) * remove old kernel and add symbol link * fix dot compiled failed * add merco for module declare * fix npu and xpu compile error * revert sign, mean, scale, dot kernel removing * add comment for keeping old kernel impl * fix mutable_data error * fix bfloat16 conflit * fix inference undef error * adapt to msvc compile rules * polish comment for template inst * add cmake template instantiation for win * fix backend to place device id bug * fix ifdef error * Op2functor (#7) * add kernel args maker class * make args maker non-const * remove debug log * modify codes by review options * split constructPrKernelContext function * fix output name bug * fix test_mean_op test_sign_op failed * fill_any_like kernel refactor (#10) * fill_any_like kernel refactor * remove useless code of full_like c++ api * skip dtype for fill_any_like * add attrs for kernel key constrcut * add use_pt_kernel Flags to control whether to use pt kernel (#13) * add use_pt_kernel Flags to control whether to use pt kernel * change the default value to true for cheking pt kernels * fix mutable_data cuda place error * move high level apis into hapi * remove selectedrows adapting temporarily * Support Scalar in Tensor Compute Library (#14) * fill_any_like kernel refactor * remove useless code of full_like c++ api * Support Scalar in Tensor Compute Library * add scalar in dygraph and static graph mode * keep the basic type for attr, instead of using scalar for all * merge the code * remove mkldnn tensor & polish details * use flat_hash_map and small_vector in kernel factory * Refactor flatten kernel (#12) * refactor flatten kernel * update infershape function * fix compile bugs * fix bugs when merge * fix compiler bugs * fix bugs when run test_flatten_api * fix bugs when run test * Revert "use flat_hash_map and small_vector in kernel factory" This reverts commit 23091495cfdd3df8cc1be592d30f09ea66a7c72b. * Move cpu, cuda and other device code into kernels (#15) * fill_any_like kernel refactor * remove useless code of full_like c++ api * Support Scalar in Tensor Compute Library * add scalar in dygraph and static graph mode * keep the basic type for attr, instead of using scalar for all * merge the code * start refactor matmul * move cpu, cuda and other device modules into kernels * merge code * polish code in operator.cc * Perfect unitests (#16) * perfect unittest * update license * replace with flat_hash_map, small_vector (#19) * fix small_vector build error on windows platform * replace with flat_hash_map, small_vector * remove todo * Perfect unitests (#20) * perfect unittest * update license * fix bug when run tcmpt_utils_test * refactor execution adapting impl * fix insert conflit * Fix CI bug of test_yolov3 (#21) * fill_any_like kernel refactor * remove useless code of full_like c++ api * Support Scalar in Tensor Compute Library * add scalar in dygraph and static graph mode * keep the basic type for attr, instead of using scalar for all * merge the code * start refactor matmul * move cpu, cuda and other device modules into kernels * merge code * polish code in operator.cc * Fix CI bug of test_yolov3 * add the tensor base class, test=develop (#17) * update the tensor base class, test=develop * remove two funcs, test=develop * update the error msg, test=develop Co-authored-by: NChen Weihang <chenweihang@baidu.com> * [no-verify] commit backend and tensor signature changes * Rename tcmpt to pten (#23) * rename tcmpt to pten * update omitted files for rename to pten * update omitted file for rename to pten * remove k of all enum var * remove kernel_instantiate (#26) * remove symbols and spatial_tensor * change common to functions * readd share tensor impl methods * add a candidate dense tensor class, test=develop (#28) * change all Pt to Pten * resolve conflit with xiaowei * Op2functor opt1 (#27) * replace to small vector and change to const & * add std::move Co-authored-by: NChen Weihang <chenweihang@baidu.com> * polish kernel factory and kernel registry * fix operator test error msg mismatch * remove tensor signature and backend set member * move scalar and polish enforce * revert dtype layout change to fix error * fix enum operator override error * add several base unittests * add pten utils tests * polish some details * Dev/op2func refactor 3 (#30) * add a candidate dense tensor class, test=develop * remove TensorBase::backend(), test=develop * remove some ops, test=develop * cherry-pick the pr of tensor meta, test=develop * moves the dense tensor and some ops, test=develop * update the linalg operator, test=develop * update other operators, test=develop * fix errors, test=develop * fix bugs, test=develop * try to resolve the problem of windows ci, test=develop * updates codes, test=develop * fix the tensor_utils.cc, test=develop * modify the dense tensor, test=develop * fix the data type, test=develop Co-authored-by: Nshixiaowei02 <39303645+Shixiaowei02@users.noreply.github.com> * polish some details * polish kernel signature details * fix a bug about offsets of the tensor, test=develop (#31) Co-authored-by: Nshixiaowei02 <39303645+Shixiaowei02@users.noreply.github.com> * polish some details Co-authored-by: Nchentianyu03 <ctychentianyu@gmail.com> Co-authored-by: Nzyfncg <1370305206@qq.com> Co-authored-by: NYuanRisheng <yuanrisheng@baidu.com> Co-authored-by: N石晓伟 <39303645+Shixiaowei02@users.noreply.github.com>
-
- 14 9月, 2021 1 次提交
-
-
由 石晓伟 提交于
-
- 27 8月, 2021 1 次提交
-
-
由 joanna.wozna.intel 提交于
* Add calculation for gru op * Correct the types * Remove mkldnn only * Correct mkldnn ifdef * Remove mkldnn ifdef * Separate mkldnn quantizer test * Correct Windows test * Check different cmake fix * Revert cmake change * Cmake change 2 * Cmake change 3
-
- 10 8月, 2021 1 次提交
-
-
由 chentianyu03 提交于
* add any.hpp to utils and replace boost::any with self defined paddle::any * add copy any.hpp to custom op depends * modify any.hpp include path * remove boost from setup.py.in * add copy any.hpp to custom op depends * move any.hpp to paddle/utils/ dirs * move any.h to extension/include direction * copy utils to right directions
-
- 24 4月, 2021 1 次提交
-
-
由 winter-wang 提交于
-
- 23 4月, 2021 1 次提交
-
-
由 wuhuanzhou 提交于
-
- 22 4月, 2021 1 次提交
-
-
由 wuhuanzhou 提交于
-
- 18 3月, 2021 1 次提交
-
-
由 Chen Weihang 提交于
* support custom complex op * fix detail error * add inference support * fix setup windows failed
-