Skip to content

Fix ResourceApplyAdam resource variable update and session close crash#78

Merged
tngchien merged 23 commits intoMooreThreads:mainfrom
XFDG:fix
Mar 17, 2026
Merged

Fix ResourceApplyAdam resource variable update and session close crash#78
tngchien merged 23 commits intoMooreThreads:mainfrom
XFDG:fix

Conversation

@XFDG
Copy link
Copy Markdown
Contributor

@XFDG XFDG commented Mar 13, 2026

这个 PR 修复了 ResourceApplyAdam 在 graph mode 下的资源变量更新问题,以及 Session.close() 阶段的崩溃问题。

修复后:

MUSA 侧 ResourceApplyAdam 的计算结果与 CPU 对齐
apply_resource_op_test.py 可以稳定通过
MUSA 资源变量在 session 退出时不再触发 refcount.h:90 崩溃

@tngchien tngchien merged commit d1b16b6 into MooreThreads:main Mar 17, 2026
1 check passed
welo516 pushed a commit to welo516/tensorflow_musa_extension that referenced this pull request Mar 17, 2026
…sh (MooreThreads#78)

feat: fused_gelu v1 (MooreThreads#72)

* feat:fused_gelu v1

feat: optimize addn (MooreThreads#73)

feat: optimize addn

---------

Co-authored-by: albert <albert@mthreads.com>
Co-authored-by: ronnie <ronnie@mt.com>

test finally

add daily test

add daily test2

add daily test3

add daily test4

add daily test4

add daily test5

add daily test5

add daily test5

add daily test5

add daily test5

add daily test5

add daily test5

add daily test5

add daily test5

add daily test5
welo516 pushed a commit to welo516/tensorflow_musa_extension that referenced this pull request Mar 17, 2026
…sh (MooreThreads#78)

feat: fused_gelu v1 (MooreThreads#72)

* feat:fused_gelu v1

feat: optimize addn (MooreThreads#73)

feat: optimize addn

---------

Co-authored-by: albert <albert@mthreads.com>
Co-authored-by: ronnie <ronnie@mt.com>

test finally

add daily test

add daily test2

add daily test3

add daily test4

add daily test4

add daily test5

add daily test5

add daily test5

add daily test5

add daily test5

add daily test5

add daily test5

add daily test5

add daily test5

add daily test5
EternityTang pushed a commit to EternityTang/tensorflow_musa_extension that referenced this pull request Apr 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants