Skip to content

Commit

Permalink
Fix minor problems with a test
Browse files Browse the repository at this point in the history
Signed-off-by: Vibhu Jawa <vibhujawa@gmail.com>
  • Loading branch information
VibhuJawa committed Oct 25, 2024
1 parent 1a13dfc commit 8f2dd6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/backend/pytorch_backend/test_torch_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def __init__(self):
super().__init__()

def forward(self, batch):
output_size = len(batch)
output_size = len(batch["input_ids"])
return {
"a": torch.ones(output_size, device="cuda") * 1,
"b": torch.ones(output_size, device="cuda") * 2,
Expand Down

0 comments on commit 8f2dd6a

Please sign in to comment.