Commit Graph

100 Commits

Author SHA1 Message Date
shenwei41 9e7832ee46 Fix cve and code clean 2022-09-14 16:36:22 +08:00
yoni 3ae59185b2 attention kernel bit exact 2022-09-12 16:46:34 +03:00
He Wei b3b148b6da Use cmake to add robin-hood-hashing lib 2022-08-27 11:47:44 +08:00
taipingchangan 2001a98c09 adapt xx.cmake to msvc 2022-08-26 11:28:01 +08:00
qiuzhongya 9c41875220 support for msvc, third party lib 2022-08-25 15:43:02 +08:00
yoni aac8073a2e Add Fast transformers to mindspore third party 2022-08-08 12:18:58 +03:00
zhunaipan 29c6397ba2 add patches for fixing openssl CVEs
修改:     cmake/external_libs/openssl.cmake
	新文件:   third_party/patch/openssl/CVE-2021-4160.patch
	新文件:   third_party/patch/openssl/CVE-2022-1292.patch
	新文件:   third_party/patch/openssl/CVE-2022-2068.patch
2022-07-27 19:20:04 +08:00
emmmmtang 39907e875b r1.8 fix openssl CVE-2022-2097 2022-07-07 11:23:35 +08:00
i-robot 2e32daa9e2
!34168 [MS][LITE]support coreml delegate
Merge pull request !34168 from XianglongZeng/coreml_2
2022-06-25 01:47:14 +00:00
XianglongZeng e4fea89333 mindspore support coreml 2022-06-24 11:20:30 +08:00
wang_shaocong 0009954d32 [MSLITE] Support to convert 310 quantized caffe model. 2022-06-22 14:02:38 +08:00
shenwei41 1ee931e643 remove libtiff cmake 2022-05-26 15:09:47 +08:00
i-robot 28a38eaf95
!34379 acc threadpool and fix onednn patch
Merge pull request !34379 from fangzehua/acc_thread_v2
2022-05-16 12:20:35 +00:00
fangzehua f8268506da acc worker thread and mkl thread 2022-05-14 12:03:02 +08:00
emmmmtang 3fe3778b0b fix openssl cve-2022-0778 2022-04-28 10:45:32 +08:00
baihuawei e576d18758 add patch for onednn 2022-03-28 11:04:57 +08:00
i-robot a9a0b7883c
!31655 fix CVE-2022-0908
Merge pull request !31655 from shenwei41/libtiff
2022-03-22 01:35:49 +00:00
i-robot 32515f8b74
!31602 fix protobuf cve-22570 and clean code
Merge pull request !31602 from changzherui/fix_proto_cve_and_clean_code
2022-03-21 12:37:42 +00:00
shenwei41 09778b7707 fix CVE-2022-0908 2022-03-21 19:34:25 +08:00
changzherui a584ac5d56 fix protobuf cve and clean code 2022-03-21 17:07:29 +08:00
i-robot 56278f0f85
!31625 Add directory permissions for cmake
Merge pull request !31625 from shenwei41/code_docs_add
2022-03-21 07:38:59 +00:00
shenwei41 e278f53dd5 Add permission for cmake directory 2022-03-21 15:17:11 +08:00
shenwei41 418c6aacfd fix CVE-2022-0561_and_CVE-2022-0562 2022-03-17 18:06:35 +08:00
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