-
Notifications
You must be signed in to change notification settings - Fork 27.7k
Rename torch.set_deterministic for more clarity #49100
Copy link
Copy link
Closed
Labels
enhancementNot as big of a feature, but technically not a bug. Should be easy to fixNot as big of a feature, but technically not a bug. Should be easy to fixmodule: determinismtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Metadata
Metadata
Assignees
Labels
enhancementNot as big of a feature, but technically not a bug. Should be easy to fixNot as big of a feature, but technically not a bug. Should be easy to fixmodule: determinismtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
The name
set_deterministicdoes not effectively describe what the function does, and it should probably be renamed. The function configures PyTorch to use deterministic implementations of operations, if they are available. Or in other words, it enforces reproducibility.I would like to get the community's opinion about a better name for
set_deterministic, so please comment if you have any ideas!Here are a few options:
use_deterministic_opsuse_deterministic_operations(at the moment, I prefer this one)use_deterministic_algorithms