這是文字版 (直接在 cmd 抄下來)
C:\Users\manwong\Langchain-Chatchat>python startup.py -a
==============================Langchain-Chatchat Configuration==============================
操作系统:Windows-10-10.0.22631-SP0.
python版本:3.11.1 (tags/v3.11.1:a7a450f, Dec 6 2022, 19:58:39) [MSC v.1934 64 bit (AMD64)]
项目版本:v0.2.10
langchain版本:0.0.354. fastchat版本:0.2.35
当前使用的分词器:ChineseRecursiveTextSplitter
当前启动的LLM模型:['chatglm3-6b', 'zhipu-api', 'openai-api'] @ cuda
{'device': 'cuda',
'host': '127.0.0.1',
'infer_turbo': False,
'model_path': 'chatglm3-6b',
'model_path_exists': True,
'port': 20002}
{'api_key': '',
'device': 'auto',
'host': '127.0.0.1',
'infer_turbo': False,
'online_api': True,
'port': 21001,
'provider': 'ChatGLMWorker',
'version': 'glm-4',
'worker_class': <class 'server.model_workers.zhipu.ChatGLMWorker'>}
{'api_base_url': 'https://api.openai.com/v1',
'api_key': '',
'device': 'auto',
'host': '127.0.0.1',
'infer_turbo': False,
'model_name': 'gpt-4',
'online_api': True,
'openai_proxy': '',
'port': 20002}
当前Embbedings模型: bge-large-zh-v1.5 @ cuda
==============================Langchain-Chatchat Configuration==============================
2024-04-04 11:55:23,690 - startup.py[line:655] - INFO: 正在启动服务:
2024-04-04 11:55:23,690 - startup.py[line:656] - INFO: 如需查看 llm_api 日志,请前往 C:\Users\manwong\Langchain-Chatchat\logs
C:\Users\manwong\AppData\Roaming\Python\Python311\site-packages\langchain_core_api\deprecation.py:117: LangChainDeprecationWarning: 模型启动功能将于 Langchain-Chatchat 0.3.x重写,支持更多模式和加速启动,0.2.x中相关功能将废弃
warn_deprecated(
2024-04-04 11:55:29 | INFO | model_worker | Register to controller
2024-04-04 11:55:29 | ERROR | stderr | INFO: Started server process [29224]
2024-04-04 11:55:29 | ERROR | stderr | INFO: Waiting for application startup.
2024-04-04 11:55:29 | ERROR | stderr | INFO: Application startup complete.
2024-04-04 11:55:29 | ERROR | stderr | INFO: Uvicorn running on http://127.0.0.1:20000 (Press CTRL+C to quit)
2024-04-04 11:55:30 | INFO | model_worker | Loading the model ['chatglm3-6b'] on worker 739e7652 ...
2024-04-04 11:55:30 | WARNING | transformers_modules.chatglm3-6b.tokenization_chatglm | Setting eos_token is not supported, use the default one.
2024-04-04 11:55:30 | WARNING | transformers_modules.chatglm3-6b.tokenization_chatglm | Setting pad_token is not supported, use the default one.
2024-04-04 11:55:30 | WARNING | transformers_modules.chatglm3-6b.tokenization_chatglm | Setting unk_token is not supported, use the default one.
Loading checkpoint shards: 0%| | 0/7 [00:00<?, ?it/s]
Loading checkpoint shards: 14%|████████████▍ | 1/7 [00:00<00:02, 2.30it/s]
Loading checkpoint shards: 29%|████████████████████████▊ | 2/7 [00:00<00:02, 2.32it/s]
Loading checkpoint shards: 43%|█████████████████████████████████████▎ | 3/7 [00:01<00:01, 2.12it/s]
Loading checkpoint shards: 57%|█████████████████████████████████████████████████▋ | 4/7 [00:01<00:01, 2.04it/s]
Loading checkpoint shards: 71%|██████████████████████████████████████████████████████████████▏ | 5/7 [00:02<00:01, 1.95it/s]
Loading checkpoint shards: 86%|██████████████████████████████████████████████████████████████████████████▌ | 6/7 [00:03<00:00, 1.89it/s]
Loading checkpoint shards: 100%|███████████████████████████████████████████████████████████████████████████████████████| 7/7 [00:03<00:00, 2.14it/s]
Loading checkpoint shards: 100%|███████████████████████████████████████████████████████████████████████████████████████| 7/7 [00:03<00:00, 2.09it/s]
2024-04-04 11:55:34 | ERROR | stderr |
2024-04-04 11:55:35 | INFO | model_worker | Register to controller
INFO: Started server process [51176]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://127.0.0.1:7861 (Press CTRL+C to quit)
Process WEBUI Server:
Traceback (most recent call last):
File "C:\Program Files\Python311\Lib\multiprocessing\process.py", line 314, in bootstrap
self.run()
File "C:\Program Files\Python311\Lib\multiprocessing\process.py", line 108, in run
self.target(*self.args, **self.kwargs)
File "C:\Users\manwong\Langchain-Chatchat\startup.py", line 467, in run_webui
p = subprocess.Popen(cmd)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\subprocess.py", line 1024, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Program Files\Python311\Lib\subprocess.py", line 1493, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] 系統找不到指定的檔案。