Skip to content

Commit cfadba4

Browse files
author
Your Name
committed
update
1 parent 2560179 commit cfadba4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

flagscale/train/utils/random_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
from flagscale.models.utils.constants import RNG_STATE
2828
from flagscale.train.datasets.utils import flatten_dict, unflatten_dict
2929

30+
cur_platform = get_platform()
3031

3132
def serialize_python_rng_state() -> dict[str, torch.Tensor]:
3233
"""

0 commit comments

Comments
 (0)