Skip to content

Commit f7fa393

Browse files
committed
Disable train test until proper hardware is available.
1 parent feaa923 commit f7fa393

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

torchbenchmark/models/timm_efficientdet/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,10 @@ def get_module(self):
142142
for _, (input, target) in zip(range(self.eval_num_batch), self.loader_eval):
143143
return (self.eval_model, (input, target))
144144

145+
# Temporarily disable training because this will cause CUDA OOM in CI
146+
# TODO: re-enable this test when better hardware is available
145147
def train(self, niter=1):
148+
raise NotImplementedError("Disable this test because it causes CUDA OOM on Nvidia T4 GPU")
146149
if not self.device == "cuda":
147150
raise NotImplementedError("Only CUDA is supported by this model")
148151
if self.jit:

0 commit comments

Comments
 (0)