Commit Graph

62 Commits

Author SHA1 Message Date
i-robot 1cdaa12cfd !18093 [Debugger] Add root graph id to sub graph's pb file
Merge pull request !18093 from TinaMengtingZhang/add_graph_id
2021-06-11 02:13:49 +08:00
i-robot 4861711676 !18107 dump and offline debug fixes
Merge pull request !18107 from john_tzanakakis/jt_bug_fixes
2021-06-10 19:31:46 +08:00
John Tzanakakis ac1847ffac fix iter 0 and iter 1 being dumped in dir 0, make op_debug_mode optional for sync mode, read input files for offline debugger 2021-06-09 21:57:07 -04:00
buxue 0049109d11 add permission for save files 2021-06-10 09:51:49 +08:00
TinaMengtingZhang dd6884eb6f add root graph id to pb file 2021-06-09 11:18:13 -04:00
mindspore-ci-bot fa1f2c4341 !17003 clean codex
From: @jojobugfree
Reviewed-by: @yuchaojie,@zhoufeng54,@chujinjin
Signed-off-by: @zhoufeng54
2021-06-07 18:54:41 +08:00
TinaMengtingZhang 2fa05b66a1 change device_id to rank_id in dump path 2021-06-06 21:27:20 -04:00
caifubi 1b43bd923b clean codex 2021-06-05 17:08:00 +08:00
mindspore-ci-bot e19e14295a !17773 adapt offline debugger to new dump, sync support for iteration ranges, GPU default dump mode correction
From: @john_tzanakakis
Reviewed-by: @nsyca,@mikef
Signed-off-by: @mikef
2021-06-05 02:46:50 +08:00
John Tzanakakis 7d460de8b4 adapt offline debuger to new dump, sync support for iteration ranges, GPU default dump mode correction 2021-06-04 08:38:50 -04:00
maning202007 c12c0d9a71 fix codecheck for debugger and summary 2021-06-04 14:48:46 +08:00
TinaMengtingZhang f11d5fa8ad Unify file name for parameter and CPU dump 2021-06-02 16:31:03 -04:00
mindspore-ci-bot 26e2421d0f !17547 fixup due to existing dump tests writing to tmp
From: @john_tzanakakis
Reviewed-by: @robingrosman,@robingrosman,@liucunwei
Signed-off-by: @robingrosman
2021-06-02 08:24:21 +08:00
John Tzanakakis c4739e20eb fixup due to existing dump tests writing to tmp 2021-06-01 16:23:23 -04:00
mindspore-ci-bot 103869fbc4 !17376 Unified dump entry, async dump multiple steps in different dirs, and async dump multiple specific steps in one training session - finer grain control
From: @john_tzanakakis
Reviewed-by: @mikef,@pandoublefeng
Signed-off-by: @pandoublefeng
2021-06-01 04:25:57 +08:00
John Tzanakakis 1d62e1653e Unified dump entry, async dump multiple steps in different dirs, and async dump multiple specific steps in one training session - finer grain control 2021-05-31 09:47:20 -04:00
l00591931 319c20824e fix code checking warning for r1.2 2021-05-29 09:13:48 +08:00
mindspore-ci-bot 17099b048f !16936 Unify dump directory structure
From: @tina_mengting_zhang
Reviewed-by: @john_tzanakakis,@pandoublefeng
Signed-off-by: @john_tzanakakis
2021-05-29 04:12:48 +08:00
mindspore-ci-bot bfeb511100 !16967 clean code check
From: @Margaret_wangrui
Reviewed-by: @ginfung
Signed-off-by:
2021-05-28 16:55:00 +08:00
zhangzhaoju 2d667f9ed7 ci format problem fix. 2021-05-27 19:35:58 +08:00
Margaret_wangrui a7859ecc45 clean code check 2021-05-27 14:40:42 +08:00
TinaMengtingZhang 4926d74570 unify dir path
dump hccl and config json files to dir

update filename for sync dump except cpu dump

update testcases
2021-05-26 16:22:18 -04:00
TinaMengtingZhang 17bc01382a Revert the change in GenerateDumpPath 2021-05-12 22:11:28 -04:00
buxue 0eab785cfa unify dump path and support npy format 2021-05-08 09:04:33 +08:00
John Tzanakakis b5e70f7231 use device type in dump file name when trans_flag=false 2021-05-06 14:07:20 -04:00
buxue 563888996f fix ReviewBoot and CodeDex 2021-04-27 17:47:16 +08:00
mindspore-ci-bot 90828cc0ac !15448 Fixing multi graph dump
From: @parastooashtari
Reviewed-by: @john_tzanakakis,@robingrosman
Signed-off-by: @john_tzanakakis
2021-04-27 05:27:06 +08:00
Parastoo Ashtari f8ed1a7c28 fixed the dump file folder
added log in debugger.cc for pre and post execute

added log in debugger.cc for pre and post execute

fixed the format of the code

removed the repeated lines

fixed format in debugger.cc

add more logs for debugger.cc

fixed the bug in debugger.cc

removed the logs in debugger.cc
2021-04-23 11:49:01 -04:00
buxue 2bda8c21e9 support grad freeze 2021-04-22 14:49:32 +08:00
mindspore-ci-bot b6f471f636 !15119 change log level from info to warning when use dump in PyNative mode
From: @zhangbuxue
Reviewed-by: @ginfung,@guoqi1024
Signed-off-by: @jjfeing
2021-04-14 11:36:00 +08:00
buxue 71866950cf change log level from info to warning when use dump in PyNative mode 2021-04-13 22:00:09 +08:00
hwjiaorui 53a1192973 clean code 2021-04-13 19:19:02 +08:00
buxue ab59f62147 add dump data function for CPU 2021-04-08 14:24:29 +08:00
Islam Amin 722eb2ec5a ascend graph dump trigger at data dump 2021-02-25 12:04:59 -05:00
He Wei 7d9a783993 [auto-monad] Support side-effects by auto-monad
The basic idea is: exploits data dependency to control the execution order
of side-effect operations, and keep the semantics of ANF unchanged.

The ControlDepend primitive is removed and there are two primitives added:

1. UpdateState:
```
  a = Assign(para, value)
```
became:
```
  a = Assign(para, value, u)
  u = UpdateState(u, a)
```

2. Load:
```
  x = Add(para, value)
```
became:
```
  p = Load(para, u)
  x = Add(p, value)
  u = UpdateState(u, p)
```
2021-02-08 09:01:15 +08:00
Adel Shafiei f4f8ff7d9a support operation overflow watchpoint for multi-graph 2020-12-09 10:12:16 -05:00
l00591931 1d1cab986d Codedex change for tensor_loader 2020-12-07 09:45:27 +08:00
caifubi 589dd9e782 fix codex 2020-11-14 09:59:50 +08:00
Harshvardhan Gupta 345b26177f fix path 2020-11-06 14:56:32 -05:00
jjfeing 56f1bb1b66 add dump data when task error 2020-11-02 09:42:53 +08:00
John Tzanakakis 531c2952b3 fixes input dump files missing on GPU 2020-10-30 16:57:18 -04:00
mindspore-ci-bot 93d394ff9e !7706 Fixed the misssing input/output tensor dump if there are tensors with the same name
Merge pull request !7706 from AdelShafiei/missingdumpinput
2020-10-27 09:28:11 +08:00
Adel Shafiei b8fc889368 fixed the problem with missing inputs dumps when using GPU 2020-10-23 21:24:36 -04:00
caifubi 980bfafc64 Check dump absolute path 2020-10-22 13:58:19 +08:00
mindspore-ci-bot 3b0f39623d !7451 Specify the dump names of constant nodes the same with the names in pb file
Merge pull request !7451 from wangyue/master
2020-10-20 21:31:11 +08:00
mindspore-ci-bot 687e9126aa !7267 dump kernel inputs/outputs based on the input_output field of the config file.
Merge pull request !7267 from AdelShafiei/kernels_dump
2020-10-19 21:58:06 +08:00
wangyue01 0e6402ada9 Specify the dump name of constant nodes the same with proto file. 2020-10-19 20:44:11 +08:00
mindspore-ci-bot 283ab84884 !7269 dump constant values for each step
Merge pull request !7269 from lichen_101010/dump_constant_values_new
2020-10-17 14:53:22 +08:00
Adel Shafiei e4ebdc599e Added input/output kernel dump support based on the config file 2020-10-15 11:33:42 -04:00
lichen_101010 678962d718 implementation for dumping const values for each step
fix no output address error

address clang-format error

address some comments

clang_format check
2020-10-15 10:34:04 -04:00