We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ec5604 commit 4aae988Copy full SHA for 4aae988
1 file changed
tests/test_dtype_consistency.py
@@ -48,7 +48,7 @@ def _make_sample(dtype: torch.dtype) -> MaskedOlmoEarthSample:
48
)
49
50
51
-@pytest.mark.parametrize("dtype", [torch.float16, torch.bfloat16])
+@pytest.mark.parametrize("dtype", [torch.float16, torch.bfloat16, torch.float32])
52
def test_nano_encoder_forward_low_precision(dtype: torch.dtype) -> None:
53
"""Encoder forward pass must not raise a dtype mismatch in fp16 / bf16."""
54
model = OlmoEarthPretrain_v1(
0 commit comments