[Bugfix] Fix the remaining Python 3.10 breakages (#7985)
Signed-off-by: Armaan Amatya <armaanamatya2014@gmail.com> Signed-off-by: Yueqian Lin <70319226+linyueqian@users.noreply.github.com> Co-authored-by: Yueqian Lin <70319226+linyueqian@users.noreply.github.com> Co-authored-by: Hongsheng Liu <liuhongsheng4@huawei.com>
This commit is contained in:
8 files changed
+51
-8
No files matched your search
+3
-1
@@ -19,7 +19,9 @@ import functools
|
||||
import math
|
||||
from collections.abc import Callable
|
||||
from contextlib import contextmanager
|
||||
from typing import Any, Concatenate
|
||||
from typing import Any
|
||||
|
||||
from typing_extensions import Concatenate
|
||||
|
||||
import torch
|
||||
from omegaconf import DictConfig
|
||||
|
||||
Reference in new issue
Block a user