i-robot
4b089a9661
!19466 Fix some scope error
Merge pull request !19466 from huanghui/fix-clone-same-scope
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
51dbbda8f2
!26935 [Auto parallel] Recover 'auto_parallel_search_mode' in parallel_context
Merge pull request !26935 from Xiaoda/115-adapting-interface-of-search-mode
4 years ago
i-robot
e195131342
!26891 move key world 'trace' to interface DumpSourceLines
Merge pull request !26891 from liubuyu/SBB
4 years ago
lby
618d4b7dfe
move key 'trace' to interface DumpSourceLines
4 years ago
Xiaoda Zhang
04db51a528
In a previous PR ( https://gitee.com/mindspore/mindspore/pulls/26807/ ), we replaced 'auto_parallel_search_mode' by 'search_mode' directly.
However, to be forward compatitable, it is suitable to keep 'auto_parallel_search_mode' available. This PR recovers the 'auto_parallel_search_mode' interface and adds a warning when using this old interface.
This PR also deals with other codestyle things.
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
i-robot
6f95837c0e
!26825 [Fallback] supports the use of attr/method on the interpreted nodes
Merge pull request !26825 from huangbingjian/support_numpy_method
4 years ago
jiangshuqiang
c9a0edd24e
add jit config param for compile and fix summary graph
4 years ago
i-robot
d1e4e674ab
!26690 Add supoort resolving outer lambda function for ops.Partial.
Merge pull request !26690 from hezhenhao1/add_lambda
4 years ago
huangbingjian
cf4a4ba900
Partially support numpy attr/method
4 years ago
hezhenhao1
4af312d17e
Add supoort resolving outer lambda function for ops.Partial.
4 years ago
i-robot
04132e0c50
!26766 fix error log and move some function to inner
Merge pull request !26766 from lianliguang/master
4 years ago
i-robot
9f8ec2c5ab
!26807 [Auto parallel] [Sharding propagation] Interface change of sharding propagation
Merge pull request !26807 from Xiaoda/113-auto-parallel-search-mode-changes-to-search-mode
4 years ago
lianliguang
5864d6a006
modify some eroor log
4 years ago
Margaret_wangrui
922678edef
Revert "Add the check of function return None."
This reverts commit f9a384456a .
4 years ago
Xiaoda Zhang
ad5ac77ae8
1) 'auto_parallel_search_mode' changes to 'search_mode';
2) 'sharding_propagation' moves to 'search_mode';
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
dfd71f668b
!26556 modify parallel api note for master
Merge pull request !26556 from lilei/modify_parallel_API_note
4 years ago
i-robot
d251800c62
!26705 Add the check of function return None.
Merge pull request !26705 from Margaret_wangrui/return_none
4 years ago
lilei
f8827a09fb
modify parallel API note for master
4 years ago
Margaret_wangrui
f9a384456a
Add the check of function return None.
4 years ago
i-robot
b472850a75
!26594 Replace std::unordered_map/set with robin-hood-hashing
Merge pull request !26594 from hewei/use_robin_hood
4 years ago
i-robot
519f14a909
!26006 slice recompute activation
Merge pull request !26006 from yao_yf/add_transformer_slice_activation_config
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
9a5fd32bd2
!26280 fix mindir export's error when using _encrypt
Merge pull request !26280 from lianliguang/master
4 years ago
i-robot
20be757f18
!26430 replace short-circuit eval with deferred evaluation of backward prop function.
Merge pull request !26430 from xychow/replace-shortcurit-eval-with-lazy-eval
4 years ago
yujianfeng
f2bd7de442
Add automatic detection for the changes of python scripts when enable compile cache
4 years ago
zhousiyi
3d8435ad45
Replace shortcircuit eval with deferred GetResult from AsyncAbstract when use
4 years ago
lianliguang
a6e5dcfb22
if parameter total larger than 1T split to another file
4 years ago
i-robot
1b7a38ccd8
!26329 Add exchangeKeys ops and getKeys ops for cross-silo STABLE_PW_ENCRYPT
Merge pull request !26329 from jxlang910/master
4 years ago
i-robot
3269c9b881
!26335 Support MindSpore on MacOS
Merge pull request !26335 from xulei/ms_mac_compile_br
4 years ago
yao_yf
188d39da83
slice_activation_in_recompute
slice recompute activation
4 years ago
jin-xiulang
f972de90d0
Add exchangeKeys ops and getKeys ops for STABLE_PW_ENCRYPT
fix review syggestions
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
7b25fa6b4b
!26448 codex
Merge pull request !26448 from lanzhineng/infer
4 years ago
i-robot
b077746d2b
!26377 Fix branch caller update issue in auto-monad
Merge pull request !26377 from hewei/fix_auto_monad
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
lanzhineng
48feee35cf
codex
4 years ago
He Wei
4544628089
Fix branch caller update issue in auto-monad
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