Margaret_wangrui
86b52c4107
insert u monad parameter before io monad parameter in auto_monad
5 years ago
He Wei
0769193185
Fix a bug by revert GetCNodeTarget() for Load
5 years ago
mindspore-ci-bot
cf5eaf8590
!13050 Don't insert UpdateState for HyperMap func graph call, move auto monad eliminator out from CSE, and eliminate auto monad nodes for output node.
From: @zh_qh
Reviewed-by:
Signed-off-by:
5 years ago
Zhang Qinghua
e853df4ecd
Don't insert UpdateState for HyperMap func graph call.
Move auto monad eliminator out from CSE.
Eliminate auto monad nodes for output node.
5 years ago
He Wei
ce690a5489
[auto-monad] Fix primitive_target and IsFeatureMapOutput check for Load
5 years ago
mindspore-ci-bot
a9d21d8615
!13312 [ME]Fix bug of core dump
From: @chenfei52
Reviewed-by: @hwhewei,@ginfung
Signed-off-by: @ginfung
5 years ago
chenfei
05d23b76d1
fix core dump bug
5 years ago
mindspore-ci-bot
ba0a2d97a1
!13244 Output func graph's raw pointer address.
From: @zh_qh
Reviewed-by:
Signed-off-by:
5 years ago
Zhang Qinghua
1e64b92470
Output func graph's raw pointer address.
5 years ago
Zhang Qinghua
8c139ec821
Replace inputs in order list also when replicated CNode's inputs.
5 years ago
l00591931
bbdb050fc7
Change switch to Switch
5 years ago
mindspore-ci-bot
83edc65441
!12332 Call CheckNoStackInSameFuncGraph() to check abnormal infer status.
From: @zh_qh
Reviewed-by: @hwhewei
Signed-off-by:
5 years ago
Zhang Qinghua
6077a663f4
Call CheckNoStackInSameFuncGraph() to check abnormal infer status.
5 years ago
mindspore-ci-bot
04e23927ef
!12688 using cpp infer firstly
From: @lianliguang
Reviewed-by:
Signed-off-by:
5 years ago
LianLiguang
4acab81599
using cpp infer firstly
5 years ago
Zhang Qinghua
2e48501d54
Add more isolated nodes in Parser, and clear dependency nodes that have no side effect.
5 years ago
l00591931
680324f225
Change make tuple in core.ops
5 years ago
Zhang Qinghua
8b8c59f01e
Optimize the compile performance in Parser, FG, Manager and Renormalize:
---
Remove the routine of handling isolated nodes in Renormalize.
Add isolated nodes from Parser&Resolver.
Modify isolated nodes handling in FG&Manager.
Optimize the renormalize routines.
Other optimizations.
5 years ago
huangbingjian
4cb74919ab
[auto-monad] modify the processing method of isolated nodes
5 years ago
He Wei
f23b92af4c
[auto-monad] Optimize order list
Use OrderedSet for order list to optimize performance.
5 years ago
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)
```
5 years ago
buxue
81d26eaa34
unify parameter output type
5 years ago
buxue
6ccc4379b4
do not broaden scalar
5 years ago
buxue
6d395c1d3f
keep consistent in Graph mode and PyNative mode for 'isinstance'
5 years ago
mxm
82268dc703
support DynamicShape and StridedSlice primitive return range of shape value.
5 years ago
mxm
59f9ac9975
Primitive 'AddN' support dynamic shape
5 years ago
huanghui
bda74495f3
Add trace mangager around front opt
5 years ago
mindspore-ci-bot
57899791d3
!9063 Throw exception if using call stack for CNodes in the same func graph.
From: @zh_qh
Reviewed-by: @stsuteng,@chenfei52
Signed-off-by: @stsuteng
5 years ago
Zhang Qinghua
b43d71c130
Throw exception if using call stack for CNodes in the same func graph.
5 years ago
mindspore-ci-bot
617c175a98
!8854 Fix some redundant codes
From: @chenfei52
Reviewed-by:
Signed-off-by:
5 years ago
chenfei
f154abdff8
change some redundant code
normalize codes of session
5 years ago
Zhang Qinghua
85f8290dce
Optimize TopoSort() and Infer() performance.
5 years ago
Zhang Qinghua
a456415cc1
Modify for infer performance. Should add more optimization later.
5 years ago
mindspore-ci-bot
dbcdda18ed
!8293 Resolve specialize error during transforming after block in PyNative mode.
Merge pull request !8293 from 张清华/grad_opt2
5 years ago
Zhang Qinghua
4e6e68f187
Resolve specialize error during transforming after block in PyNative mode.
5 years ago
Yi Huaijie
d7faa77b5e
support int64 shape
5 years ago
Zhang Qinghua
f1a851acb3
Resolve GPT net stack overflow problem, due to infer process.
5 years ago
Zhang Qinghua
077bde0767
Return a new abstract without tracking_id for fg ValueNode in CSE.
5 years ago
caifubi
d3b978147f
Ascend Dynamic Shape
5 years ago
buxue
483c8a179a
improve the recognition of Parameter object and raise error when convert keywordarg to pydata
5 years ago
mindspore-ci-bot
c57a472748
!5918 optimizer pynative memory
Merge pull request !5918 from flywind/optimizer_pynative_memory
5 years ago
buxue
458498900c
support not in and add check for grad_with_sens with no sense provide.
5 years ago
kpy
4338dd266e
optimizer pynative graph memory
5 years ago
buxue
3fd73f9d08
raise exception when use HookBackward in graph mode
5 years ago
fary86
b0f89685b4
Add device specific config check
5 years ago
buxue
a087ef7c34
raise exception when UniformPrimitive has wrong number args
5 years ago
Wei Luning
879a519136
updata signature
5 years ago
fary86
144a35b17e
Adapt GatherV2 for dynamic shape
5 years ago
fary86
fcbb3e0edc
Refactor ms_context implementation
5 years ago
zhousiyi
c25e37e7bf
make backend/optimizer pybind free
5 years ago