提交 275b6311 编写于 作者: M Megvii Engine Team

fix(imperative): fix use collections error from python3.10

GitOrigin-RevId: 5dd019b336718c63a6eed96e10d7653f0b21b37d
上级 95ac0555
......@@ -6,7 +6,6 @@
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
import contextlib
from collections import Iterable
from ..module import Sequential
from ..module.module import Module, _access_structure
......
......@@ -3,9 +3,6 @@
source ${SRC_DIR}/scripts/whl/utils/utils.sh
ALL_PYTHON=${ALL_PYTHON}
# FIXME: now imperative py code do not support 3.10
# but megenginelite and megbrain support it, so we
# config with 3.10.1 now
FULL_PYTHON_VER="3.8.3 3.9.9 3.10.1"
if [[ -z ${ALL_PYTHON} ]]
then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册