Commit Graph

34580 Commits

Author SHA1 Message Date
Xiao Tianci a06f4a92c8 add chinese api 2021-11-24 17:17:44 +08:00
songyuanwei 8d212d4812 add loss landscape 2021-11-24 17:10:57 +08:00
liutongtong d3d5439c70 fix comments in metric 2021-11-24 17:05:39 +08:00
i-robot 43fabaeef8 !26668 add api cn
Merge pull request !26668 from yingchen/code_docs_api6
2021-11-24 08:50:51 +00:00
i-robot 289ff6518b !26681 [MS][LITE] fix npu compatibility bugs and strided_slice-transpose decrease bugs
Merge pull request !26681 from XianglongZeng/myms_new
2021-11-24 08:44:58 +00:00
zhangxuetong 9ef0fa84bb support parameter cache and distribution predict 2021-11-24 16:38:46 +08:00
yingchen 6f7a104e7c update api cn 2021-11-24 16:34:48 +08:00
zhaosida 8759ac41ad fix err log 2021-11-24 16:34:29 +08:00
i-robot 6c0547106e !26697 make trace source lines more accurate
Merge pull request !26697 from yuchaojie/ir_fusion
2021-11-24 08:30:17 +00:00
limingqi107 79765ceb7f fix the bug of single thread execution stack overflow 2021-11-24 16:24:04 +08:00
i-robot 1b1401e73d !26577 update dataset chinese comment
Merge pull request !26577 from luoyang/code_docs_chinese
2021-11-24 08:21:16 +00:00
VectorSL 710289a72d add tensor array 2021-11-24 16:12:04 +08:00
i-robot cfc6ea32ff !24714 replace rtmemcpyxx to acl memcpy
Merge pull request !24714 from jjfeing/br_replace_rtmemcpyxx_with_acl_api
2021-11-24 07:47:43 +00:00
i-robot 3e141dd499 !26667 md5 master 1123
Merge pull request !26667 from mindspore_ding/md5_master_1115
2021-11-24 07:36:05 +00:00
Margaret_wangrui f9a384456a Add the check of function return None. 2021-11-24 15:30:35 +08:00
i-robot d461433648 !26723 full quant support skip node
Merge pull request !26723 from yeyunpeng2020/quant_bak2
2021-11-24 07:16:05 +00:00
Xiaoda Zhang 23387e154c using multiple operators to implement the sematic of a large transpose 2021-11-24 15:13:47 +08:00
wenbean 31053edbe4 Use Allocator and workspace pre allocat mem in GPU 2021-11-24 14:47:12 +08:00
i-robot 2cc51099b1 !26718 [ME][Fallback] Add some fallback numpy test cases
Merge pull request !26718 from Margaret_wangrui/fallback
2021-11-24 06:43:13 +00:00
i-robot dfc7d164b8 !25954 Add file storage module
Merge pull request !25954 from zyli2020/ps_cache_feature
2021-11-24 06:32:10 +00:00
i-robot b472850a75 !26594 Replace std::unordered_map/set with robin-hood-hashing
Merge pull request !26594 from hewei/use_robin_hood
2021-11-24 06:30:36 +00:00
i-robot 2785b59b43 !26615 modify api comments for parallel
Merge pull request !26615 from yangzhenzhang/modify-api-comments-for-parallel
2021-11-24 06:23:34 +00:00
zhengyuanhua c0332b4fc7 310 support image size 2021-11-24 14:15:43 +08:00
i-robot 30d182ac18 !26626 fix reduce ops axis multiple bug in GPU
Merge pull request !26626 from zhangbuxue/fix_reduce_ops_axis_multiple_bug_in_GPU
2021-11-24 06:15:10 +00:00
i-robot 519f14a909 !26006 slice recompute activation
Merge pull request !26006 from yao_yf/add_transformer_slice_activation_config
2021-11-24 06:14:28 +00:00
yeyunpeng2020 35e0526b51 full quant support skip node 2021-11-24 14:05:27 +08:00
zengxianglong 229b94e8a7 fix npu compatibility bugs and strided_slice-transpose decrease bugs 2021-11-24 11:45:09 +08:00
i-robot de8b6db07c !26585 add warnings for set_dump API, see I4AUIR for details
Merge pull request !26585 from wenkai/wk1120setdumpwarning1
2021-11-24 03:42:25 +00:00
wangshuide2020 399680a711 optimizes the error description of Transpose and get_broadcast_shape. 2021-11-24 11:35:28 +08:00
l00591931 21df240f23 Enable mindir to load initialize weight from python 2021-11-24 11:33:43 +08:00
yuchaojie c3eea22ab4 make trace source lines more accurate 2021-11-24 11:22:49 +08:00
i-robot 66b9de8e70 !25764 [Dataset] Fix lite cv resize bilinear core dump problem
Merge pull request !25764 from xiefangqi/md_fix_resize_bilinear_fuzz_issue
2021-11-24 03:20:48 +00:00
i-robot 9f29ab20ba !25764 [Dataset] Fix lite cv resize bilinear core dump problem
Merge pull request !25764 from xiefangqi/md_fix_resize_bilinear_fuzz_issue
2021-11-24 03:20:09 +00:00
Margaret_wangrui 16ac3638d3 [ME][Fallback] Add some fallback numpy test cases 2021-11-24 11:20:06 +08:00
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.
2021-11-24 10:47:40 +08:00
lizhenyu a736171895 add file storage module 2021-11-24 10:43:05 +08:00
limingqi107 f016fe0775 unified runtime support the empty kernel graph in control flow 2021-11-24 10:37:22 +08:00
i-robot 354b7d44df !26703 fix converter input shape
Merge pull request !26703 from yeyunpeng2020/converter
2021-11-24 02:33:11 +00:00
i-robot 4deba2a463 !26685 [Numpy-Native] fix searchsorted
Merge pull request !26685 from huangmengxi/fix_numpy
2021-11-24 02:23:04 +00:00
i-robot a17849b669 !26567 fix allreduce notify bug
Merge pull request !26567 from hwjiaorui/fix-stream-label
2021-11-24 02:07:51 +00:00
i-robot 5b4dfee77c !26704 Fix Embedding APi
Merge pull request !26704 from huangxinjing/code_docs_fix_embedding
2021-11-24 01:59:15 +00:00
i-robot 87cbffc456 !26641 Change the parallel strategy data to JSON format
Merge pull request !26641 from ougongchang/trans_json
2021-11-24 01:49:50 +00:00
i-robot 9a5fd32bd2 !26280 fix mindir export's error when using _encrypt
Merge pull request !26280 from lianliguang/master
2021-11-24 01:48:32 +00:00
wzw 86c5ad20c8 parallel_ut_refactoring1 2021-11-24 09:41:52 +08:00
i-robot d996ad5e1e !26642 [MS][LITE][develop] add c api
Merge pull request !26642 from sunsuodong/add_c_api_master
2021-11-24 01:33:22 +00:00
i-robot 3d0b785241 !26680 Decouple GraphKernelCluster from ME backend
Merge pull request !26680 from DeshiChen/1122_cluster
2021-11-24 01:32:50 +00:00
huangxinjing 55efaabe2a Fix api doc error 2021-11-24 09:24:40 +08:00
i-robot 9ce3acff4d !26693 Calibrator support setting symmetry
Merge pull request !26693 from yeyunpeng2020/quant_bak
2021-11-24 01:18:17 +00:00
i-robot 08982f4888 !26648 add more log to locate op compile failed reason
Merge pull request !26648 from liubuyu/SB
2021-11-24 01:15:56 +00:00
i-robot b1d878ca6b !26648 add more log to locate op compile failed reason
Merge pull request !26648 from liubuyu/SB
2021-11-24 01:15:48 +00:00