sentence-embedding
copied
Update accelerate
Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
@ -25,7 +25,11 @@ from transformers import AutoTokenizer, AutoConfig, AutoModel, AutoModelForMaske
from towhee.operator import NNOperator
from towhee import register
# from towhee.dc2 import accelerate
try:
from towhee import accelerate
except:
def accelerate(func):
return func
import warnings
import logging