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
zhangzhaoju
f7df3933ad
Codex/Pclint/Codecheck clean
4 years ago
7347157+joylvliang@user.noreply.gitee.com
6e59598f99
correct_wrong_info_when_using_ms_function_with_bprop
4 years ago
yao_yf
d749690a61
adjust parallel optimizer recompute allgather depend
4 years ago
i-robot
c36552721e
!21906 context api master 0816
Merge pull request !21906 from mindspore_ding/context_api_master_0816
4 years ago
dingpeifei
05aa194853
context api 0816
4 years ago
i-robot
5ed105ec01
!22933 Tensor support complex scalar number input
Merge pull request !22933 from zhouyaqiang0/complex_ops
4 years ago
zhouyaqiang
4e07873378
Tensor support complex input
4 years ago
Zhang Qinghua
7203989c26
Support fallback feature in Graph mode (1).
4 years ago
caifubi
537fce0ee1
PyNative Kernel Parallel Build
1. Create Tensor and DeviceAddress for output before Launch.
2. Push Launch/Build Task to Queue and execute togather.
4 years ago
yujianfeng
712b9bd013
convert some ops bprops to mindir
4 years ago
ms_yan
36a8886ca2
Revert "[feat] [assistant] [I3T96T] add new Dataset operator CMUARCTICDataset"
This reverts commit b077aa1cab .
Revert "[feat] [assistant] [I3T96X] add new Dataset operator LibriSpeechDataset"
This reverts commit 4e6f7dc97d .
delete pass_registry_test.cc
comment hiai_nlu_model_multi.pb related line
4 years ago
djc
b077aa1cab
[feat] [assistant] [I3T96T] add new Dataset operator CMUARCTICDataset
4 years ago
djc
4e6f7dc97d
[feat] [assistant] [I3T96X] add new Dataset operator LibriSpeechDataset
4 years ago
zjun
35aab6144d
Fix pynative memory leak
Signed-off-by: zjun <zhangjun0@huawei.com>
4 years ago
chujinjin
34096bf879
add sync control for pynative
4 years ago
i-robot
2650aae9ba
!21351 complex support
Merge pull request !21351 from zhouyaqiang0/complex_support
4 years ago
zhouyaqiang
b81ba100b7
add complex number support
4 years ago
zhangzhaoju
c7e6ad4f7d
Add swtich to controll cache or not cache graph for ad
4 years ago
ZPaC
e82f911854
Fix hybrid training with pairwise encrypt
4 years ago
huanghui
fd56922cf9
fix codex warning 0729
4 years ago
i-robot
f44a92c4b3
!20504 Fix warning of codes
Merge pull request !20504 from JoyLvliang/fix_warning_of_codes
4 years ago
i-robot
e8448f972b
!20725 Support the tensor of string dtype.
Merge pull request !20725 from 张清华/opt
4 years ago
Zhang Qinghua
f91c697efc
Support the tensor of string dtype.
4 years ago
7347157+joylvliang@user.noreply.gitee.com
ab32ebc758
fix_warning_of_codes
4 years ago
l00591931
d2a44c02da
Code fix
4 years ago
lizhenyu
2c9758adda
[bugfix]GPU occur oom when cache all output tensor of graph
4 years ago
lizhenyu
c50606ef26
Refine unify runtime context
4 years ago
i-robot
7b6b0e2a39
!18147 same primitive compile muti-time, attribute not sync to the correct version
Merge pull request !18147 from zhangzhaoju/master_quant_export
4 years ago
i-robot
674f8101db
!18110 secure check
Merge pull request !18110 from zhangzhaoju/ms_master_sec_review
4 years ago