i-robot
7bf5f2b756
!18049 code self check
...
Merge pull request !18049 from Margaret_wangrui/code_self_check
2021-06-10 14:19:35 +08:00
Margaret_wangrui
e01ad12cdc
code self check
2021-06-10 09:33:27 +08:00
joylvliang
0625168ce8
clear_pclint
2021-06-09 14:15:54 +08:00
mindspore-ci-bot
8cd5eb68b3
!17887 clean cxx warning
...
From: @lianliguang
Reviewed-by: @zh_qh
Signed-off-by: @zh_qh
2021-06-08 14:27:21 +08:00
lianliguang
8a9b388ac3
clean CXX warning
2021-06-08 10:55:28 +08:00
lilei
7a59167f21
modify code check for Master
2021-06-07 19:01:36 +08:00
mindspore-ci-bot
aa2093fb7d
!17173 Add frontend compile cache
...
From: @ginfung
Reviewed-by: @hwhewei,@zh_qh
Signed-off-by: @zh_qh
2021-05-31 10:26:16 +08:00
mindspore-ci-bot
04341b1dbc
!17076 fix log error for pynative mode
...
From: @chujinjin
Reviewed-by: @zhoufeng54,@kisnwang
Signed-off-by: @kisnwang
2021-05-31 09:22:29 +08:00
yujianfeng
7cea682c7d
Add func_graph caching after validate action
2021-05-30 13:00:35 +08:00
mindspore-ci-bot
14e02438fb
!17074 clean pclint
...
From: @fangzehua
Reviewed-by: @wuxuejian,@oacjiewen
Signed-off-by: @wuxuejian
2021-05-29 18:26:43 +08:00
chujinjin
7fb3b5ea97
fix log error
2021-05-27 17:19:10 +08:00
fangzehua
7607235c4d
clean pclint
2021-05-27 10:23:46 +08:00
lvliang
0d5d4935d4
fix_codes_clean_and_pclint
2021-05-27 09:21:07 +08:00
tanghuikang
9ccbb87918
bporp
2021-05-19 19:58:59 +08:00
lianliguang
5849706968
clean pclint warning
2021-04-22 20:23:21 +08:00
lianliguang
4d7b7649e9
remove the useless PrimType
2021-04-20 10:16:36 +08:00
zhangzhaoju
a1db9c4959
Pybind11::object && PrimitivePy recycle optimize
2021-04-16 18:32:55 +08:00
fangzehua
742aa799b0
fix codedex and bot
2021-04-09 15:01:11 +08:00
LianLiguang
9b94b6f8ed
fix codex && reviewbot
2021-03-31 12:38:20 +08:00
dayschan
11ee3b1624
add context graph_kernel_flags
...
used the flag "opt_level" to control GraphKernel,
0 means disabled while non-zero value means enabled.
the default value is controlled by context "enable_graph_kernel",
but if it's also set in "graph_kernel_flags", then the flag will prevail.
supported the whitelist and blacklist operators for GraphKernelExpander.
"enable_expand_ops", "enable_expand_ops_only", "disable_expand_ops".
2021-03-24 11:08:26 +08:00
buxue
2551f5ea7e
support name or attribute ast.Expr
2021-03-11 21:40:33 +08:00
chuck
89eed7aa27
add compile option H to visible hidden interface
2021-03-04 22:52:48 +08:00
mindspore-ci-bot
c529cfa427
!12754 auto tune step one construct json
...
From: @liubuyu
Reviewed-by:
Signed-off-by:
2021-03-04 10:29:53 +08:00
mindspore-ci-bot
7ff2b3b499
!12781 fix bug of amp bn cast
...
From: @jojobugfree
Reviewed-by:
Signed-off-by:
2021-03-04 10:14:51 +08:00
liubuyu
2d97244741
auto tune stage one: construct json
2021-03-03 10:59:01 +08:00
caifubi
a6959c2a13
fix bn cast bug
2021-03-02 17:24:47 +08:00
yangzhenzhang
a70d616841
mini step grad accumulation
2021-03-01 10:20:12 +08:00
yujianfeng
f0b7c3dd4d
Add a switch to control grad for scalar
2021-02-27 18:12:37 +08:00
luopengting
bd7e5e9d37
check ENABLE_DUMP_IR if user set env_config_path
...
If the ENABLE_DUMP_IR is off, the program will raise ValueError to
remind user to turn on ENABLE_DUMP_IR.
2021-02-09 11:06:11 +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
wangnan39@huawei.com
2f79905f60
convert attr from str to enum
2021-02-07 17:03:17 +08:00
mindspore-ci-bot
d638a92946
!11892 remove unnecessary profiling_output_path parameter for set_context
...
From: @yanghaitao1
Reviewed-by: @yelihua
Signed-off-by:
2021-02-04 08:56:55 +08:00
lilei
63eb3ed2d9
modify Tensor shape
2021-02-02 18:00:57 +08:00
yanghaitao1
eefb4295ba
remove profiling output path from context
2021-02-02 17:42:32 +08:00
luopengting
4683ecc06b
support env_config_path to set the config file for DFX
...
1. add env_config_path for ms_context
2. add EnvConfigParser to parse config
3. add in CMakeLists
4. clang-format, cpplint
5. fix spelling in ms_context
Use EnvConfigParser in the constructed function of base_recorder,
when a recorder is initialized, its direcctory will be set as the
value from config file. In addition, recorder_manager will get the
'enable' from config file. If 'enable' is true and the path is not a
valid value, it will be the default value: './rdr'.
2021-01-28 15:10:23 +08:00
buxue
2ea8b9e738
add dict for isinstance
2021-01-21 17:30:35 +08:00
mindspore-ci-bot
55594db01c
!11348 add check for outermost net inputs type and support isinstance first arg is an empty list
...
From: @zhangbuxue
Reviewed-by:
Signed-off-by:
2021-01-20 19:00:08 +08:00
mindspore-ci-bot
d8323b5d51
!11342 Support device memeory profiling
...
From: @yanghaitao1
Reviewed-by: @wangyue01,@lilongfei15
Signed-off-by: @lilongfei15
2021-01-20 16:18:42 +08:00
mindspore-ci-bot
2ea8527de3
!11314 add cache embedding for wide&deep model
...
From: @fangzehua
Reviewed-by:
Signed-off-by:
2021-01-20 15:33:27 +08:00
buxue
e8cd572bc2
add check for outermost net inputs type and support isinstance first arg an empty list
2021-01-20 14:48:06 +08:00
mindspore-ci-bot
a58413479e
!11430 add del_attr function
...
From: @changzherui
Reviewed-by: @kingxian,@zh_qh
Signed-off-by: @kingxian
2021-01-20 14:45:45 +08:00
fangzehua
f97e19f23f
add cache pass
2021-01-20 11:51:27 +08:00
yuchaojie
1932d87a26
update some op's attr name
2021-01-20 09:16:43 +08:00
changzherui
2795273753
add del_attr funciton
2021-01-20 00:38:55 +08:00
yanghaitao1
8d147deb07
profiler memory
2021-01-19 10:21:43 +08:00
mindspore-ci-bot
eacc8bac89
!10755 [Numpy-Native] Add new numpy-native interfaces to mindspore.numpy
...
From: @yanglf1121
Reviewed-by:
Signed-off-by:
2021-01-15 10:04:17 +08:00
yanglf1121
72903c11c8
add array_ops, math_ops and tensor ops
2021-01-14 15:32:36 +08:00
tanghuikang
b1ce9fed1e
Release GIL lock when SyncAsNumpy and run bprop graph in PyNative mod.
2021-01-13 09:47:13 +08:00
ling
83df854f59
pybind fix
2021-01-07 11:13:14 +08:00
ling
8a78b1f362
[MSLITE] arithmetic optimize
2021-01-06 17:58:26 +08:00