Skip to content

Commit 279571d

Browse files
chunyuan-wDiweiSun
andauthored
Fix compatibility with latest torch nightly (#3666)
* remove ddp UT since ddp support is deprecated * change torch-ccl branch to torch_ccl_dev_2.8 * update torch-ccl version * Update dependency_version.json * remove unused subprocess * fix format * fix ddp UT --------- Co-authored-by: DiweiSun <105627594+DiweiSun@users.noreply.github.com>
1 parent b7302c6 commit 279571d

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

dependency_version.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@
77
"commit": "llvmorg-16.0.6"
88
},
99
"pytorch": {
10-
"version": "2.8.0.dev20250323+cpu"
10+
"version": "2.8.0.dev20250424+cpu"
1111
},
1212
"torchaudio": {
13-
"version": "2.6.0.dev20250323+cpu"
13+
"version": "2.6.0.dev20250424+cpu"
1414
},
1515
"torchvision": {
16-
"version": "0.22.0.dev20250322+cpu"
16+
"version": "0.22.0.dev20250423+cpu"
1717
},
1818
"torch-ccl": {
19-
"commit": "torch_ccl_dev_2.6",
20-
"version": "2.6.0+cpu"
19+
"commit": "torch_ccl_dev_2.8",
20+
"version": "2.8.0+cpu"
2121
},
2222
"deepspeed": {
2323
"version": "",
@@ -29,4 +29,4 @@
2929
"lm-evaluation-harness": {
3030
"commit": "cc9778fbe4fa1a709be2abed9deb6180fd40e7e2"
3131
}
32-
}
32+
}

tests/cpu/ipex-optimize-ddp-static-graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ def env2int(env_list, default=-1):
5454
loss.backward()
5555
opt.step()
5656
if i == 9:
57-
print(f"Resume training successfully, final lose = {loss.item()}")
57+
print(f"Resume training successfully, final lose = {loss.detach().item()}")

0 commit comments

Comments
 (0)