Commit Graph

606 Commits

Author SHA1 Message Date
shenwei41 7ae48d76a7 fix code review 2021-12-31 09:52:48 +08:00
gongdaguo 487dd3ebed fix benchmark build 2021-12-28 12:01:11 +08:00
yanghaoran 2193f058f0 config mac dev package name 2021-12-27 11:36:01 +08:00
i-robot 0eecd9721f !27891 [MS][LITE][TOD] Cropper Support for ToD
Merge pull request !27891 from Haim/export_haim
2021-12-23 08:03:13 +00:00
i-robot 4915d06df3 !27952 310 support online infer
Merge pull request !27952 from zhengyuanhua/code_review
2021-12-23 03:37:49 +00:00
i-robot 0a9e102795 !26632 upgrade eigen from 3.3.7 to 3.3.9
Merge pull request !26632 from zhuzhongrui/pub_master
2021-12-23 01:37:45 +00:00
Haim Moushkatel c43b41a378 Cropper Support for ToD 2021-12-22 17:46:33 +02:00
zhengyuanhua 889a613327 online infer 2021-12-22 21:42:47 +08:00
z00512249 0f099d4a57 upgrade eigen from 3.3.7 to 3.3.9 2021-12-22 16:10:30 +08:00
xuyongfei 0eccf7a4bd package mindapi to include dir of mindspore wheel 2021-12-22 10:28:19 +08:00
He Wei d28b189495 Move some basic type defines to mindapi 2021-12-21 09:38:33 +08:00
i-robot 24e03a68a6 !27902 [MS][LITE] add dpico atc adapter compile CI
Merge pull request !27902 from jianghui58/dpico_dev_compile
2021-12-20 12:03:21 +00:00
i-robot 52444c129d !27559 update JSON for Model C++ to 3.7.3
Merge pull request !27559 from yanghaoran/master
2021-12-20 11:23:08 +00:00
jianghui58 ed18a9d6f1 add dpico atc adapter compile CI 2021-12-20 16:37:12 +08:00
i-robot fb69acf0a0 !27824 update opencv and sqlite version
Merge pull request !27824 from shenwei41/update_opencv_sqlite
2021-12-20 07:06:09 +00:00
xuanyue 1dd50a0a6f open ConverterContext and open special nodes 2021-12-18 23:07:29 +08:00
yanghaoran 7523631f99 update JSON for Model C++ to 3.7.3 2021-12-18 15:40:01 +08:00
gongdaguo bbfd0dbdce add 35xx build 2021-12-18 09:34:52 +08:00
shenwei41 02dd82ac3f update opencv and sqlite version 2021-12-17 16:12:30 +08:00
jinxiaoxian 01fc6efc7d rebuild python frame 2021-12-16 10:50:59 +08:00
i-robot 4ae133265e !27664 [MSLITE][GPU] opencl cmake download bugfix
Merge pull request !27664 from Greatpan/br_bugfix
2021-12-15 03:33:15 +00:00
greatpanc 098b647ea3 opencl cmake download bugfix 2021-12-14 17:33:32 +08:00
i-robot 9f9d28e587 !27482 compile 3403
Merge pull request !27482 from zhaodezan/master
2021-12-11 09:31:25 +00:00
zhaodezan 3334bfe479 compile 3403 2021-12-10 15:46:58 +08:00
zengzitao 6f4aebbe11 adapt ms_cpu ci for graphkernel 2021-12-09 19:44:09 +08:00
i-robot 68ff04ac82 !27186 pass lambda function to out_shape and out_dtype
Merge pull request !27186 from looop5/out_shape
2021-12-07 07:31:59 +00:00
gongdaguo 4ddf64944f del glog patch 2021-12-06 15:50:23 +08:00
looop5 ae5532fb9e pass lambda function to out_shape and out_dtype 2021-12-06 10:21:16 +08:00
He Wei d2bb6303b7 Provide new mindspore core API classes
1. namespace is mindspore::api;
2. API header files located in mindspore/core/mindapi;
3. We use pimpl pattern to provide a wrapper layer for api;
4. Check mindapi_test.cc for usage examples.
2021-12-03 11:03:22 +08:00
xulei b179355489 fix mindspore mac package name 2021-11-30 19:27:08 +08:00
xulei 78b37afc30 fix mindspore mac compile
fix debugger, mindarmour, audio, gnn, grpc, ps/fl.
2021-11-29 09:29:02 +08: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
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
yefeng 8ce5dd4867 ios simulator 2021-10-11 14:06:03 +08:00
dayschan 32ecd8ee79 GraphKernel supports CPU
only Linux system is supported now.

change the default value of `ENABLE_AKG` to off, and controlled by option `-K`.
the `ENABLE_AKG` is auto enabled when `ENABLE_GPU` or `ENABLE_D` is on.
since now, we can use `ENABLE_AKG` to control the compilation of graphkernel
and akg codes.

fix usage description for option "-K", it should be "[-K on|off]".

LLVM is required by akg for cpu kernels, so AKG for cpu is default disabled now.
2021-09-29 23:34:16 +08:00
ling 86fe029c93 enable gmock so 2021-09-26 18:48:47 +08:00
xuanyue 81aab2e5e0 do not open flatbuffer and protobuf 2021-09-26 10:31:53 +08:00
zhanghaibo5 3c0c54e29e updata md5sum for cmsis, flatbuffers and opencl, because gitte updated the package 2021-09-22 16:31:38 +08:00
xuanyue aa9620b15d delete plugin and windows do not support extension 2021-09-21 21:00:10 +08:00
i-robot d2df9652ca !21980 Update grpc version from 1.27.3 to 1.36.1
Merge pull request !21980 from TinaMengtingZhang/update-grpc
2021-09-20 15:19:47 +00:00
gongdaguo 5a26480857 update flatbuffer 2021-09-17 15:20:09 +08:00
lby 534c8393d8 update md5 when download from gitee 2021-09-17 09:25:02 +08:00
i-robot e4f94f4a33 !23627 [MS][LITE][develop] remove redundant strip
Merge pull request !23627 from sunsuodong/remove_redundant_strip
2021-09-17 01:16:06 +00:00
TinaMengtingZhang c0d2514489 Update grpc from 1.27.3 to 1.36.1 and subdependency (re2 & absl) 2021-09-16 12:33:04 -04:00
sunsuodong 74ecc7c988 remove redundant strip 2021-09-16 06:45:54 -07:00
i-robot da0344a31f !23600 [lite]draw out model_parser basic class
Merge pull request !23600 from 徐安越/primitive
2021-09-16 12:25:30 +00:00
i-robot 86140d1c56 !22989 Add compilation option for mindspore lite
Merge pull request !22989 from liuluobin/master_openssl_option
2021-09-16 10:54:53 +00:00
xuanyue 6f738d2e4a draw out model_parser basic class 2021-09-16 14:29:40 +08:00
liuluobin d0b43a926b Add openssl compilation for mindspore lite 2021-09-14 15:48:12 +08:00
zhanghaibo 9c6e771140 回退 'Pull Request !23210 : update version for flatbuffers to v2.0.0' 2021-09-14 01:56:51 +00:00
i-robot 19ca31833f !23360 [lite]abstract out pass
Merge pull request !23360 from 徐安越/master
2021-09-14 01:36:36 +00:00
i-robot 1d0aea6eac !23210 update version for flatbuffers to v2.0.0
Merge pull request !23210 from zhanghaibo/master
2021-09-13 16:45:47 +00:00