Skip to content

Commit f7b8a7d

Browse files
committed
formatting
Signed-off-by: Ye Yu <yeyu@nvidia.com>
1 parent 87788d8 commit f7b8a7d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

modelopt/torch/export/plugins/hf_spec_export.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,12 @@ def __init__(self, model: nn.Module):
9292
self.model = model
9393

9494
@abstractmethod
95-
def export(self, export_dir: Path | str, dtype: torch.dtype | None = None):
95+
def export(
96+
self,
97+
export_dir: Path | str,
98+
dtype: torch.dtype | None = None,
99+
offline_specdec_input: dict | None = None,
100+
):
96101
"""Export the model to the deployment format."""
97102
raise NotImplementedError("Subclasses must implement this method.")
98103

0 commit comments

Comments
 (0)