Skip to content

Commit 5cfc0b9

Browse files
committed
manual seed in scan test
1 parent af7625a commit 5cfc0b9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/scan/test_scan_spmd.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
from torch_xla.distributed.spmd import mark_sharding, set_global_mesh, get_1d_mesh
88
import torch_xla.runtime as xr
99

10+
torch.manual_seed(12345)
11+
1012

1113
class ScanSpmdTest(unittest.TestCase):
1214

0 commit comments

Comments
 (0)