Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
agitter opened this issue May 14, 2021 · 1 comment
Open

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

agitter opened this issue May 14, 2021 · 1 comment
Labels
paper Papers we should cite

Comments

@agitter
Copy link
Collaborator

agitter commented May 14, 2021

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.

@agitter agitter added the paper Papers we should cite label May 14, 2021
@rasbt
Copy link
Collaborator

rasbt commented May 14, 2021

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
Labels
paper Papers we should cite
Projects
None yet
Development

No branches or pull requests

2 participants