We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f1ec08 commit f5efdaeCopy full SHA for f5efdae
QEfficient/base/modeling_qeff.py
@@ -18,7 +18,6 @@
18
19
import onnx
20
import torch
21
-import torch.nn as nn
22
23
from QEfficient.base.onnx_transforms import OnnxTransform
24
from QEfficient.base.pytorch_transforms import PytorchTransform
@@ -121,7 +120,6 @@ def _export(
121
120
export_kwargs: Optional[Dict[str, any]] = None,
122
onnx_transform_kwargs: Optional[Dict[str, any]] = None,
123
export_dir: Optional[str] = None,
124
- model: nn.Module = None,
125
) -> str:
126
"""
127
Export the Pytorch model to ONNX.
0 commit comments