Skip to content

Commit 2e07e63

Browse files
authored
Fix: incorrect comparison operator for normalizer check
1 parent c18b583 commit 2e07e63

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bergson/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ def __post_init__(self):
251251
# torch.set_float32_matmul_precision('high')
252252
torch.backends.cuda.matmul.allow_tf32 = True
253253

254-
if self.normalizer !== "none":
254+
if self.normalizer != "none":
255255
raise NotImplementedError(
256256
"We have not empirically validated optimizer normalization. "
257257
"Use at your own risk. "

0 commit comments

Comments
 (0)