Skip to content

Commit cf3844f

Browse files
mvpatel2000Saaketh Narayan
and
Saaketh Narayan
authored
Switch to log.info for deterministic mode (#3643)
Co-authored-by: Saaketh Narayan <[email protected]>
1 parent f76c2ff commit cf3844f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

composer/utils/reproducibility.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def configure_deterministic_mode():
127127
# See https://pytorch.org/docs/stable/generated/torch.use_deterministic_algorithms.html
128128
# and https://docs.nvidia.com/cuda/cublas/index.html#cublasApi_reproducibility
129129
os.environ['CUBLAS_WORKSPACE_CONFIG'] = ':4096:8'
130-
warnings.warn('Deterministic mode is activated. This will negatively impact performance.', category=UserWarning)
130+
log.info('Deterministic mode is activated. This will negatively impact performance.')
131131

132132

133133
def get_random_seed() -> int:

0 commit comments

Comments
 (0)