Commit Graph

77 Commits

Author SHA1 Message Date
baihuawei 769003b84d add oneDNN patch 2022-02-15 14:48:07 +08:00
Xiao Tianci c31b86df68 add new commiter 2022-01-17 15:59:07 +08:00
baihuawei 3766a9cd06 oneDNN patch 2022-01-12 15:44:27 +08:00
shenwei41 02dd82ac3f update opencv and sqlite version 2021-12-17 16:12:30 +08:00
gongdaguo 4ddf64944f del glog patch 2021-12-06 15:50:23 +08:00
xulei 78b37afc30 fix mindspore mac compile
fix debugger, mindarmour, audio, gnn, grpc, ps/fl.
2021-11-29 09:29:02 +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
i-robot 77bf581af5 !26652 [MS][LITE]Fix glog
Merge pull request !26652 from gongdaguo/fix_glog
2021-11-23 12:01:25 +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
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
liuluobin 546f90ca6d Patch CVE-2021-3711 and CVE-2021-3712 for openssl 2021-10-28 20:33:23 +08:00
xuxusheng 7a9a4d0515 delete mindquantum simulator 2021-10-27 18:35:35 +08:00
yefeng 8ce5dd4867 ios simulator 2021-10-11 14:06:03 +08:00
ms_yan 75636aa311 fix CVE-2021-3672 c-ares bug 2021-08-24 15:47:54 +08:00
djc b077aa1cab [feat] [assistant] [I3T96T] add new Dataset operator CMUARCTICDataset 2021-08-22 16:26:45 +08:00
djc 4e6f7dc97d [feat] [assistant] [I3T96X] add new Dataset operator LibriSpeechDataset 2021-08-22 13:39:37 +08:00
i-robot 56fcdcc69f !21557 fix: thirdparty icu4c binscope
Merge pull request !21557 from guozhijian/fix_icu4c_binscope
2021-08-10 02:06:52 +00:00
jonyguo f27a16c8f8 fix: thirdparty icu4c binscope 2021-08-09 16:07:49 +08:00
shenwei41 59efbb88ec fix waring 2021-08-09 11:40:52 +08:00
sunsuodong ea93087683 :support vs build 2021-08-01 22:11:21 +08:00
zhanghaibo5 2c1b67c1a3 update proto file 2021-07-14 14:16:24 +08:00
changzherui aa013a42fd modify onnx readme 2021-07-05 12:42:36 +08:00
changzherui 2ff0e2af5f mpdofy onnx.proto 2021-07-03 00:26:49 +08:00
i-robot c2ed88dc4c !18925 [LITE][IOS] fix ios compile for new xcode
Merge pull request !18925 from yefeng/127-fix_ios_new_xcode
2021-07-01 01:11:56 +00:00
changzherui 0a64b7bb82 modify onnx.proto 2021-06-29 22:55:38 +08:00
yefeng b92e7ed7d3 ios compile new xcode 2021-06-28 20:46:57 +08:00
zhoufeng 658c2072fc owners config
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
2021-06-07 11:03:33 +08:00
shenwei41 1e27f88b84 fix code check on master 2021-06-02 20:17:56 +08:00
mindspore-ci-bot 2b8083915e !15902 [MD] apply sqlite3 security patch
From: @liyong126
Reviewed-by: @jonyguo,@heleiwang
Signed-off-by: @jonyguo
2021-05-11 15:39:51 +08:00
liyong ea4451e455 apply sqlite3 patch 2021-05-07 15:22:42 +08:00
donghufeng 800dd5abaa clean code, quantum state to array, projector 2021-05-01 00:53:06 +08:00
zhoufeng 117b35eb49 modify grpc namespace as mindspore private 2021-04-22 21:25:27 +08:00
zhoufeng 51b4f464d6 move link dl to libevent's patch
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
2021-04-19 17:31:04 +08:00
zhoufeng 534fa9bb6c fix compile error on libevent and grpc
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
2021-04-11 17:58:42 +08:00
zhoufeng cae58d85ef compile shared grpc library
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
2021-04-08 22:20:15 +08:00
zhoufeng b3ff13e0e5 building dependency decoupling
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
2021-04-06 15:23:23 +08:00
zhoufeng e4c59a1c8f library size optimization for 310
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
2021-03-24 09:23:50 +08:00
yepei6 0cb6adce9e add ENABLE_GLIBCXX param 2021-03-22 20:40:01 +08:00
chendongsheng db0a6f1e19 replace ps-lite 2021-03-02 11:19:11 +08:00
xuxs c70049b190 mindquantum
mindquantum

cmake lint

projectq patch

test pqc

space

pylint

pqc python ops

doc

check

bug

bug

bug

bug

check boundary condition

mindquantum in log_adapter

mindquantum in adapter and recorder cc

substract to subtract

public variable to private variable

public variable to private variable

commit

debug

debug

const in utils

delete dtol

clint
2021-02-20 12:33:51 +08:00
xsmq 73b7154e55 fix cmakelint error 2021-01-23 21:04:29 +08:00
wandongdong 00a1369d4e remove third_party/Opencl and support depthwise batch>1 2020-12-18 01:43:35 -08:00
xiaoyisd 5b31b46c8c mac build plus 2020-12-16 09:36:57 +08:00
hangangqiang 6628ad41d1 fix bug in finding subgraph input_kernels and output_kernels 2020-12-14 17:05:59 +08:00
hangangqiang ed26ff636a remove gtest flatbuffer protobuf eigen jpeg-turbo from third-party 2020-12-14 15:06:23 +08:00
xiaoyisd 424999267a mac build 2020-12-08 19:13:47 +08:00
xulei2020 dc532ff6a9 fix the minddata lite build, keep the third package compiled in the same way 2020-12-07 14:51:53 +08:00
qianlong 0b2ed2770b fix icu compile flag 2020-09-19 15:16:01 +08:00
yanghaoran 416c6e1ba8 fix securec compile options, remove unused libraries from output package 2020-09-16 18:47:12 +08:00