DeepSpeed
fix: add setup_context for torch.func compatibility
#7916
Merged

fix: add setup_context for torch.func compatibility #7916

roycho96
roycho96 roycho96 requested a review from tjruwase tjruwase 120 days ago
roycho96 roycho96 requested a review from tohtana tohtana 120 days ago
roycho96 roycho96 marked this pull request as draft 120 days ago
chatgpt-codex-connector
chatgpt-codex-connector commented on 2026-03-21
roycho96 fix: fix LinearFunctionForZeroStage3 to support torch.func transforms
33db7c43
roycho96 fix: always pass bias arg in zero3_linear_wrap to avoid setup_context…
39b1755a
roycho96 roycho96 force pushed from 252aea12 to 39b1755a 120 days ago
zhangj1an
zhangj1an commented on 2026-03-21
zhangj1an
roycho96
roycho96 fix: remove @autocast_custom_fwd from forward, move autocast state to…
6df37afb
zhangj1an zhangj1an force pushed from 444122cf to 6df37afb 119 days ago
zhangj1an fix(zero3): replace custom_bwd with explicit autocast for functorch-s…
c0b9694c
zhangj1an fix(zero): use setup_context for offload pre/post backward Functions
5e83d056
zhangj1an zhangj1an force pushed from 0a664445 to 5e83d056 119 days ago
zhangj1an
zhangj1an Merge branch 'master' into fix/support-func-torch
74837016
zhangj1an run pre-commit checks
a1e798d5
zhangj1an update unit tests to reproduce main branch error
8762d00f
zhangj1an add reproduce scripts
dd037da2
zhangj1an Merge branch 'master' into fix/support-func-torch
01ee5a64
zhangj1an update reproduce script
f69c1f1a
zhangj1an update reproduce script to skip repeated env setup
e58ac18c
zhangj1an update reproduce script to remove duplicated code
3121a7f9
zhangj1an update reproduce script to print test env
60d20da7
zhangj1an
roycho96 roycho96 marked this pull request as ready for review 116 days ago
roycho96 roycho96 requested a review from loadams loadams 116 days ago
chatgpt-codex-connector
chatgpt-codex-connector commented on 2026-03-25
Flink-ddd
roycho96 drop PyTorch < 2.0 support and fix autocast backward in ZeRO linear
bb245b2e
roycho96
roycho96 change PyTorch version in README
04c456f8
roycho96 roycho96 force pushed from 1acca1f0 to 04c456f8 112 days ago
tohtana resolve conflict with master
703aad38
tohtana
tohtana commented on 2026-03-29
zhangj1an Merge pull request #1 from tohtana/tohtana/pr7916-merge-master-resolve
8468149b
zhangj1an remove repro scripts
e309a6f0
zhangj1an update unit test
e4255697
zhangj1an drop support for pytorch<2.0
39f7e3ce
zhangj1an Merge branch 'master' into fix/support-func-torch
39c9a737
roycho96 Merge branch 'master' into fix/support-func-torch
a5aa09a0
roycho96
roycho96 Merge branch 'master' into fix/support-func-torch
10906aea
roycho96 Merge branch 'master' into fix/support-func-torch
dcd13baf
roycho96 Merge branch 'master' into fix/support-func-torch
9599f271
roycho96
roycho96 Merge branch 'master' into fix/support-func-torch
3b30b39a
tohtana
roycho96
roycho96 Merge branch 'master' into fix/support-func-torch
b6ef66c5
tohtana
tohtana approved these changes on 2026-05-21
tohtana tohtana merged 67b9e212 into master 59 days ago
roycho96 roycho96 deleted the fix/support-func-torch branch 59 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone