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

test cache program #3

Closed
wants to merge 7,386 commits into from
Closed

Conversation

feifei-111
Copy link
Collaborator

PR types

PR changes

Describe

this test used numpy array as input, add paddle.to_tensor

xiaoxiaohehe001 and others added 30 commits May 11, 2023 23:13
* fix jacobian and hessian's docstring

* fix hessian's docstring

* fix hessian's docstring
…ddle#53171)

* [Dy2St]Fix x grad names when high order gradient

* Polish error msg

* Add inputs var to backward in dy2st

* Fix error

* Get grad names for backward API

* Fix save load

* Polish code

* Add ut

* [prim] fix not support optional grad bugs in higher order autodiff

* [prim] remove duplicate fill_any_like caused by infershape_for_composite

* fix _strip_grad_suffix_ bugs in higher-order autodiff

* [prim] create output for test_static_prim.cc

---------

Co-authored-by: 0x45f <wangzhen45@baidu.com>
…dle#53593)

* Skip fake alloc in static build for depend and nop op

* Skip communication op

* Skip sync op
* fix doc eror of index_put in develop

* fix doc error for index_put; test=document_fix; test=docs_preview
* sequence_mask functionalization

* fix sequence_mask test
* [CustomDevice] add inference MP support, PART0

* update
* add rules

* modify silu_grad input

* modify kernel signature

* modify kernel signature

* code style

* review
…ddlePaddle#53723)

* test(prim-cinn): split test_resnet and test_bert into three tests

* test(prim-cinn): fix cmake file to run prim test in CINN-CI
* added base code for i0 and i0e

* added grad base code for i0 and i0e

* added i0 and i0e python code

* added ops and backward yaml config

* added i0 and i0e cpu kernel, but not test.

* added i0 and i0e code and unitest files

* added test files

* added i0/i0e gpu implementation code

* updated code style

* updated code style

* fixed unitests code

* updated i0 with eigen3

* fixed bug and added more test cases

* refactor: fixed static graph bug

* refactor: removed i0 and i0e from op_compat

* refactor: updated code style

* refactor: updated op_compat.yaml

* refactor: updated op_compat.yaml

* refactor: fixed op name mapping and optimize unittest case

* refactor: manually implement i0 / i0e

* refactor: added grad kernel for i0 / i0e,didn't finish

* Update math.py

* refactor: added equation to doc in English and added comments for computing i0 / i0e gradient

* refactor: removed eigen implementation

* refactor: finished i0 / i0e cpu and gpu op

* refactor: updated code style

* fix: find  a bug but not fix

* fix: incorrect unittest cases

* update: updated code style and remove my file

* update: updated unittest case

* fix: fixed sign error

* fix: fixed mistakes when merging

* refactor: updated code style

* refactor: remove unused code

* refactor: updated code style
* modify concat_grad add sum comp rule

* delete default mul_double_grad

* delete high grad test

* recover yaml

* modify yaml

* recover add_double_grad prim
* fix build error

* fix build error

* fix
* move OneHotRawKernel to legacy

* fix
* update

* Update backward.h

* Update composite_backward_api.h

* Update tensor_utils.cc

* Update backward.cc

* update

* stype

* update

* add ctest

* code stype
* relocate regularizer.py

* fix bug

* fix bug

* fix bug

* relocate the import

* replace _regularization_coeff with coeff

* remove the L1DecayRegularizer and L2DecayRegularizer
houj04 and others added 26 commits May 25, 2023 06:26
* add log for memory stats

* fix string_split in einsum
* refine code

* delete some unused code

* refine code of build

* refine code of build

* add block

* refine builder

* refine code

* refine code by comment

* fix compiler bug
update test_write_python_container.py
@feifei-111 feifei-111 closed this Jun 14, 2023
@feifei-111 feifei-111 deleted the test_cache_program branch June 15, 2023 07:03
@feifei-111 feifei-111 restored the test_cache_program branch June 15, 2023 07:03
feifei-111 added a commit that referenced this pull request Mar 21, 2024
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.