transformers
[WIP] Enable reproducibility for distributed trainings
#16907
Merged

[WIP] Enable reproducibility for distributed trainings #16907

hasansalimkanmaz
hasansalimkanmaz add seed worker and set_deterministic_seed_for_cuda function to enfor…
87ac401e
HuggingFaceDocBuilderDev
saattrupdan
saattrupdan requested changes on 2022-04-24
hasansalimkanmaz change function name to enable determinism, add docstrings, reproduca…
df538119
hasansalimkanmaz change function name to enable_determinism_for_distributed_training
041d20d3
sgugger
sgugger approved these changes on 2022-04-25
LysandreJik
LysandreJik commented on 2022-04-25
hasansalimkanmaz
sgugger
sgugger commented on 2022-04-27
hasansalimkanmaz revert changes in set_seed and call set_seed within enable_full_deter…
77e8308b
hasansalimkanmaz Merge remote-tracking branch 'upstream/main' into enable-reproducibil…
2e40858e
hasansalimkanmaz add one position argument for seed_worker function
7ee6c681
hasansalimkanmaz
sgugger
hasansalimkanmaz add full_determinism flag in training args and call enable_full_deter…
43b3669f
hasansalimkanmaz add enable_full_determinism to documentation
3c1e31ac
hasansalimkanmaz apply make fixup after the last commit
f8f89269
hasansalimkanmaz
sgugger
sgugger approved these changes on 2022-05-11
hasansalimkanmaz Update src/transformers/training_args.py
1066995c
hasansalimkanmaz
sgugger
sgugger sgugger merged c33f6046 into main 3 years ago
hasansalimkanmaz hasansalimkanmaz deleted the enable-reproducibility-during-distributed-training branch 3 years ago
alexcoca
saattrupdan
alexcoca
alexcoca
sgugger
alexcoca
hasansalimkanmaz

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone