Commit Graph

24 Commits

Author SHA1 Message Date
zhoufeng b7bb53ff73 build libmindspore_backend.so
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
2022-03-17 19:14:45 +08:00
zhoufeng f49b195c39 extract common as an independent shared library
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
2022-02-26 10:55:51 +08:00
fangzehua ac11ceeee4 change omp to ms threadpool 2022-01-11 16:10:11 +08:00
zjun eb450dd31f Optimize pynative device memory use
Add gradient to pynative unique

Signed-off-by: zjun <zhangjun0@huawei.com>
2021-12-08 11:53:40 +08:00
yujianfeng f2bd7de442 Add automatic detection for the changes of python scripts when enable compile cache 2021-11-22 21:27:02 +00:00
dingpeifei 05aa194853 context api 0816 2021-09-10 10:17:17 +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 4e6f7dc97d [feat] [assistant] [I3T96X] add new Dataset operator LibriSpeechDataset 2021-08-22 13:39:37 +08:00
zjun 35aab6144d Fix pynative memory leak
Signed-off-by: zjun <zhangjun0@huawei.com>
2021-08-21 14:02:55 +08:00
chujinjin 34096bf879 add sync control for pynative 2021-08-17 09:04:40 +08:00
zhangzhaoju c7e6ad4f7d Add swtich to controll cache or not cache graph for ad 2021-08-11 16:39:23 +08:00
7347157+joylvliang@user.noreply.gitee.com ab32ebc758 fix_warning_of_codes 2021-07-22 16:50:48 +08:00
yujianfeng 7cea682c7d Add func_graph caching after validate action 2021-05-30 13:00:35 +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
liubuyu 2d97244741 auto tune stage one: construct json 2021-03-03 10:59:01 +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
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
yanghaitao1 8d147deb07 profiler memory 2021-01-19 10:21:43 +08:00
kswang 8a035778b6 add parallel split 2020-12-28 15:45:58 +08:00
fary86 b0f89685b4 Add device specific config check 2020-09-08 17:38:55 +08:00
fary86 d2d8a911ff Fix bug of convert python object 2020-09-04 14:56:24 +08:00
fary86 0a858b3878 Simplify ms_context implementation 2020-09-01 09:40:48 +08:00