Commit Graph

44 Commits

Author SHA1 Message Date
Margaret_wangrui 46e302f101 Remove a test case 2021-11-11 20:33:37 +08:00
Margaret_wangrui 0170463364 fix pynative parameter list problem 2021-11-09 14:38:07 +08:00
i-robot c4d837598d !25650 Add check with the names of parameter in list or tuple.
Merge pull request !25650 from Margaret_wangrui/param_name
2021-11-04 11:33:44 +00:00
Margaret_wangrui 1d16a36c94 Add check with the names of parameter in list or tuple. 2021-11-04 10:00:30 +08:00
He Wei 6539a9f843 Fix auto-monad for cycle parameter binding 2021-11-03 16:18:45 +08:00
He Wei dcc19144ff Group load nodes by ref key
1. Group load nodes by ref key;
2. Compare parameter name in Tensor::ValueEqual().
2021-10-13 14:49:18 +08:00
jiangshuqiang 13fc005562 fix security wrap 2021-09-28 11:59:45 +08:00
jiangshuqiang c2bd061889 fix summary isolation 2021-09-18 10:59:14 +08:00
i-robot bbdacd41f4 !20585 add security isolate for save_graphs
Merge pull request !20585 from huanghui/add-security-isolate-for-DumpIR
2021-09-15 01:25:46 +00:00
huanghui ba66c0d491 add security isolate for save_graphs 2021-09-14 10:24:12 +08:00
fangzehua 4ccc635a07 add print security 2021-09-13 17:45:36 +08:00
chenfei 2188d80354 open log info 2021-09-02 09:49:16 +08:00
i-robot a0ac0e2feb !22505 Change ir save path
Merge pull request !22505 from huanghui/change-ir-save-path
2021-08-28 12:11:26 +00:00
huanghui 88601da733 change ir save path to: save_graphs_path/ when alone; save_graphs_path/rank_ when distribute 2021-08-28 14:11:23 +08:00
yanghaoran a0ff742442 prune less effective Ascend testcases to level1 2021-08-27 19:59:59 +08:00
ms_yan 36a8886ca2 Revert "[feat] [assistant] [I3T96T] add new Dataset operator CMUARCTICDataset"
This reverts commit b077aa1cab.

Revert "[feat] [assistant] [I3T96X] add new Dataset operator LibriSpeechDataset"

This reverts commit 4e6f7dc97d.

delete pass_registry_test.cc

comment  hiai_nlu_model_multi.pb related  line
2021-08-23 01:46:38 +08:00
djc b077aa1cab [feat] [assistant] [I3T96T] add new Dataset operator CMUARCTICDataset 2021-08-22 16:26:45 +08:00
djc 4e6f7dc97d [feat] [assistant] [I3T96X] add new Dataset operator LibriSpeechDataset 2021-08-22 13:39:37 +08:00
huanghui 1630dcb0c8 add subdirectory for log and ir_dump 2021-08-19 14:11:16 +08:00
huangbingjian 88059b76ee handle replace in updatestate_eliminate 2021-08-13 15:54:48 +08:00
yanghaoran 64d34104e5 move useless testcases from level0 to level1 2021-08-11 23:11:34 +08:00
chenfei 709b1e80db add control test cases and vm bug fix 2021-08-03 18:43:22 +08:00
Margaret_wangrui 16466f3453 Fix executive order problem: the user of MakeTuple(Load, ...) do not
attach UpdateState
2021-07-27 11:37:53 +08:00
Margaret_wangrui f9a064e464 Add ref user to UpdateState to ensure the order 2021-07-26 10:31:05 +08:00
chenfei ff066a0df3 add switch_simplify pass to a2 2021-07-09 16:56:43 +08:00
gaoyong10 b3f0a29fb1 Fix Sponge net. 2021-07-03 21:44:11 +08:00
zhousiyi a5b4e7bbf8 lift fv before grad except weight, then convert
switch(cond, partial(g1, xs), partial(g2, ys))(Zs)
 to
 switch(cond, g1, g2)(Xs, Ys, Zs)

 switch_layer(index, make_tuple(partial(g1, xs), partial(g2, ys)))(Zs)
 to
 switch_layer(index, make_tuple(g1, g2))(Xs, Ys, Zs)

put Zs at last when unifyparameter as it may have u-monad or io-monad

use joined args other than broadened one as some extra parameter which is not a parameter of while_header can be add to while_body

inline fprop_switch forcely

reorder the parameter if one of the parameter is Monad when incorporate call

incorporate switch tuple_getitem if item 0 of tuple is EnvInstance or
item 1 of tuple is bprop function

addn with shape() and shape(1)

remove context_ from FuncGraphEvaluator to make it re-entry able to resolve evaluator stuck issue because of re-entry of the same FuncGraphEvaluator
2021-07-03 00:03:37 +08:00
limingqi107 406c252834 enable mindRT 2021-06-29 17:44:05 +08:00
jiangshuqiang 6154f957fb fix static check 2021-05-31 16:47:21 +08:00
xsmq a424c3124b adjust ascend st from level0 to level1 2021-05-14 13:07:24 +08:00
Margaret_wangrui 8ef76ab3d0 1、add auto_monad testcase
2、Support trace tuple side-effect from a Switch
2021-05-10 11:30:17 +08:00
He Wei 171cd83188 [test] Fix GRAPH_MODE not restored after PYNATIVE_MODE is set 2021-04-29 09:28:24 +08:00
He Wei 121a6a28d9 [auto-monad] Enforce order of exection for Loads user nodes in frontend 2021-04-27 12:48:52 +08:00
woshixiaoli fc9dff3bdc add testcase for side effect exprssion 2021-04-08 17:33:21 +08:00
mindspore-ci-bot 669a32355c !13769 remove control_depend from py file
From: @huangbingjian
Reviewed-by: @hwhewei,@zh_qh
Signed-off-by: @zh_qh
2021-03-23 09:49:05 +08:00
He Wei d22e521a7f [Control-flow] Fix a bug in parameter Assign eliminating 2021-03-22 21:51:53 +08:00
huangbingjian 72ae1799f3 remove control_depend from py file 2021-03-22 20:45:45 +08:00
He Wei c837fb25a2 [auto-monad] Fix backend control flow bug found by igamma test 2021-02-26 17:17:38 +08:00
mindspore-ci-bot afcbf45019 !12506 Add testcase related to auto-monad
From: @huangbingjian
Reviewed-by: 
Signed-off-by:
2021-02-23 14:51:47 +08:00
He Wei 3c44e731a2 [auto-monad] Revert "Change backend execution order sorting policy"
This reverts commit 141c39b71c.
2021-02-22 20:26:45 +08:00
huangbingjian a158b2f2fa add testcase related to auto-monad 2021-02-22 20:16:08 +08:00
He Wei 141c39b71c [auto-monad] Change backend execution order sorting policy
Change backend execution order sorting policy from DFS to BFS
in KernelGraph::SetExecOrderByDefault().
2021-02-09 17:08:02 +08:00
huangbingjian 1086132dc3 fix the core dump of MsRunGraph related to auto-monad; modify testcases
related to auto-monad, do not judge or assert the generated IR file on CI test cases.
2021-02-08 16:49:29 +08:00
He Wei 7d9a783993 [auto-monad] Support side-effects by auto-monad
The basic idea is: exploits data dependency to control the execution order
of side-effect operations, and keep the semantics of ANF unchanged.

The ControlDepend primitive is removed and there are two primitives added:

1. UpdateState:
```
  a = Assign(para, value)
```
became:
```
  a = Assign(para, value, u)
  u = UpdateState(u, a)
```

2. Load:
```
  x = Add(para, value)
```
became:
```
  p = Load(para, u)
  x = Add(p, value)
  u = UpdateState(u, p)
```
2021-02-08 09:01:15 +08:00