zhoufeng
f49b195c39
extract common as an independent shared library
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
4 years ago
LaiYongqiang
dcd83c5275
construct cache dir with rank_id directly
4 years ago
TinaMengtingZhang
6a00f9797a
sync up codex warning fix for dump and debugger to open source branch
4 years ago
LaiYongqiang
a42c936df6
log improvement
4 years ago
yelihua
78efa5360c
fix the bug about writing somas file
4 years ago
i-robot
0fa3fa78fb
!23709 Clean security and codex warning
Merge pull request !23709 from yelihua/dev
4 years ago
i-robot
b825fd281d
!23697 fix warnings of pclint plus, codedex and codecheck at 0917
Merge pull request !23697 from huanghui/clean-warnings-0917
4 years ago
i-robot
825897f15f
!23522 fix log to file bug of Could not create logging file: No such file or directory/File exists
Merge pull request !23522 from huanghui/fix-log-to-file
4 years ago
huanghui
80416a71e0
fix warnings of pclint plus, codedex and codecheck
4 years ago
yelihua
83b3f6fef7
delete Common::GetRealPath
4 years ago
TinaMengtingZhang
f4db1dabe0
Merge code safety check to master
4 years ago
huanghui
4a873ff4ed
Fix the bug of "Could not create logging file: No such file or directory/File exists"
4 years ago
huanghui
59e257550d
support relative path in create file
4 years ago
yelihua
7c3994e48e
use Common::CreatePrefixPath instead of Common::GetRealPath
4 years ago
yelihua
801121a140
add common get realpath method
4 years ago
lby
31acec527a
support prebuild
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
huanghui
1630dcb0c8
add subdirectory for log and ir_dump
4 years ago
i-robot
9eb414b768
!19389 ascend compile reconstruct
Merge pull request !19389 from liubuyu/compile_re
4 years ago
lby
a5029f061c
ascend kernel build refactory
4 years ago
louie5
c8e7e2deae
fix bugs caused by uncatched C++ exception, using exit() instead of throwing exception.
4 years ago
zhangzhaoju
610ee46ebe
Add file open failure info while file open failed
4 years ago
lby
a3f65acc65
code clean
4 years ago
7347157+joylvliang@user.noreply.gitee.com
ab32ebc758
fix_warning_of_codes
4 years ago
l00591931
d2a44c02da
Code fix
4 years ago
louie5
ef98f259ce
create directory of log files using 'GLOG_log_dir' in c++ frontend while it does not exist
check the real path of directory whether valid
4 years ago
ms_yan
030030deb2
delete GetEnvConfigFile func as it no longer used
4 years ago
yujianfeng
e88d058787
Add bprop cache
4 years ago
buxue
d50d46013b
code security check
4 years ago
buxue
1590f16953
delete python get_file_real_path
4 years ago
i-robot
50304d82fb
!17661 add permission for save files
Merge pull request !17661 from zhangbuxue/add_permission_for_save_files
4 years ago
buxue
0049109d11
add permission for save files
4 years ago
i-robot
059a9297af
!17982 Code self-check
Merge pull request !17982 from huanghui/code-self-check
4 years ago
huanghui
bcb0208060
code-self-check of debug
4 years ago
LaiYongqiang
0c78f9a9db
change somas log file mode to 400
4 years ago
LaiYongqiang
9aa51c64fa
fix static check warning in SOMAS
4 years ago
mindspore-ci-bot
242b6e3eff
!17136 [MS][RDR] fix pclint and codecheck warnings
From: @louie5
Reviewed-by: @ouwenchang,@lixiaohui33,@ouwenchang
Signed-off-by: @ouwenchang
4 years ago
louei5
6f82ec5fc9
fix pclint & codecheck warnings
4 years ago
yujianfeng
579c0dd61b
Fix code check warning
4 years ago
zhangzhaoju
2d667f9ed7
ci format problem fix.
4 years ago
huanghui
427337abac
fix code check
4 years ago
luopengting
727dc08bfa
fix TAINTED_SCALAR and capitalize constants
1. fix the tainted variable 'path'
2. capitalize constants in env_config_parser
3. move constants about attribute to common utils.h
5 years ago
luopengting
facff39ff8
fix codedex in RDR
1. check whether path is empty in IsEveryFilenameValid().
2. do not print the string in IsStrLengthValid(), it's not safe.
3. make the constants about hash in recorder_manager.h.
4. initialize some variables.
5 years ago
huanghui
a2ba47e18a
1. Add unique id for .dat and .dot file to avoid covering
2. Dump the end graph in gpu session and cu session
5 years ago
luopengting
bd7e5e9d37
check ENABLE_DUMP_IR if user set env_config_path
If the ENABLE_DUMP_IR is off, the program will raise ValueError to
remind user to turn on ENABLE_DUMP_IR.
5 years ago
luopengting
b4d56f6358
add functions to check for directory and filename
1. add validation for directory and filename
2. refactor the file operations about path
3. add in CMakeLists
4. add logger in nn_ops
5 years ago
luopengting
4683ecc06b
support env_config_path to set the config file for DFX
1. add env_config_path for ms_context
2. add EnvConfigParser to parse config
3. add in CMakeLists
4. clang-format, cpplint
5. fix spelling in ms_context
Use EnvConfigParser in the constructed function of base_recorder,
when a recorder is initialized, its direcctory will be set as the
value from config file. In addition, recorder_manager will get the
'enable' from config file. If 'enable' is true and the path is not a
valid value, it will be the default value: './rdr'.
5 years ago
huanghui
fa6c23358a
Move some ir files which backend optpass dumped to the fold: verbose_ir_files
5 years ago