Open kxonechance opened 1 year ago
cli_demo能够正常运行,执行web_demo时,会在./model/retriever/filtering/contriver.py AutoModel.from_pretrained(query_encoder_path) core掉。
AutoModel.from_pretrained(query_encoder_path)
去掉 import gradio as gr,上述问题消失。所以,是gradio和transformer不兼容的问题么,确认过了,gradio和transformer的版本均与requirements一致
import gradio as gr
感谢尝试WebGLM!可以将报错信息(包括Traceback)截图或粘贴展示一下吗?
cli_demo能够正常运行,执行web_demo时,会在./model/retriever/filtering/contriver.py
AutoModel.from_pretrained(query_encoder_path)
core掉。去掉
import gradio as gr
,上述问题消失。所以,是gradio和transformer不兼容的问题么,确认过了,gradio和transformer的版本均与requirements一致