i-robot
330cacf905
!30573 Catch abnormals from sto functions in debug
Merge pull request !30573 from maning202007/master
4 years ago
maning202007
9328041de4
Catch abnormals from sto functions in debug
Fix type errors
Fix bugs
Fix cycle depth
4 years ago
zhoufeng
f49b195c39
extract common as an independent shared library
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
4 years ago
maning202007
54a69ebd82
Fix DumpParameters issue when only need dump input data
Fix code warnings in debug
Fix code warnings2
4 years ago
i-robot
16f0438713
!30202 Fix input dump error in kernel by kernel mode
Merge pull request !30202 from TinaMengtingZhang/bugfix
4 years ago
TinaMengtingZhang
ab5aba46ff
fix input parameter dump error
4 years ago
maning202007
6a87443340
Fix the debugger warning on cpu
4 years ago
Parastoo Ashtari
6d5c80fb56
fix dump structure for multi graph in ascend mindRT
4 years ago
marui
d47e79b04c
Refactor ccsrc directories and CMakeLists files
4 years ago
i-robot
fe74be4830
!29701 Support dump parameters using origin_parameter_order, fix DumpConstantData issue and refactor debugger mindRT code
Merge pull request !29701 from parastooashtari/kernel_level_dump
4 years ago
Parastoo Ashtari
f6bebc7d97
use origin_parameter_order to load and dump params mindRT
Refactor mindRT code
Fix DumpConstantData issue
4 years ago
TinaMengtingZhang
6a00f9797a
sync up codex warning fix for dump and debugger to open source branch
4 years ago
Parastoo Ashtari
5c8d48d809
use launch_info to load input and outputs mindRT
4 years ago
Parastoo Ashtari
c6f5fb06f2
add comments for dump and debugger code.
4 years ago
TinaMengtingZhang
16bb7407a2
Delete dead code in debugger & dump.
4 years ago
Parastoo Ashtari
8d96ee8b46
Move DumpConstantData to DebugOnStepEnd for ascend MindRT and add check for kGraphOpRun
4 years ago
i-robot
05cd3ca997
!28671 Move e2e dump to super kernel Ascend MindRT
Merge pull request !28671 from parastooashtari/ascend_mindrt
4 years ago
Parastoo Ashtari
28c88a6b2d
move e2e dump to superkernel for mindRT
4 years ago
i-robot
f7b9b71ef4
!28616 Update the rank_id issue for Ascend
Merge pull request !28616 from maning202007/master
4 years ago
maning202007
c7633672f1
Update the rank_id issue for Ascend
4 years ago
TinaMengtingZhang
416797f5fa
change async file pool type to set
fix convert twice
4 years ago
maning202007
a88926b6d9
Add gil for offline debugger
4 years ago
maning202007
50ba04aaa7
Add gil_scoped_release for checkwatchpoints
4 years ago
parastooashtari
5a25d3e6c0
fix async dump sink true issue
4 years ago
lby
e6857a6553
using cube to get c0 value
4 years ago
i-robot
6f6977a73b
!27941 Ascend kernel level dump
Merge pull request !27941 from parastooashtari/kernel_level_dump
4 years ago
Parastoo Ashtari
b832e218c3
kernel by kernel dump
4 years ago
sabrinasun
3f5416a556
fix constant dump bug and fix ci warning
4 years ago
Parastoo Ashtari
70ed1d5d54
fix online debugger multigraph issue
4 years ago
i-robot
ec90e501dc
!27839 Save non-tensor value in pb
Merge pull request !27839 from sabrinasun_59ee/fix
4 years ago
sabrinasun
2bd107731f
save non-tensor value in pb
4 years ago
i-robot
5087d2e985
!27446 Use super kernel actor to load data for dump (Ascend)
Merge pull request !27446 from parastooashtari/super_kernel
4 years ago
i-robot
8d648e0f1e
!19673 Seperate constant from pb file
Merge pull request !19673 from sabrinasun_59ee/constant
4 years ago
Parastoo Ashtari
0f41e3ae68
use super kernel to load data for ascend dump
4 years ago
Jimmy Qi
c3ab951fa9
Parallelize calculating tensor statistics
4 years ago
sabrinasun
542d715217
seperate constant from pb
4 years ago
Parastoo Ashtari
26a928a888
fix sink true history file bug
4 years ago
Parastoo Ashtari
76f074b77e
Debugger support ascend mindrt
4 years ago
He Wei
4f04757e16
Fix some typo issues
1. Sequeue --> Sequence
2. Interger --> Integer
4 years ago
Parastoo Ashtari
056d61a947
fix unchanged watchpoint condition bug
4 years ago
Parastoo Ashtari
9c036d1229
Fix GPU sink_mode True and Dump multi graph ERROR issue
4 years ago
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
Jimmy Qi
2a4a98ce9d
Refactor original kernal name so all output tensors are included in stat
dump
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
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
Parastoo Ashtari
574ba6930a
add error_no_value error_code
4 years ago