fix bug: undefined name 'partial' (#1941)

This commit is contained in:
Yifan Yang 2025-05-12 14:19:53 +08:00 committed by GitHub
parent cd7caf12df
commit 4627969ccd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -69,6 +69,7 @@ import argparse
import copy
import logging
import warnings
from functools import partial
from pathlib import Path
from typing import List, Optional, Tuple, Union