Skip to content

Commit 32a4df5

Browse files
committed
fixing CI
Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags:
1 parent 50b60db commit 32a4df5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/quantization/quantize_/workflows/float8/test_float8_tensor.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -512,9 +512,9 @@ def test_moe_weight_reshape_ops(self):
512512
dim = 128
513513
hidden_dim = 256
514514

515-
moe1 = Experts(num_experts, dim, hidden_dim, dtype, device)
516-
moe2 = Experts(num_experts, dim, hidden_dim, dtype, device)
517-
moe_combined = Experts(num_experts, dim, 2 * hidden_dim, dtype, device)
515+
moe1 = nn.Sequential(Experts(num_experts, dim, hidden_dim, dtype, device))
516+
moe2 = nn.Sequential(Experts(num_experts, dim, hidden_dim, dtype, device))
517+
moe_combined = nn.Sequential(Experts(num_experts, dim, 2 * hidden_dim, dtype, device))
518518
input = torch.randn(batch_size, input_dim, dim, dtype=dtype, device=device)
519519

520520
moes = [moe1, moe2]

0 commit comments

Comments
 (0)