Skip to content

Commit 5115452

Browse files
committed
python < 3.12
Signed-off-by: Shengliang Xu <shengliangx@nvidia.com>
1 parent aecf832 commit 5115452

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modelopt/torch/quantization/config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,10 @@
150150
151151
"""
152152

153-
from typing import Any, Literal, TypedDict, cast
153+
from typing import Any, Literal, cast
154154

155155
from pydantic import ValidationInfo, field_validator, model_validator
156+
from typing_extensions import TypedDict
156157

157158
from modelopt.torch.opt.config import ModeloptBaseConfig, ModeloptField
158159
from modelopt.torch.utils.network import ConstructorLike

0 commit comments

Comments
 (0)