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

guarantee result reproducibility with seed #228

Open
Bae-SungHan opened this issue Dec 9, 2024 · 1 comment
Open

guarantee result reproducibility with seed #228

Bae-SungHan opened this issue Dec 9, 2024 · 1 comment

Comments

@Bae-SungHan
Copy link

Hi.

Doing inference with command chai fold {input_fasta} {ouptut_dir} --seed {input_seed} doesn't guarantee fixed result for given seed.
Is there any other things to consider for result reproduciblity?

Thx.

@arogozhnikov
Copy link
Contributor

arogozhnikov commented Dec 9, 2024

Hi @Bae-SungHan

yeah, some operations we use are not deterministic.

You can try using use_deterministic_algorithms
https://pytorch.org/docs/stable/notes/randomness.html#avoiding-nondeterministic-algorithms

But IIRC it will fail and demand recompiling pytorch to include deterministic version for some operations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants