i-robot
e5484dd4dd
!31511 Change general vmap rule to metafg
Merge pull request !31511 from LiangZhibo/rule
4 years ago
i-robot
2eb9c6d7b0
!31659 Clean code
Merge pull request !31659 from YuJianfeng/clean
4 years ago
liangzhibo
04d9350f51
Change vmap general rule to metafg
4 years ago
yujianfeng
8a8aaacd32
Clean code
4 years ago
i-robot
91d9585df7
!31346 add vmap ut and st
Merge pull request !31346 from Erpim/vmap_v12
4 years ago
Erpim
0e7e1f8400
add vmap st and ut
4 years ago
i-robot
dc5f77f585
!31298 build libmindspore_backend.so
Merge pull request !31298 from zhoufeng/backend-frontend-decoupling
4 years ago
zhoufeng
b7bb53ff73
build libmindspore_backend.so
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
4 years ago
wilfChen
b1232c3f55
aicpu support priority replay buffer
4 years ago
i-robot
2fb0788d04
!31181 fix serving gil
Merge pull request !31181 from zhoufeng/fix-serving-gil
4 years ago
zhoufeng
dc2633df03
fix serving gil
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
4 years ago
i-robot
3c0e34ada0
!30855 Support user-defined classes by ms_class decorators
Merge pull request !30855 from huangbingjian/ms_class_dev
4 years ago
i-robot
7f9056ad69
!30211 [MS]Add Higher Order Differentiation
Merge pull request !30211 from chenzhuo/taylor_v1
4 years ago
huangbingjian
4f7c9cb27f
Support user-defined classes through ms_class decorators.
4 years ago
chenzhuo
3b12614d7a
add taylor higher order differentiation
4 years ago
i-robot
a45e40f9db
!30541 Master static warning clean
Merge pull request !30541 from chenfei_mindspore/master-develop
4 years ago
chenfei
883f4d474e
code clean of master
4 years ago
i-robot
cb309af253
!30903 Fix Ckpt Shape Compile Error
Merge pull request !30903 from huangxinjing/fix_compile_shape_error
4 years ago
huangxinjing
15066ddf0d
Fix ckpt parameter shape error
4 years ago
Erpim
5d23432d08
add vmap demo code
4 years ago
zhoufeng
f49b195c39
extract common as an independent shared library
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
4 years ago
7347157+joylvliang@user.noreply.gitee.com
b3ff6043ae
Implement_forward_hook_for_PyNative
4 years ago
marui
d47e79b04c
Refactor ccsrc directories and CMakeLists files
4 years ago
limingqi107
5a169da585
fix the bug of host device in the control flow
4 years ago
wangrao124
9dfc703f7a
change sparsetensor to cootensor
4 years ago
lianliguang
c9e6034b38
fix error log
4 years ago
7347157+joylvliang@user.noreply.gitee.com
a8a0ec0350
clear_hook_static_res_at_exit
4 years ago
lianliguang
449d31e0b5
fix code check
4 years ago
fangzehua
ac11ceeee4
change omp to ms threadpool
4 years ago
zhangzhaoju
1950b6a823
Optimize the exception message while the return number of brop is wrong
Fix:I4OQM9 Bprop out check message optimize
4 years ago
zhangzhaoju
258120cf0e
code check
4 years ago
i-robot
d46e047fe1
!27372 fix permission bug when remove read_only_file on windows
Merge pull request !27372 from zhangbuxue/fix_permission_bug_when_remove_read_only_file_on_windows
4 years ago
i-robot
a02a24720f
!26955 Optimize pyantiave mem
Merge pull request !26955 from zjun/pynative_mem_optimize
4 years ago
buxue
ae256a362b
fix permission bug when remove read_only_file on windows
4 years ago
i-robot
4cc59dee17
!26731 【CSR SUPPORT】Add CSR OPs (CSReduceSum, CSRMV, CSRMul)
Merge pull request !26731 from wangrao124/add_csr_op
4 years ago
zjun
eb450dd31f
Optimize pynative device memory use
Add gradient to pynative unique
Signed-off-by: zjun <zhangjun0@huawei.com>
4 years ago
wangrao124
385f153dd1
add CSReduceSum, CSRMV, CSRMul
4 years ago
buxue
d7dc539b6e
fix sync GraphCell params data from device bug
4 years ago
zhangzhaoju
722086435d
1. fix:unexpected eiminate of tile
2. fix:delay memory allocat in NewTensorFilledWithData
4 years ago
zhangzhaoju
9abceff3c2
Optimize exception msg
4 years ago
zhangzhaoju
d34f14e324
white list for syntax exception
4 years ago
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.
4 years ago
yujianfeng
f2bd7de442
Add automatic detection for the changes of python scripts when enable compile cache
4 years ago
i-robot
23da0717bc
!26187 Support CSRTensor
Merge pull request !26187 from 杨林枫/csr_frontend
4 years ago
yanglf1121
72db8e4d3f
support sparse tensor frontend
4 years ago
i-robot
745fb98d65
!26059 support get parameters and init parameters in GraphCell
Merge pull request !26059 from zhangbuxue/expand_mindir_function
4 years ago
buxue
45e0a4b9bf
support upodate parameters after load mindir
4 years ago
zhangzhaoju
b83fde2d02
core/ir syntax error white list
Optimize error msg of Syntax
4 years ago
chujinjin
4eebb43f62
optimize mixed precision performance for pynative
4 years ago
chenfei
9324b9690c
code clean of mindspore
4 years ago