Skip to content

Trainer should invoke torch.use_deterministic_algorithms() #9544

@cowwoc

Description

@cowwoc

When Trainer(deterministic=True) then the implementation should invoke torch.use_deterministic_algorithms(True) under the hood, otherwise there is a chance that the underlying code will be non-deteministic.

Source: https://pytorch.org/docs/stable/generated/torch.use_deterministic_algorithms.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureIs an improvement or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions