i-robot
4b089a9661
!19466 Fix some scope error
Merge pull request !19466 from huanghui/fix-clone-same-scope
4 years ago
xulei
78b37afc30
fix mindspore mac compile
fix debugger, mindarmour, audio, gnn, grpc, ps/fl.
4 years ago
i-robot
414be2011f
!26827 Remove the hash proto of compilation cache
Merge pull request !26827 from YuJianfeng/compile_cache
4 years ago
yujianfeng
8bad0f581c
Remove the hash proto of compilation cache
4 years ago
huanghui
c4d61629b5
fix wrong scope and debug info
4 years ago
jiangshuqiang
c9a0edd24e
add jit config param for compile and fix summary graph
4 years ago
i-robot
3d0f9d8aae
!26683 Enable compile cache feature to load hyper parameter data from python
Merge pull request !26683 from LiangZhibo/mindir
4 years ago
l00591931
21df240f23
Enable mindir to load initialize weight from python
4 years ago
He Wei
41dcac9c49
Replace std::unordered_map/set with robin-hood-hashing
Robin-hood-hashing (https://github.com/martinus/robin-hood-hashing )
is considered faster then std::unordered_map/set,
so we use it to improve mindspore performance.
1. robin_hood head file in `third_party/robin_hood/include`;
2. In `utils/hash_map.h` and `utils/hash_set.h`, we define:
- mindspore::HashMap as an alias of robin_hood::unordered_map;
- mindspore::HashSet as an alias of robin_hood::unordered_set;
3. Replace:
- `#include <unordered_map>` --> `#include "utils/hash_map.h"`;
- `#include <unordered_set>` --> `#include "utils/hash_set.h"`;
- `std::unordered_map` --> `mindspore::HashMap`;
- `std::unordered_set` --> `mindspore::HashSet`;
- `map.insert(std::pair(key, value))` --> `map.emplace(key, value)`;
- `[] (const std::pair<K, V> &p) {..} ` --> `[] (const auto &p) {..} `;
4. Fix issues found by switch to robin_hood:
- AnfNodeConfig hash and equal;
- Fix a bug in `Slice::operator==()`;
- Fix a bug in `CNode::HasPrimalAttr()`;
- Fix map.erase() usage bugs: `map.erase(iter++)` --> `iter = map.erase(iter)`;
- Fix some iterator invalidated problem;
5. Some std::unordered_map/set can not replace by robin_hood:
- As parameter of functions that exposed to python by pybind11;
- Use bad hash that cause robin_hood::map over_flow, such as AbstractBasePtrListHasher;
6. Update cpp unit tests;
7. Add build option '-F' to enable robin_hood, default on.
4 years ago
yujianfeng
f2bd7de442
Add automatic detection for the changes of python scripts when enable compile cache
4 years ago
i-robot
3269c9b881
!26335 Support MindSpore on MacOS
Merge pull request !26335 from xulei/ms_mac_compile_br
4 years ago
i-robot
ce00ee1ad1
!25367 use acl api to control profiling
Merge pull request !25367 from yanghaitao/yht_condation_start_profiler
4 years ago
i-robot
23da0717bc
!26187 Support CSRTensor
Merge pull request !26187 from 杨林枫/csr_frontend
4 years ago
xiefangqi
24ac2382ff
mac compile
4 years ago
yanghaitao1
c94aa6b872
use profiler acl api instead
4 years ago
i-robot
619f9c4eab
!26341 fix profiling parallel strategy can not get data in SaveCompileGraph phase
Merge pull request !26341 from ougongchang/fix_strategy
4 years ago
yanglf1121
72db8e4d3f
support sparse tensor frontend
4 years ago
ougongchang
a748d2c8af
fix profiling parallel strategy can not get data in SaveCompileGraph phase
4 years ago
i-robot
bc468b92f4
!26060 RDR supports exporting data in normal end scenario
Merge pull request !26060 from liangyongxiong/master
4 years ago
liangyongxiong
94aee10d06
RDR supports exporting data in normal end scenario
4 years ago
i-robot
309defceec
!26031 [MS][DFX] Reporting mindspore running status.
Merge pull request !26031 from louie5/master
4 years ago
louie5
a6d991bbe1
reporting ME-Compiler status by GLOG
4 years ago
i-robot
5869e02fa1
!26135 Enable tuple input of optimizer as variable
Merge pull request !26135 from LiangZhibo/broaden3
4 years ago
i-robot
6c587dc2d3
!25391 Support to profiling parallel strategy
Merge pull request !25391 from ougongchang/profiling_stategy
4 years ago
ZPaC
87057fdc27
Dynamic load ompi and nccl
4 years ago
ougongchang
9229f1c1ff
profiler support to collect parallel strategy info
If SetNodeOutputType functions forcibly splits into multiple functions, the readability decreases, so it blocks lizard scans
4 years ago
l00591931
9353bd10a4
Enable tuple as variable in optimizer
4 years ago
i-robot
171ac3bdd5
!26035 Create MindIRLoader and fix mindir load empty attribute lose problem
Merge pull request !26035 from LiangZhibo/master
4 years ago
l00591931
9e3da312e7
refactor load mindir
4 years ago
hwjiaorui
d6b2a34a69
MindRT Ascend Devcie Context
4 years ago
Zhang Qinghua
46fe2d92f0
[Fallback] Not add the node of function type into local dict.
4 years ago
Zhang Qinghua
e8b421fe6e
Enable JIT Fallback in default.
4 years ago
zhangzhaoju
2cbf345a31
Optimize the cache clear for graph mode
4 years ago
i-robot
6250998108
!24656 Support None argument for the outermost net
Merge pull request !24656 from huanghui/support-none-arg
4 years ago
yujianfeng
d384db6c01
Continue execution when saving and loading mindir failed
4 years ago
huanghui
1af32f74f9
support None argument for the outermost net
4 years ago
i-robot
3a56082622
!23947 Fix online debugger terminates return 1 issue
Merge pull request !23947 from TinaMengtingZhang/fix_online_dbg_terminate_1
4 years ago
i-robot
bbc7ab61b0
!23866 fix the process not exit in the only mindData send data sence
Merge pull request !23866 from limingqi107/bug_fix
4 years ago
TinaMengtingZhang
dbed33a2ad
Fix online debugger terminate with 1 issue: I3YAPB
4 years ago
limingqi107
a72fff2294
fix the process not exit in the only mindData send data sence
4 years ago
i-robot
9309a11999
!23352 [Fallback] Handle interpreted node as input, set function Parameters and update local params if need.
Merge pull request !23352 from 张清华/opt_fallback
4 years ago
Zhang Qinghua
9fbd118319
Handle interpreted node as input, set function Parameters and update local params if need.
4 years ago
huanghui
80416a71e0
fix warnings of pclint plus, codedex and codecheck
4 years ago
yujianfeng
6e04468900
Clean code for compiler
4 years ago
huanghui
2af0622aa6
fix security build error
4 years ago
i-robot
6f09891501
!22092 [executor] Add mem scheduler
Merge pull request !22092 from kisnwang/add-mem-extend-cache
4 years ago
kswang
a0dc465041
add mem scheduler
4 years ago
huanghui
ba66c0d491
add security isolate for save_graphs
4 years ago
i-robot
fbfb42a062
!22779 optimization of hccl error log
Merge pull request !22779 from zhoufeng/error-check
4 years ago
i-robot
d7388b40ab
!23295 add dump and profiling warning log when task is not sink
Merge pull request !23295 from baihuawei/fixlog
4 years ago