Skip to content

Rename torch.set_deterministic for more clarity #49100

@kurtamohler

Description

@kurtamohler

The name set_deterministic does 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_ops
  • use_deterministic_operations (at the moment, I prefer this one)
  • use_deterministic_algorithms

Metadata

Metadata

Assignees

Labels

enhancementNot 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 module

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions