i-robot
544b079c1e
!27018 Fix ascend bug for sending wrong current_root_graph_id for each step (online debugger)
Merge pull request !27018 from parastooashtari/online_debug_bug
4 years ago
Parastoo Ashtari
6382ff76d3
fix ascend bug for sending current_root_graph_id
4 years ago
TinaMengtingZhang
40bc5a2f46
Fix fusion op name
4 years ago
i-robot
17fcbaae94
!26808 fix mindspore mac compile
Merge pull request !26808 from xulei/fix_mac_compile_components
4 years ago
i-robot
526750bceb
!26817 Fix map::overflow when save_graphs enabled
Merge pull request !26817 from hewei/use_robin_hood
4 years ago
xulei
78b37afc30
fix mindspore mac compile
fix debugger, mindarmour, audio, gnn, grpc, ps/fl.
4 years ago
i-robot
95813a0b0a
!26866 deal with kernel_graph_#_ prefix in tensor name in overflow wp checking
Merge pull request !26866 from john_tzanakakis/jt_bug_fixes
4 years ago
He Wei
27981a28f2
Fix map::overflow when save_graphs enabled
AnfExporter use a user defined hasher in its param-to-index map,
this will lead robin-hood hash map overflow. We fix this by change
param-to-index map to use a OrderedMap with std::unordered_map inside.
4 years ago
John Tzanakakis
64893bf9eb
deal with kernel_graph_#_ prefix in tensor name in overflow wp checking
4 years ago
Jimmy Qi
2a4a98ce9d
Refactor original kernal name so all output tensors are included in stat
dump
4 years ago
i-robot
ed79ba11af
!26475 Support fused node corresponding code print
Merge pull request !26475 from huanghui/fused-debug-infos
4 years ago
i-robot
b11c6d0591
!26727 log improvement
Merge pull request !26727 from laiyongqiang/adapter
4 years ago
huanghui
767caad833
Support fused node corresponding code print
4 years ago
LaiYongqiang
a42c936df6
log improvement
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
i-robot
a92d97adb2
!25850 Add CANN tensor data callback support for ascend async dump - part2
Merge pull request !25850 from TinaMengtingZhang/cann_api_adapt
4 years ago
Parastoo Ashtari
8f12b496b4
fix GPU dump sink=True issue
4 years ago
TinaMengtingZhang
07b653103e
Support Cann callback api for ascend async dump
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
i-robot
24b3b8fca8
!26597 Collect strategy from cnode
Merge pull request !26597 from ougongchang/fix_collect_strategy
4 years ago
i-robot
e6ad3f42b1
!26524 clean code, fix cyclomatic complexity problems
Merge pull request !26524 from huangbingjian/clean_code_master
4 years ago
ougongchang
139e1744c9
Collect strategy from cnode
4 years ago
Parastoo Ashtari
574ba6930a
add error_no_value error_code
4 years ago
i-robot
3269c9b881
!26335 Support MindSpore on MacOS
Merge pull request !26335 from xulei/ms_mac_compile_br
4 years ago
huangbingjian
e623173965
clean code
4 years ago
i-robot
21ffa1fb7b
!25091 Partial support for multi root graph in online debugger
Merge pull request !25091 from parastooashtari/online_multi_root_graph
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
sabrinasun
e7d7476a8e
fix dynamic shape dump issue and apply comments from cell dump pr
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
sabrinasun
99a434672f
support cell dump when dump_mode=2
4 years ago
Parastoo Ashtari
7f682ba2f6
partial support for multi root graph in online debugger
4 years ago
liangyongxiong
94aee10d06
RDR supports exporting data in normal end scenario
4 years ago
i-robot
2b2194b0f4
!25602 Dump tensor statistics in csv format
Merge pull request !25602 from Jimmy Qi/csvdump
4 years ago
Jimmy Qi
b21c099767
Add option to dump tensor statistics in csv format
4 years ago
lby
ab0efba450
easy using for kernel select log print
4 years ago
i-robot
9916e5844d
!26170 Fix cyclomatic complexity
Merge pull request !26170 from hewei/fix_ccn
4 years ago
i-robot
6c587dc2d3
!25391 Support to profiling parallel strategy
Merge pull request !25391 from ougongchang/profiling_stategy
4 years ago
He Wei
c7910cbd37
Fix cyclomatic complexity
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
yangzhenzhang
8431ba616c
add output strategy for op init
4 years ago
i-robot
302b797747
!26018 Avoid print duplicate error msg while exception.
Merge pull request !26018 from zhangzhaoju/master_dup_log
4 years ago
i-robot
938da844be
!25916 correct log level
Merge pull request !25916 from john_tzanakakis/jt_bug_fixes
4 years ago
i-robot
623f75a947
!25962 Fix issue for graph history in async dump when dataset_sink_mode=true
Merge pull request !25962 from parastooashtari/multi_root_graph_dump
4 years ago
zhangzhaoju
297687d43f
Avoid print duplicate error msg while exception.
4 years ago
yelihua
cfa8c7a0e8
update OWNERS
4 years ago