limingqi107
312b26080b
unified runtime fix execution timeout and no data source actor of control flow
4 years ago
i-robot
890a5dbae1
!26734 fix the bug of single thread execution stack overflow
Merge pull request !26734 from limingqi107/bug_fix
4 years ago
i-robot
87b02a8bf4
!26712 unified runtime support the empty kernel graph in control flow
Merge pull request !26712 from limingqi107/new_actor_runtime
4 years ago
limingqi107
79765ceb7f
fix the bug of single thread execution stack overflow
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
limingqi107
f016fe0775
unified runtime support the empty kernel graph in control flow
4 years ago
limingqi107
a7f761c215
unified runtime support the control flow of subgraph sink
4 years ago
gaoyong10
add5551ecf
fix code for testcase
4 years ago
i-robot
390b3c2efa
!26212 Control flow support untail call.
Merge pull request !26212 from gaoyong10/runtime_second8
4 years ago
gaoyong10
f7e3eef63d
control flow support untail call
4 years ago
i-robot
0cf592db7a
!26040 unified runtime support single thread execution and optimize execution performance by cost mode
Merge pull request !26040 from limingqi107/new_actor_runtime
4 years ago
limingqi107
52a182448e
unified runtime support single thread execution and optimize execution performance by cost mode
4 years ago
gaoyong10
b14df4644f
Fix output actor for control flow.
4 years ago
i-robot
4eef5e5c13
!26045 Delete useless interface in control node parser.
Merge pull request !26045 from gaoyong10/runtime_second8
4 years ago
gaoyong10
b5a9588d10
delete useless interface in control node parser
4 years ago
dayschan
cbb84ff580
Move IsRealKernel and IsRealCNodeKernel from AnfAlgo to AnfUtils
the function IsOneOfPrimitive and IsOneOfPrimitiveCNode is useful,
we can move them into anf.cc
4 years ago
limingqi107
46d4a900c0
unified runtime support the auto monad in the subgraphs connecting scene
4 years ago
i-robot
02aa2838ed
!25803 unified runtime delete result arrow
Merge pull request !25803 from limingqi107/new_actor_runtime
4 years ago
gaoyong10
e77a735b6f
Add base class for control actor.
4 years ago
limingqi107
1ba78fcbd6
unified runtime delete result arrow
4 years ago
i-robot
37199b282e
!25323 Get output nodes by control node.
Merge pull request !25323 from gaoyong10/for_d_controlflow
4 years ago
gaoyong10
83ee99b07d
Get output nodes by control node.
4 years ago
i-robot
3bc883b99b
!25472 fix the coredump probability of pyNative free memory
Merge pull request !25472 from limingqi107/new_actor_runtime
4 years ago
limingqi107
e5ec0236b7
fix the coredump probability of pyNative free memory
4 years ago
lizhenyu
631648f1da
[bugfix] segmentation fault occur when memory is not enough
4 years ago
i-robot
5ac28f4679
!25156 unified runtime support the sub graph sink
Merge pull request !25156 from limingqi107/new_actor_runtime2
4 years ago
limingqi107
2fe803f81d
unified runtime support skip nop node
4 years ago
limingqi107
2a5d9f964b
unified runtime support the sub graph sink
4 years ago
limingqi107
2985c6bccb
codedex fix
4 years ago
limingqi107
19330b6f82
unified runtime support graph sink output update
4 years ago
limingqi107
a1ef8140a2
unified runtime optimize actor dump
4 years ago
i-robot
3b3b393197
!24551 unified runtime code optimize of Run and SendOutput
Merge pull request !24551 from limingqi107/new_actor_runtime
4 years ago
limingqi107
ef29b33fa4
unified runtime code optimize of Run and SendOutput
4 years ago
i-robot
a73befd070
!20841 [MS][LITE]implement shared thread policy with hqueue in mindrt
Merge pull request !20841 from zhaizhiqiang/master
4 years ago
zhaizhiqiang
7b4c4ee77c
optimize mindrt, support blocking/nonblocking/hqueue mailbox
4 years ago
limingqi107
8179e007a9
optimize the OMP thread compute and actor run error info
4 years ago
limingqi107
0e30316f53
unified runtime support the scheduler of graph sink
4 years ago
i-robot
3f81a92ed4
!23970 Add control flow actor.
Merge pull request !23970 from gaoyong10/runtime_second
4 years ago
gaoyong10
991679540c
Add control flow actor.
4 years ago
limingqi107
36ffff434e
unified runtime code review
4 years ago
limingqi107
35e959508b
data prepare actor support debug
4 years ago
i-robot
502615123a
!23611 fix bug of actor DAG has no kernel actor
Merge pull request !23611 from limingqi107/bug_fix
4 years ago
limingqi107
f055e6aeb9
fix bug of actor DAG has no kernel actor
4 years ago
sabrinasun
1b8b453373
add remain isolation for dump
4 years ago
limingqi107
859aa42b41
unified runtime add data prepare actor and optimize code
4 years ago
yuchaojie
da4f6c51dc
code check clean
4 years ago
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
4 years ago
djc
b077aa1cab
[feat] [assistant] [I3T96T] add new Dataset operator CMUARCTICDataset
4 years ago
djc
4e6f7dc97d
[feat] [assistant] [I3T96X] add new Dataset operator LibriSpeechDataset
4 years ago
huanghui
1630dcb0c8
add subdirectory for log and ir_dump
4 years ago