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

update op lower #49

Merged
merged 119 commits into from
Mar 11, 2024

Conversation

feifei-111
Copy link
Collaborator

PR types

PR changes

Describe

winter-wang and others added 30 commits March 5, 2024 23:23
* add llama log softmax subgraph

* add swiglu test case

* fix code

* fix code
* [PIR+CINN]Add Llama2 subgraph for backend test

* add 2 subgraph

* add more UT

* add more UT

* add more UT

* fix zip

* disable
* Fix bug in cinn_op.slice

* bug fix

* fix cinn slice

* support symbol in `starts` and `ends`

* support TensorListShapeOrDataDimExprs
…ePaddle#62421)

* [PIR+CINN]Fix cinn_op.concat infer shape bug for dynamic shape

* fix typo
---------

Co-authored-by: SigureMo <sigure.qaq@gmail.com>
* add gather forward spmd rule

* add unit test of gather_spmd to CMakeList
…ddlePaddle#62294)

* [AutoParallel] unify llama model

* fix comment

* fix hang bug && enable vpp unittest

* polish

* keep concrete_program.parameters in order
* optimize composite OP silu_double_grad

* correct computation equation

* use grad_x_grad_mul_sigmoid to reduce duplicated computation
* support spatial dynamic

* fix bug
…edSelectedRowsType and AllocatedDenseTensorArrayType (PaddlePaddle#62451)

* refine code

* fix
* init

* fix some typro

* opt

* add full jacbian test mode

* remove dyn numerical jvp

* msg fix

* msg fix

* fix unused

* add TODO

* fix

* fix

* rm ano
)

* [PIR] add distributed dialect.

* update utils for distdensetensor

* param network

* update api

* add unitest

* bugfix

* update unitest

* adopt for new api name

* update cmake

* adapt for gshape construct

* adapt for gshape construct

* new func

---------

Co-authored-by: winter-wang <1030748926@qq.com>
BiynXu and others added 29 commits March 10, 2024 10:19
* fix dyshape buffer resize

* add flags in cmake of unittest

* remove flags in unittest cmake

* delete excess free stmt
PaddlePaddle#62570)

* [Dynamic Shape]Fix SubstituteDimExprBasedOnConstraintsPass invalid bug

* simplify substituted dim_expr
…ddle#62529)

* [PIR+CINN]Fix cinn_op.GroupOp insert bug for WriteAfterRead

* fix bug

* refine code

* fix cond typo

* fix std::distance

* add strong verify after build_cinn_pass

* fix typo
…addlePaddle#62394)

* WIP: builtin.split op infer sym shape

* bug fix

* Update paddle/fluid/pir/dialect/operator/interface/infer_symbolic_shape/paddle_op_infer_sym.cc

Co-authored-by: Bo Zhang <105368690+zhangbopd@users.noreply.github.com>

* Update paddle/fluid/pir/dialect/operator/ir/op_dialect.cc

Co-authored-by: Bo Zhang <105368690+zhangbopd@users.noreply.github.com>

* Update paddle/fluid/pir/dialect/operator/ir/op_dialect.cc

Co-authored-by: Bo Zhang <105368690+zhangbopd@users.noreply.github.com>

* pd_op.split followed by builtin.split

* pd_op.split infer sym shape bugfix and unittest; fix op infer sym error outputs

* recover SplitWithNumOpInferSymbolicShape Unimplemented exception raising

* code refinement

* Rewrite PADDLE_ENFORCE

* remove incorrect comments

* Rewrite PADDLE_ENFORCE

* Rewrite PADDLE_ENFORCE

---------

Co-authored-by: Bo Zhang <105368690+zhangbopd@users.noreply.github.com>
* fix custom op

* fix compile bugs

* fix inplace infershape bugs
@feifei-111 feifei-111 merged commit efdd3e8 into 2742195759:cinn-trivalop-fuse Mar 11, 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.