Skip to content

DeterministicEngine improvement #2754

@louis-she

Description

@louis-she
  • remove torch.cuda.manual_seed_all(seed) here as torch.manual_seed(seed) will seed CUDA if it has CUDA enabled.
  • try to use torch.use_deterministic_algorithms(True) if torch has it instead of torch.backends.cudnn.deterministic = True, as the later only makes convolutional deterministic.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions