Commit Graph

147 Commits

Author SHA1 Message Date
ZPaC e82f911854 Fix hybrid training with pairwise encrypt 2021-08-02 15:34:09 +08:00
huanghui fd56922cf9 fix codex warning 0729 2021-07-29 19:13:08 +08:00
i-robot f44a92c4b3 !20504 Fix warning of codes
Merge pull request !20504 from JoyLvliang/fix_warning_of_codes
2021-07-23 06:46:21 +00:00
i-robot e8448f972b !20725 Support the tensor of string dtype.
Merge pull request !20725 from 张清华/opt
2021-07-23 02:12:48 +00:00
Zhang Qinghua f91c697efc Support the tensor of string dtype. 2021-07-22 19:05:37 +08:00
7347157+joylvliang@user.noreply.gitee.com ab32ebc758 fix_warning_of_codes 2021-07-22 16:50:48 +08:00
l00591931 d2a44c02da Code fix 2021-07-20 09:32:55 +08:00
lizhenyu 2c9758adda [bugfix]GPU occur oom when cache all output tensor of graph 2021-07-15 16:46:57 +08:00
lizhenyu c50606ef26 Refine unify runtime context 2021-07-10 19:02:42 +08:00
i-robot 7b6b0e2a39 !18147 same primitive compile muti-time, attribute not sync to the correct version
Merge pull request !18147 from zhangzhaoju/master_quant_export
2021-06-18 13:30:35 +00:00
i-robot 674f8101db !18110 secure check
Merge pull request !18110 from zhangzhaoju/ms_master_sec_review
2021-06-15 19:55:38 +08:00
zhangzhaoju 714cab8ccd fix issue:I3UWI3
step1:primitive A compile first time
step2:python change attribute of primitive A [not sync change to prim adapter]
step3:primitive A compile second time[compile depend on prim adapter, result
wrang]
2021-06-10 15:47:37 +08:00
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
zhangzhaoju 5dd9363ccc secure review 2021-06-10 11:03:55 +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