Merge branch 'hiyouga:main' into main

Former-commit-id: 0dd072703508f68fd4ee51b6648d0c7642a4cc93
This commit is contained in:
BUAADreamer
2024-05-10 20:34:41 +08:00
committed by GitHub
5 changed files with 20 additions and 6 deletions

View File

@@ -1,6 +1,8 @@
import os
from contextlib import asynccontextmanager
from typing import Annotated, Optional
from typing import Optional
from typing_extensions import Annotated
from ..chat import ChatModel
from ..extras.misc import torch_gc