Skip to content

Commit

Permalink
Derandomize all tests in fbgemm_gpu
Browse files Browse the repository at this point in the history
Reviewed By: zou3519

Differential Revision: D50895307

fbshipit-source-id: a5c0709fd1e8d96c38f446e1c922bb2ff54909d0
  • Loading branch information
ezyang authored and facebook-github-bot committed Nov 7, 2023
1 parent 308ffdc commit 0457bb7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fbgemm_gpu/test/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
import hypothesis.strategies as st
import numpy as np
import torch
from hypothesis import settings


settings.register_profile("derandomize", derandomize=True)
settings.load_profile("derandomize")


TEST_WITH_ROCM: bool = os.getenv("FBGEMM_TEST_WITH_ROCM", "0") == "1"
Expand Down

0 comments on commit 0457bb7

Please sign in to comment.