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
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
sunsuodong
1615edc359
add c api
2021-11-23 05:11:45 -08:00
i-robot
77bf581af5
!26652 [MS][LITE]Fix glog
...
Merge pull request !26652 from gongdaguo/fix_glog
2021-11-23 12:01:25 +00:00
dingpeifei
407aa9a06f
md5 master 1123
2021-11-23 14:22:39 +08:00
i-robot
3269c9b881
!26335 Support MindSpore on MacOS
...
Merge pull request !26335 from xulei/ms_mac_compile_br
2021-11-19 09:49:32 +00:00
i-robot
d34b6d5ef1
!26323 md5 open source 1115 master
...
Merge pull request !26323 from mindspore_ding/md5_master_1115
2021-11-18 14:54:03 +00:00
gongdaguo
a7461c2156
fix glog
2021-11-18 20:03:06 +08:00
xiefangqi
24ac2382ff
mac compile
2021-11-18 14:20:08 +08:00
ZPaC
981c3b2c93
Fix master nccl and ompi md5
2021-11-17 10:06:28 +08:00
i-robot
7a19008f3b
!26227 update md5 value of openssl
...
Merge pull request !26227 from emmmmtang/master
2021-11-16 16:32:50 +00:00
i-robot
36bafb3654
!26241 Modifying the MD5 Value in the Third-Party Database
...
Merge pull request !26241 from 刘勇琪/master
2021-11-16 07:31:34 +00:00
shenwei41
69aa335c73
change file md5
2021-11-16 10:16:23 +08:00
dingpeifei
332dc8cfd6
md5sum open source master 1115
2021-11-15 21:12:45 +08:00
zhanghaibo5
b1a9f47c27
updata md5sum of flatbuffers, opencl, and cmsis when down load from gitte
2021-11-15 19:16:11 +08:00
jonyguo
dc1d0a3b51
disable opencv CV_TRACE which cause memory usage increacing
2021-11-13 09:40:44 +08:00
emmmmtang
f66628799b
update md5 value of openssl
2021-11-12 18:46:25 +08:00
i-robot
48c7b73fd1
!26098 Remove explainer code
...
Merge pull request !26098 from TonyNG/remove_explainer
2021-11-12 08:33:11 +00:00
ZPaC
87057fdc27
Dynamic load ompi and nccl
2021-11-11 21:05:50 +08:00
unknown
5903471b47
remove explainer
2021-11-11 15:27:40 +08:00
i-robot
8c89f9e312
!26071 fix naming while building windows packages
...
Merge pull request !26071 from yanghaoran/master
2021-11-11 02:09:27 +00:00
i-robot
411d3bb015
!25894 Fix windows python3.9 compile
...
Merge pull request !25894 from zhoufeng/find-python-path
2021-11-10 06:30:37 +00:00
yanghaoran
8ffd9a0540
fix naming while building windows packages
2021-11-09 20:45:01 +08:00
zhoufeng
1e86ddaabb
fix windows find python path
...
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
2021-11-09 14:32:42 +08:00
yanghaoran
17ce1f5004
add nightly/weekly dev version number
2021-11-06 16:56:44 +08:00
ougongchang
eab40f7143
Set the version number to opensource thirdparty software filename
2021-11-02 20:13:56 +08:00
liqiliang
dd829f53f9
Add BFGS, line_search and block_diag algorithms in scipy.
2021-11-01 16:06:41 +08:00
i-robot
4951fb877c
!25428 Patch CVE-2021-3711 and CVE-2021-3712 for openssl
...
Merge pull request !25428 from liuluobin/master_patch_openssl
2021-10-30 06:56:21 +00:00
i-robot
e2f7173b49
!25484 fix waring
...
Merge pull request !25484 from shenwei41/master
2021-10-30 06:16:25 +00:00
liuluobin
546f90ca6d
Patch CVE-2021-3711 and CVE-2021-3712 for openssl
2021-10-28 20:33:23 +08:00
ZPaC
7919f9bf10
Fix nccl md5sum
2021-10-28 19:13:38 +08:00
shenwei41
36db325b9d
fix waring
2021-10-28 10:18:10 +08:00
xuxusheng
7a9a4d0515
delete mindquantum simulator
2021-10-27 18:35:35 +08:00
ling
ca8b2c0bf2
[MSLITE] enable runtime convert
2021-10-25 14:30:50 +08:00
i-robot
c17556d261
!25218 Fix the openSSL version number in cmake
...
Merge pull request !25218 from liuluobin/fix_master
2021-10-22 02:03:16 +00:00
shenwei41
d575f13dc5
update libtiff version
2021-10-21 10:10:17 +08:00
liuluobin
577d7350a7
Fix the OpenSSL version number in cmake
2021-10-21 09:50:39 +08:00
i-robot
faac20e4c8
!24928 [MSLITE] runtime use glog
...
Merge pull request !24928 from ling/pr
2021-10-19 12:00:43 +00:00
ling
0592c6983d
[MSLITE] runtime convert
2021-10-19 16:16:09 +08:00
i-robot
d8363eff1b
!24924 modify ckpt bug and clean code
...
Merge pull request !24924 from changzherui/mod_ckpt_and_clean_code
2021-10-19 01:57:11 +00:00
i-robot
8cf1079747
!24939 update projectq md5
...
Merge pull request !24939 from donghufeng/master
2021-10-18 08:56:55 +00:00
changzherui
ca54d37e59
modify ckpt bug and clean code
2021-10-18 16:24:24 +08:00
i-robot
efef1395a8
!24959 md5 master 1015
...
Merge pull request !24959 from mindspore_ding/md5_master_1015
2021-10-15 09:24:51 +00:00
i-robot
ffb719aad6
!24943 change gitee md5 value
...
Merge pull request !24943 from shenwei41/master
2021-10-15 08:53:08 +00:00
dingpeifei
d78cfb781e
md5 master 1015
2021-10-15 11:34:42 +08:00
jin-xiulang
68f6419f74
Fix md5 check error of OpenSSL
2021-10-15 10:30:53 +08:00
shenwei41
95e487b9fb
change gitee md5
2021-10-15 10:29:10 +08:00
xuxusheng
55ba64855e
update projectq md5
2021-10-15 10:04:10 +08:00
i-robot
e9def18473
!24667 code adapter modify
...
Merge pull request !24667 from zhengyuanhua/master
2021-10-12 06:11:28 +00:00
zhengyuanhua
8b9e91f294
issue fixed
2021-10-11 19:59:56 +08:00