"""Run exact timing/swap checks with deterministic CUDA algorithms.

The first run used nondeterministic GPU convolutions, so exact inequality
marked roundoff noise as 20 seconds of lookahead. Keep exact comparisons and
force deterministic algorithms instead of masking potentially small leaks.
"""
import os
os.environ.setdefault('CUBLAS_WORKSPACE_CONFIG', ':4096:8')
import torch
torch.use_deterministic_algorithms(True)
torch.backends.cudnn.benchmark = False
torch.backends.cudnn.deterministic = True
import bmms_env_checks as check
from bmms_enhanced_model import BMMSEnhanced
check.BMMSEnv=BMMSEnhanced
if __name__=='__main__':check.main()
