Skip to content

mlf-core: a framework for deterministic machine learning #361

Open

Description

@agitter

This paper dives into sources of non-determinism in machine learning frameworks: https://arxiv.org/abs/2104.07651

It would be a great reference for our paragraph that starts

One specific reproducibility pitfall that is often missed in applying deep learning is the default use of non-deterministic algorithms by CUDA/CuDNN backends when using GPUs.

I could add it now or wait until the next version if we're still considering this content frozen for submission.

Activity

  1. added
    paper
    on May 14, 2021
  2. rasbt commented on May 14, 2021

    @rasbt
    Collaborator

    I think this is indeed a nice paper discussing the fact that in deep learning, it is (1) not only important to use fixed random seeds but (2) also to use deterministic algorithms.

    The tool that comes with the paper seems a bit overkill though since most DL frameworks have the choice of deterministic algorithms build in now, e.g., in PyToch

    torch.use_deterministic_algorithms(True)
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    paper

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions