- 07 3月, 2022 17 次提交
-
-
由 0x45f 提交于
* move bincount OP to phi * fix dtype * set_dtype by weights or x * fix conflicts
-
由 Ming-Xu Huang 提交于
* Added cuBlasLtHandle_t to device context. * Added fused_gemm_epilogue op. 1. Added fused_gemm_epilogue op to leverage cuBlastLt Epilogue. 2. Support fusion Act(X*Y + bias), X'dims >=2 and Y'dims shoule be 2. 2. Act currently only be supported ReLU. (Will add GeLU in the future). * Added UT to fused_gemm_epilogue op. * Added LinearAct Pattern 1. Added LinearAct into graph_pattern_detector.* to define (2.)'s pattern. 2. LinearAct is used to detect act(element_add(matmul_v2(x, w), bias)). 3. act currently only support ReLU (Will support GeLU in the future). * Added FuseGemmEpiloguePass 1, Added FuseGemmEpiloguePass to handle nn.Linear + Act{ReLU} fusion (GeLU will be supported in the future). 2. Only support matmul_v2 from nn.Linear. * Added pybind to BuildStrageter.fuse_gemm_epilogue_. * Added UT for fuse_gemm_epilogue_pass. * GeLU support and EpilogueSingleton 1. Added GeLU support to fused_gemm_epilogue op. 2. Added EpilogueSingleton to cache auxiliary pointer. 3. Added related UTs. * Rename cublaslt_epilogue_opto gemm_epilogue_op.*. * Added both train and infer pattern to LinearAct. 1. Added support of fwd graph with grap_ops linking to LinearAct. 2. Added related changes to fuse_gemm_epilogue_pass for above modification. * Changed CUDA requirement from 11.4 to 11.6 for fuse_gemm_epilogue_pass. * Added identity activation support to gemm_epilogue_op. * Added Linear Fusion (matmul_v2 + ele_add) 1. Added matmul_v2 + ele_add pattern to LinearActPattern. 2. Added matmul_v2 + ele_add support to fuse_gemm_epilogue_pass. * Rename gemm_epilogue_op.* to fused_gemm_epilogue_op.* * Add fused_gemm_epilogue_grad op. 1. Added fused_gemm_epilogue_grad to support backward epilogue fusion. * Add UTs to fused_gemm_epilogue_grad_op. * Change attribute name in fused_gemm_epilogue_grad_op for clearing. * Allow DX and DBias be dispensable to fused_gemm_epilogue_grad op. * Added ElementwiseAdd+Matmul+Act graph pattern detection. * Fuse backward of Linear( Act(x)) 1. Added backward fusion pass to Linear( Act(x)). 2. Added backward fusion pass to Linear(x). * Added UTs to backward fusion of Linear(Act(x)). * Complete document of arguments to fused_gemm_epilogue_op. * Made arguments of some functions pass by reference. * Modify code with review comments. 1. Made arguments of some function pass by reference. 2. Removed redundant code. 3. Followed Google code style to change code. * Made 'const' code style be consistent * Fixed random seed of python UTs. * Set Compiling constrains to cuBlasLt 1. Require CUDA 11.6+ 2. Remove fuse_gemm_epilogue related tests when CUDA < 11.6. * Code Reivew from Paddle 1. Changed arguments name is_first_gemm to without_x_gradient for clearing. 2. Applied PADDLE_THROW in fused_gemm_epilogue_op. * Remove EpilogueSingleton 1. Applied ReserveSpace to replace Epilogue for passing auxiliary pointers between FWD and BWD. * Fix a logical error and enhance UTs. 1. Added act op count checking in UTs. 2. Fix issue to fuse backward or ReLU(Linear(X)). 3. TODO: solve GELU fusion issues. * Fix Linear and GeLU fusion issues. 1. Modified graph_detech_pattern to fit with both linear wiht gelu or relu. 2. Modified data range in Uts to allow negative values. * Removed fused_gemm_epilogue_op.h. * Rename namespace pten to phi. * Rename name of arguments in fused_gemm_epilogue_op 1. bias -> Bias. 2. out -> Out. 3. reserve_space -> ReserveSpace. * Change EpiloguePassActivationCache as local variable. 1. Removed singleton in EpiloguePassActivationCache. 2. Made EpiloguePassActivationCache as an argument to each pass functions.
-
由 WJJ1995 提交于
* Add is_empty * fixed for CI * fixed code style * resolve conflict * deal with comments * replace pt by pd
-
由 Wilber 提交于
* infrt add trt engine * update engine name
-
由 YuanRisheng 提交于
* move elementwise_div grad * change mutable_data to alloc * fix compile bugs
-
由 Wei Shengyu 提交于
* dbg pool infer shapes * dbg * fix format
-
由 Aurelius84 提交于
-
由 JingZhuangzhuang 提交于
* fix_conv2d_trt_convert_test_case * fix_conv2d_trt_convert_test_case * fix_conv2d_trt_convert_test_case * fix_conv2d_trt_convert_test_case
-
由 Chen Weihang 提交于
* remove storage deps of empty * remove invalid empty method * remove error empty using * fix test_sparse_utils_dev_api * revert some sparse change * add memset for conv grad * resolve conflict * resolve conflict * resolve conflict
-
由 zhangbo9674 提交于
* add gaussian random * add full * refine reduce * refine code * refine gaussian_random unittest * add unittest for fill_any_like fill_constant
-
由 Liu-xiandong 提交于
* [phi] move multi_dot OP * fix the segment bug * fix bug * delete useless comment * fix CI bug
-
由 zhaoyingli 提交于
* engine support pp * fix format * avoid multi print * fix convert * bug fix * add pp unittest
-
由 zhangbo9674 提交于
* add activ * refine unittest * refine unittest * refine unittest * refine unittest * refine code
-
由 zn 提交于
* [MLU]support reduce tensors on mlu * [MLU]fix compiler options
-
由 lilong12 提交于
-
由 Aurelius84 提交于
* [Phi]Migrate Adamax into phi * Add adadelta kernel
-
由 zhangbo9674 提交于
* refine amp.decorate code example * refine code
-
- 06 3月, 2022 3 次提交
-
-
由 Chen Weihang 提交于
* replace prefix pt by pd * replace added kernel * revert util change * pd kernel to phi * resolve conflict * resolve conflict
-
由 Zhong Hui 提交于
* move dist op to phi * fix * fix * fix as reviews
-
由 zhouweiwei2014 提交于
* Migrate triangular_solve op into phi * fix CI * move MatrixReduceSum to phi funcs * move MatrixReduceSum to phi funcs * fix comment * fic CI
-
- 05 3月, 2022 5 次提交
-
-
由 Chen Weihang 提交于
* remove eig dep for svd helper * fix win failed
-
由 furnace 提交于
* [Phi] move infershape for mv * [Phi] delete extra codes for mv
-
由 Chen Weihang 提交于
-
由 Chen Weihang 提交于
-
由 wangguanqun 提交于
* fix benchmark and communicator config * fix bugs of the_one_ps * multi program and fix bug in optimizer * multi program in the_one_ps * public commcontext * ps optimizer multi programs * the one ps merge * fix bug in test
-
- 04 3月, 2022 15 次提交
-
-
由 hong 提交于
* add yolo box kernel; test=develop * fix comile error; test=develop
-
由 zyfncg 提交于
* move selected_rows kernel head to selected_rows dir * update license * add sr namespace * refacter selected_rows kernel funciton name * fix bug
-
由 chentianyu03 提交于
-
由 Zhanlue Yang 提交于
* Fixed GradNode default attributes issues * Reverted changes on yaml files
-
由 Thunderbrook 提交于
* dump cpu * code format
-
由 sneaxiy 提交于
* move gather_nd/scatter/scatter_nd_add * fix npu/xpu ci * follow comments * small fix
-
由 Feiyu Chan 提交于
move cpu_vec.h to phi/kernels/funcs.
-
由 hong 提交于
* enable eager model; test=develop * set bs = 5; test=develop
-
由 Qi Li 提交于
-
由 furnace 提交于
[Phi] move gaussian_random, fix fp16
-
由 Linjie Chen 提交于
* move sigmoid cross entopy with logits to phi * fix ci * move log_loss to phi * move cumsum to phi * revert infershape * fix xpu ci * move auc to phi * remove comment * update sigmoid_cross_entropy_with_logits_op.cu * update sigmoid_cross_entropy_with_logits_op * Update log_loss
-
由 hong 提交于
* add digamma, abs, trunc; test=develop * fix bug and add diagonal; test=develop * add name coverter; test=develop * update tracer.py; test=develop * add test case; test=develop * fix bugs; test=develop
-
由 zyfncg 提交于
* remove emtpy kernel and infershape in fluid * fix bug of infershape_utils
-
由 zyfncg 提交于
* fix bug caused by split infershape * revert infer_shape of split * revert split
-
由 ceci3 提交于
[paddle-inference]support setting fully connected in multi-head attention static shape branch to int8 (#39660) * fix inference int * update * add unittest
-