oweller2
commited on
Commit
•
89f14e5
1
Parent(s):
d4cfde8
remove breakpoint
Browse files- padding.py +0 -1
padding.py
CHANGED
@@ -73,7 +73,6 @@ def pad_input(
|
|
73 |
output[indices] = inputs
|
74 |
padded_inputs = output.view(batch, seqlen)
|
75 |
else:
|
76 |
-
breakpoint()
|
77 |
_, *rest = inputs.shape
|
78 |
output = torch.zeros(batch * seqlen, *rest, dtype=inputs.dtype, device=inputs.device)
|
79 |
output[indices] = inputs
|
|
|
73 |
output[indices] = inputs
|
74 |
padded_inputs = output.view(batch, seqlen)
|
75 |
else:
|
|
|
76 |
_, *rest = inputs.shape
|
77 |
output = torch.zeros(batch * seqlen, *rest, dtype=inputs.dtype, device=inputs.device)
|
78 |
output[indices] = inputs
|