【求助帖】 24.10 ,7-Chinese LLaMA Alpaca系列模型OpenAI API调用实现。模型启动后访问失败。 #507
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: HswOAuth/llm_course#507
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
根据图1教程,在Win1的Wsld的Ubuntu 22.04 发行版中完成部署。


llama3-chinese 正常启动,Nvidia-smi 显存占用11G。
为什么Nexchar 发送消息失败呢?
从监听的窗口来看,网络是通的(提交数据后,会有提示Invalid HTTP request received.)
Nexchar设置、数据提交后的反馈,如图2所示。
使用WLS 子系统的IP 依然不行。
另外,替换了,openai_api_server .py
后,退出时汇报错。
是http而不是https
修改为http后,报错。




错误信息如下:
今天,我按照教程 重新操作了一遍。 主要指令如下:

requirements.txt是否使用了老师提供的?麻烦将requirements.txt内容贴出来,方便排查问题。
我是按照老师给的编辑的,内容如下:
accelerate==0.30.0
aiohttp==3.9.5
aiosignal==1.3.1
annotated-types==0.6.0
anyio==4.3.0
async-timeout==4.0.3
attrs==23.2.0
bitsandbytes==0.43.1
certifi==2024.2.2
charset-normalizer==3.3.2
click==8.1.7
datasets==2.20.0
deepspeed==0.13.1
dill==0.3.7
dnspython==2.6.1
einops==0.8.0
email_validator==2.1.1
exceptiongroup==1.2.1
fastapi==0.109.2
fastapi-cli==0.0.3
filelock==3.14.0
frozenlist==1.4.1
fsspec==2023.10.0
h11==0.14.0
hjson==3.1.0
httpcore==1.0.5
httptools==0.6.1
pydantic_core==2.18.2
Pygments==2.18.0
pynvml==11.5.0
python-dateutil==2.9.0.post0
python-decouple==3.8
python-dotenv==1.0.1
python-multipart==0.0.9
pytz==2024.1
PyYAML==6.0.1
regex==2024.4.28
requests==2.32.3
rich==13.7.1
safetensors==0.4.3
scikit-learn==1.3.2
scipy==1.10.1
shellingham==1.5.4
shortuuid==1.0.13
six==1.16.0
sniffio==1.3.1
sse-starlette==2.1.0
starlette==0.36.3
sympy==1.12
threadpoolctl==3.5.0
tokenizers==0.19.1
torch==2.1.2
tqdm==4.66.4
transformers==4.41.2
triton==2.1.0
typer==0.12.3
typing_extensions==4.11.0
tzdata==2024.1
ujson==5.9.0
urllib3==2.2.1
uvicorn==0.29.0
uvloop==0.19.0
watchfiles==0.21.0
websockets==12.0
xxhash==3.4.1
yarl==1.9.4
编辑器是gedit ,如果有必要我也可以导出一份wsl 子系统的备份文件,提供给您。
你的requirements.txt和老师上课时候提供的内容似乎不一样。
