- 08 8月, 2023 9 次提交
-
-
由 Charles-hit 提交于
* [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 * add test for mean vjp and support has_vjp function * fix call_vjp * polish code * add primitive ops set for backend * add vjp test for tanh_ * fix inference CI * fix inference ci * modify fluid cmake * remove useless deps * add cmake --------- Co-authored-by: Ncxxly <chenxx_id@163.com> Co-authored-by: Nzhangbo9674 <zhangbo54@baidu.com>
-
由 easonchan1874 提交于
-
由 hong 提交于
* support new ir dy2st * revert code * skip test with stride * chang import file
-
由 niuliling123 提交于
-
由 WangZhen 提交于
-
由 Chang Xu 提交于
-
由 hong 提交于
-
由 zhangbo9674 提交于
-
由 Yuang Liu 提交于
-
- 07 8月, 2023 23 次提交
-
-
由 yin wei 提交于
* add mask * add backword * add enforce info * update scale * integrate code * update enforce * add enforce eq * add error type * update enforce * add test_flash_attention * Polish codes and fix compiling errors. * Set num_splits to 0 for flash-attn with tensor mask. * Fix the compiling error for non flash-attn case. --------- Co-authored-by: NLiu Yiqun <liuyiqun01@baidu.com>
-
由 LiYuRio 提交于
* make tcp store a global instance * fix windows compile error
-
由 YuanRisheng 提交于
* add attrs and dtype interface * fix compile bugs * fix some bugs * fix windows bugs
-
由 Yuanle Liu 提交于
* fix cudnn 8.7+ bug on cudnnConvolutionBiasActivationForward * save_optimized_model_pass support tensorrt * update * update * fix compile * update * fix ut timeout
-
由 傅剑寒 提交于
* refactor codegen for cinn * add to_string to some type which can't be += with string * fix multi-thread bug caused by static var * delete dead code and comment
-
由 周周周 提交于
* commit * commit --------- Co-authored-by: Nzhoukangkang <zhoukangkang@baidu.com>
-
由 gouzil 提交于
-
由 Nyakku Shigure 提交于
* [xdoctest] reformat example code with google style in `paddle/tensor/math` * preview, test=docs_preview * scale, test=docs_preview * stanh, test=docs_preview * multiplex, test=docs_preview * pow, test=docs_preview * max, test=docs_preview * others..., test=docs_preview * update trunc example code, test=docs_preview
-
由 gouzil 提交于
-
由 Ruibin Cheung 提交于
-
由 co63oc 提交于
-
由 xiongkun 提交于
* add paddle-symbolic-trace to paddle * add symoblic trace * delete swp * support Layer in symbolic trace * fix test-symbolic-trace, make symbolic trace return a StaticFunction * template the error message * fix some unittest * Modify the execution mode of test * Modify the module name * add dy2static unittest decorator * change some unittest files by @ast_only_test * fix unittest. * test-symbolic-trace * update test_write_python_container.py * update * fix test_param_parse.py * add submodule and ln -sf in cmakefile * update * update * fix some ast only errors * update * Polish ut * fix unittests * update * update * fix unittests * update * test warning ast only * update * Ast only some uts * Fix unitests * test_error ast only * update * update * Support build_strategy for sot * update * import sot as a third party module * update * update * Polish code * update * update * update * update * update * remove old fluid api and use paddle.nn.relu instead * fix * comment the print of ast code * add try-finally block * fix dy2static stop-gradient bugs * fix code * remove unused submodule and minor codestyle fix * fix * fix cast error * fix interpolate meets int64 in static model * add evalframe support for py311 * fix * fix err * switch ENABLE_FALL_BACK=False * fix * Fix CI for some unittest * add ENABLE_SOT * remove setup.py dependences --------- Co-authored-by: NNotHaozi <zhangmenghao@baidu.com> Co-authored-by: Nfeifei-111 <2364819892@qq.com> Co-authored-by: N0x45f <wangzhen45@baidu.com> Co-authored-by: NSigureMo <sigure.qaq@gmail.com>
-
由 lijialin03 提交于
-
由 tianshuo78520a 提交于
* Test Del paddle_bfloat * Del paddle_bfloat test
-
由 yangjianfengo1 提交于
* inplace tol * code style
-
由 Huihuang Zheng 提交于
Update Save/Load Interface to 2.0
-
由 DHANUSH N 提交于
-
由 zhangbo9674 提交于
* sovle conflict bug * fix bug
-
由 co63oc 提交于
-
由 tianshuo78520a 提交于
-
由 co63oc 提交于
-
由 tianshuo78520a 提交于
* Test Build;test=document_fix * Test Build;test=document_fix * Fix gcc error
-
由 umiswing 提交于
* Work for fa-2 padded fwd. Code to be cleaned. * Work for fa2 unpadded fwd. * Work for padded-bwd, dk get small diff on np.random.seed(0) * Anyway I pass paddle's utest, except return softmax without dropout. * Clean code. * Modify interface. * Clean code and add some check. * Easy compile for dev. * Fix ci. * Fix ci-build. * Add std c++17 option again. * Limit max job when compiling fa2. * Remove const_cast * Add fwd params, to be cleaned. * Clean code. * Add bwd params. * Clean code. * Add enforce. * Use v2.0.4 * Pass RNG state to fa2 capi * Fix review. * Add assert * Skip compile for sm less than 80.
-
- 06 8月, 2023 1 次提交
-
-
由 co63oc 提交于
-
- 05 8月, 2023 1 次提交
-
-
由 hong 提交于
* filter new ir inplace var set parameter * polish code * fix conflict * fix typo
-
- 04 8月, 2023 6 次提交
-
-
由 Difer 提交于
* replace embedding * replace sparse_embedding * fix some bugs * del embedding * repalce layers.embedding * fix type error
-
由 kangguangli 提交于
* fix bug: feed_with_place should consider variable existence * fix * fix build scope * change method to set feed var name * remove feed_with_place to placeholder * fix * rename to data * fix * fix
-
由 JZ-LIANG 提交于
-
由 hong 提交于
* refacot aot * update * fix bugs * remove some test * fix bug * fix bug * fix bug * fix bug * update
-
由 Fisher 提交于
1. `Parallel Compiler`: - 合并`FLAGS_cinn_parallel_compile_size`和`FLAGS_cinn_parallel_compile_thread`,通过`FLAGS_cinn_parallel_compile_thread`即可指定编译时使用的线程数,所有的`fusion_groups`将会平均分配到可用的线程上 - 增强编译完成后返回的信息,除`instruction`外,将`lowered_function`、`source_code`、`source_ptx`返回,供上层进一步使用 2. Debug信息: - 新增`FLAGS_ cinn_dump_group_lowered_func`、`FLAGS_cinn_dump_group_source_code`、`FLAGS_ cinn_dump_group_ptx`、`FLAGS_ cinn_dump_group_instruction`,可分别按`fusion_groups`储存编译的每个阶段中的中间代码 - 重新整理`graph_visualization`,所有的可视化图、单测代码均能正确分组储存 3. Bug修复: - 修复`MakeDirectory`不能正确创建文件夹的问题 4. 其他: - 清除了一些无用代码
-
由 Ruibin Cheung 提交于
* [clang-tidy] enable modernize-use-emplace * Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into modernize_use_emplace
-