Skip to content

Commit 5cd025c

Browse files
committed
Update
[ghstack-poisoned]
1 parent 46650fe commit 5cd025c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/unit_tests/test_checkpoint.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,16 @@ class DummyJob:
6262

6363

6464
@dataclass
65-
class DummyExperimental:
66-
ft_replica_id = 0
67-
ft_group_size = 1
65+
class DummyFaultTolerance:
66+
replica_id = 0
67+
group_size = 1
6868

6969

7070
@dataclass
7171
class DummyJobConfig:
7272
checkpoint: DummyCheckpointConfig = field(default_factory=DummyCheckpointConfig)
7373
job: DummyJob = field(default_factory=DummyJob)
74-
experimental: DummyExperimental = field(default_factory=DummyExperimental)
74+
fault_tolerance: DummyFaultTolerance = field(default_factory=DummyFaultTolerance)
7575
ft_manager = None
7676

7777

0 commit comments

Comments
 (0)