Skip to content

Commit 59e04c3

Browse files
committed
skip tests for AutoencoderTinyTests
1 parent 08211f7 commit 59e04c3

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

tests/models/autoencoders/test_models_autoencoder_tiny.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,22 @@ def test_effective_gradient_checkpointing(self):
173173
continue
174174
self.assertTrue(torch_all_close(param.grad.data, named_params_2[name].grad.data, atol=3e-2))
175175

176+
@unittest.skip(
177+
"The forward pass of AutoencoderTiny creates a torch.float32 tensor. This causes inference in compute_dtype=torch.bfloat16 to fail. To fix:\n"
178+
"1. Change the forward pass to be dtype agnostic.\n"
179+
"2. Unskip this test."
180+
)
181+
def test_layerwise_upcasting_inference(self):
182+
pass
183+
184+
@unittest.skip(
185+
"The forward pass of AutoencoderTiny creates a torch.float32 tensor. This causes inference in compute_dtype=torch.bfloat16 to fail. To fix:\n"
186+
"1. Change the forward pass to be dtype agnostic.\n"
187+
"2. Unskip this test."
188+
)
189+
def test_layerwise_upcasting_memory(self):
190+
pass
191+
176192

177193
@slow
178194
class AutoencoderTinyIntegrationTests(unittest.TestCase):

0 commit comments

Comments
 (0)