Skip to content

Commit 10f46d7

Browse files
committed
formatting
Signed-off-by: Ye Yu <[email protected]>
1 parent b83f66b commit 10f46d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modelopt/torch/export/plugins/hf_spec_export.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import torch.nn as nn
2020

2121

22-
def eagle_state_dict_key_convert(num_hidden_layers: int = 1) -> list[str]:
22+
def eagle_state_dict_key_convert(num_hidden_layers: int = 1) -> dict[str, dict[str, str]]:
2323
"""Convert our eagle model state dict key to official format key(s)."""
2424
assert num_hidden_layers >= 1, "num_hidden_layers should be at least 1."
2525
eagle_modelopt_to_official = {

0 commit comments

Comments
 (0)