Skip to content

Commit eace225

Browse files
authored
Fix test_aoti_torch_cuda__weight_int4pack_mm (#15529)
Summary: Remove out-dated unit test. Code logic was changed, since the output tensor ptr can point to null, but I forgot to update the corresponding unit test. Reviewed By: Gasoonjia Differential Revision: D85156554
1 parent b051f61 commit eace225

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

backends/cuda/runtime/shims/tests/test_aoti_torch_cuda__weight_int4pack_mm.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -264,15 +264,6 @@ TEST_F(AOTITorchInt4MMTest, NullInputHandling) {
264264
EXPECT_EQ(error, Error::InvalidArgument)
265265
<< "Should fail with null output pointer";
266266
}
267-
268-
// Test null output tensor (ret0 points to null)
269-
{
270-
Tensor* null_output = nullptr;
271-
AOTITorchError error = aoti_torch_cuda__weight_int4pack_mm(
272-
A, B, qGroupSize, qScaleAndZeros, &null_output);
273-
EXPECT_EQ(error, Error::InvalidArgument)
274-
<< "Should fail with null output tensor";
275-
}
276267
}
277268

278269
// Test with larger batch size

0 commit comments

Comments
 (0)