Skip to content

Commit 254e546

Browse files
committed
polish: remove redundant init
Signed-off-by: h-guo18 <[email protected]>
1 parent bd8941b commit 254e546

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

examples/speculative_decoding/eagle_utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -361,9 +361,6 @@ def __call__(self, features: list[dict[str, Any]]) -> dict[str, Any]:
361361

362362

363363
class DataCollatorForOffline(DataCollatorWithPadding):
364-
def __init__(self, max_length=None):
365-
super().__init__(max_length=max_length)
366-
367364
def __call__(self, features: list[dict[str, Any]]) -> dict[str, Any]:
368365
base_batch = super().__call__(features)
369366
if "kwargs" not in features[0]:

0 commit comments

Comments
 (0)