Commit Graph

56 Commits

Author SHA1 Message Date
yao_yf 39055af6e4 recompute interface modify 2021-09-01 10:59:59 +08:00
Zhang Qinghua a137fa1d0b Optimize the Executors routines.
- Fix the key generating.
- Distinguish the executors.
2021-08-28 17:36:12 +08:00
yujianfeng 712b9bd013 convert some ops bprops to mindir 2021-08-24 09:09:09 +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
yao_yf 5277b229be add cell comm recompute interface 2021-08-17 09:23:21 +08:00
yujianfeng cf4121126a Only replace the primal user with tuple_getitem once 2021-08-06 19:23:14 +08:00
i-robot ed4c9682b5 !20505 limit the scope of lift free variable
Merge pull request !20505 from xychow/limit-lift-scope
2021-07-20 06:10:17 +00:00
zhousiyi 597f29ea7d limit the lambda lift scope to the func_graph passed 2021-07-20 00:37:21 +00:00
zhousiyi b590f6d929 don't replace u with fprop_u in primal_graph and bprop_fg 2021-07-19 08:14:40 +00: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
l00591931 8ae5d7cc84 Fix compile cache for resnet50 2021-06-24 14:36:24 +08:00
huanghui 53e32077c1 fix code check 2021-05-17 11:20:35 +08:00
zhousiyi 74d500a756 If a fv cnode is not mapped but belong to primal_graph_, then don't propagate this fv to caller, it should mapped instead 2021-03-25 11:49:37 +00:00
buxue 2551f5ea7e support name or attribute ast.Expr 2021-03-11 21:40:33 +08:00
l00591931 680324f225 Change make tuple in core.ops 2021-03-05 10:54:33 +08:00
yujianfeng 70cc548e32 Fix calling recompute api after compiling 2021-02-08 16:19:49 +08:00
mindspore-ci-bot b189f177bb Change tuple_getitem to TupleGetItem and some other ops, merge from r1.1 to master 2021-02-02 15:54:15 +08:00
l00591931 9ec100d069 Change TensorAdd to Add, from r1.1 to master 2021-02-01 17:53:52 +08:00
yujianfeng 728fac6c9f Expand J for innermost graph first when the graph also contains J primitive 2020-12-28 09:37:23 +08:00
yujianfeng e1aa34a030 Ignore the graphs with defer_inline flag when specializing on graph arguments 2020-12-22 14:32:44 +08:00
mindspore-ci-bot 37e3b6082f !6002 Reduce inline passes traversal by skipping inline action if no pre-ad python pass exists
Merge pull request !6002 from BowenK/pre_ad
2020-09-14 10:16:56 +08:00
Jiaqi 94d63b90f4 remove sens parameter 2020-09-13 11:34:56 +08:00
BowenK e482e4e8bf reduce pass traversals if no pre-ad python pass exists 2020-09-10 20:00:10 +08:00
BowenK 1bdb26f9e8 Warming up python pass by adding inline passes before it 2020-09-04 14:26:17 +08:00
BowenK d6fb7d2db1 Remove debug drawing and printing to boost compile performance; re-opt after python pass to boost training; fix NewParameter tensor clone 2020-08-31 17:42:00 +08:00
BowenK 641d12d6d9 python pass pattern renaming and interface tweaking 2020-08-27 10:03:46 +08:00
mindspore-ci-bot 8d693306f4 !4126 Add new parameter
Merge pull request !4126 from BowenK/new_parameter
2020-08-24 10:01:46 +08:00
BowenK e7c6b7e66a Add NewParameter and Imm patterns 2020-08-21 16:53:04 +08:00
李嘉琪 c65ea1687b modify error type 2020-08-19 14:21:56 +08:00
Wei Luning d4d6457ea7 init parameter data by defaultOnly keep no data as MetaTensor in auto parallel mode 2020-08-06 19:52:31 +08:00
zhousiyi 7d31deb6fa remove loss_scale range check to make FP32Imm(inf) comparison equal 2020-08-04 08:08:29 +00:00
BowenK 6d4c07c886 Update python pattern expression 2020-08-03 15:29:22 +08:00
wangnan39@huawei.com 082433183d uniform learning_rate behavior of optimizers 2020-07-20 21:09:20 +08:00
changzherui f4cb445ea8 syn code for 0715 2020-07-16 17:18:21 +08:00
BowenK f267a105b8 Add Python Pass UT 2020-07-14 10:18:22 +08:00
changzherui 17da929b82 syn code 0706 2020-07-06 17:51:17 +08:00
guohongzilong 652093642e change order param same as group params 2020-06-30 14:56:55 +08:00
jinyaohui dd5fba1db9 add notice 2020-06-29 17:39:25 +08:00
yanghaoran 21c381b366 sync from mindspore to incubator 2020-06-23 21:05:50 +08:00
fary86 15b3fba0ef Fix eliminate get ref parameter 2020-06-18 16:10:53 +08:00
mindspore-ci-bot 10fd781b15 !1831 Add order parameter function in group params
Merge pull request !1831 from ghzl/add-oder-parameters-in-group-functions
2020-06-08 17:38:43 +08:00
guohongzilong 85a06b00c6 add order function in group params 2020-06-08 11:09:18 +08:00
jinyaohui 5e43edc474 clean pylint 2020-06-04 21:03:30 +08:00
jonyguo 228061818c Merge branch 'incubator-master' into sync_05177ff9_6b1715a7 2020-06-01 15:04:41 +08:00
jinyaohui 86d197dfeb clean pylint 2020-05-29 23:00:00 +08:00
jonyguo 78cc0d5d8d Merge branch 'incubator-master' into sync_d9c74e0a 2020-05-23 11:03:41 +08:00
buxue e490618db8 support tensor get value by tensor index
support tensor set value by tensor index
2020-05-21 21:05:35 +08:00
mindspore-ci-bot a2a3b1c6c5 !1089 Add Optimizer method get_lr_parameter
Merge pull request !1089 from ghzl/add-get-lr-base-on-parameter
2020-05-14 09:40:31 +08:00