Open Jingzhenzxz opened 9 months ago
(chatglm1) D:\project\python-xm\LangChain-ChatGLM-Webui\modelscope>python app.py 2024-02-26 15:18:55,166 - modelscope - INFO - PyTorch version 2.2.1 Found. 2024-02-26 15:18:55,167 - modelscope - INFO - Loading ast index from C:\Users\qyy.cache\modelscope\ast_indexer 2024-02-26 15:18:55,348 - modelscope - INFO - Loading done! Current index file version is 1.12.0, with md5 975d57f028ccfb59f897d1a43145be7b and a total number of 964 components indexed D:\Anaconda\Anaconda\envs\chatglm1\Lib\site-packages\langchain\document_loaders__init__.py:36: LangChainDeprecationWarning: Importing document loaders from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:
from langchain_community.document_loaders import UnstructuredFileLoader
.
To install langchain-community run pip install -U langchain-community
.
warnings.warn(
D:\Anaconda\Anaconda\envs\chatglm1\Lib\site-packages\langchain\vectorstores__init__.py:35: LangChainDeprecationWarning: Importing vector stores from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:
from langchain_community.vectorstores import FAISS
.
To install langchain-community run pip install -U langchain-community
.
warnings.warn(
D:\Anaconda\Anaconda\envs\chatglm1\Lib\site-packages\pydantic_internal_fields.py:151: UserWarning: Field "modelid" has conflict with protected namespace "model".
You may be able to resolve this warning by setting model_config['protected_namespaces'] = ()
.
warnings.warn(
Traceback (most recent call last):
File "D:\project\python-xm\LangChain-ChatGLM-Webui\modelscope\app.py", line 223, in
大佬们,我运行
后出现了这个错误,请问怎么解决?
我的环境:centos7,python3.9,cuda11.8,torch2.1.0