Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cherry pick] Refine param conversion logic in layer.to #38058

Closed
wants to merge 195 commits into from

Conversation

zhangbo9674
Copy link
Contributor

PR types

Bug fixes

PR changes

APIs

Describe

cherry pick 的pr包括:
Remove additional warnning in layer.to (#36700)
Refine param conversion logic in layer.to (#36862)
Fix Layer.to() of device bug (#37156)

jiweibo and others added 30 commits September 22, 2021 15:21
…ERTIES TIMEOUT (PaddlePaddle#35863) (PaddlePaddle#35898)

Increase test_imperative_auto_mixed_precision PROPERTIES TIMEOUT from 120s to 300s.
…r python3.6 (PaddlePaddle#35862) (PaddlePaddle#35900)

fix bug of module paddle has no attribute fluid for python3.6.
…#35926)

* 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 transpose op, about accessing memory out of bounds of the perm param

* op:transpose_op supports bool type
…ase/2.2 (PaddlePaddle#36015)

解决Windows中CUDA11.2编译出错的问题。
cherry-pick PaddlePaddle#35941
Add basic Cost Model, it uses executor to run program and profile it to get op time.

This is an early basic version, we will add more functions in the future.
…PaddlePaddle#35909) (PaddlePaddle#36038)

This PR implements the kernel of "eigvals" OP with the Lapack library, which has a better performance than the previous Eigen library.
…ddle#35927)

1、Split function GradScaler::minimize() to GradScaler::step() + GradScaler::update()
2、Add GradScaler::unscale_(optimizer)
* fix pad tuple

* fix format
* add randperm_op_npu

* fix test_set_value_op_npu
…Paddle#36056)

This PR supports linalg.solve calculation for linear algorithm module of Paddle. One may call paddle.linalg.solve to use it.
…e API PaddlePaddle#36024

[cherry-pick] Add function comments and instructions to the Primitive API
)

This PR added det and slogdet API to release/2.2
It is cherry-pick from PaddlePaddle#34992 and PaddlePaddle#36013
…dlePaddle#35916) (PaddlePaddle#36091)

cherry-pick PaddlePaddle#35916,CPU前向计算将Eigen替换为Lapack,修改linalg暴露规则
…) (PaddlePaddle#36094)

When users use gumbel_softmax, they can use paddle.seed() in python for fixed seed.
pangyoki and others added 27 commits November 25, 2021 11:21
目前的fused_attention_op不支持attn_mask=None的输入,本PR对此进行了补充,并补充了相应的单测逻辑。
…Paddle#37546)

* fix data parallel when VOCAB var in program

* fix ci coverage
) (PaddlePaddle#37570)

* fix. test=develop

* fix. test=develop

* fix. test=develop

* fix. test=develop

* fix. test=develop

* [heterps]bug fix for _run_from_dataset

* fix heter_server.cc

* fix launch_utils.py

* fix heter_section_worker.cc

* fix. test=develop

* fix. test=develop
slice_grad op在选择kernel过程中出现错误,问题原因是在获取use_mkldnn属性时,map中未找到该键值,所以抛出out_of_range异常
本PR在map获取use_mkldnn属性数据前增加了是否存在该键值的判断逻辑,从而避免出现上述异常
…addlePaddle#37566) (PaddlePaddle#37608)

cherry-pick of PR PaddlePaddle#37566:

Based on PaddlePaddle#37411, this PR:

    Continue to fix the bugs when bias add is none in static graph for fused_attention op.
    Polish and improve the unittests in test_fused_attention_op_api.py.
cherry-pick PaddlePaddle#37536

修复pass_desc.proto在编译时产生依赖问题。
…le#37589)

* fix dropout static when axis != None

* update dropout test

* add dropout test

* fix test

* Update test_dropout_op.py

* Update test_dropout_op.py

* fix testcase

* fix testcase

* Update test_dropout_op.py

* fix testcase

* fix testcase

* optimize perf

* add new test

* fix testcase
* py2 to py3 bug and iface fix for pslib (PaddlePaddle#36102)

* avoid setting logging.basicConfig (PaddlePaddle#37031)
…zed op (PaddlePaddle#37878) (PaddlePaddle#37899)

Fix cflags D_GLIBCXX_USE_CXX11_ABI takes no effect problem in customized op
* remove additional warnning in layer.to

* remove additional warnning in layer.to

* remove additional warnning in layer.to

* remove additional warnning in layer.to

* remove additional warnning in layer.to
* refine layer to

* delete comment

* refine logic

* refine code

* refine pure_fp16_init

* refine comment
@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@zhangbo9674 zhangbo9674 deleted the cp/layerto branch March 2, 2023 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.