Chinese-LLaMA-Alpaca-3本地构建API可调用,但NextChat无法正常调用 #206
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
3 Participants
Notifications
Total Time Spent: 14 hours 14 minutes
Due Date
11153343824cs
14 hours 14 minutes
No due date set.
Dependencies
No dependencies set.
Reference: HswOAuth/llm_course#206
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?
是软件里配置错误了吗
我的接口地址是这个:http://172.18.56.62:19327/v1/completions
本地构建API可调用是什么意思呀?
我看你图上的操作都很对欸,API接口设置,包括在后面的LLAMA-CHINESE模型选择
可以提供更多的信息吗,我想看看你模型部署时候的输出,具体是在“python openai_api_server.py --gpus 0 --base_model /home/ganjialing/.cache/modelscope/hub/ChineseAlpacaGroup/llama-3-chinese-8b-instruct-v3”这句代码后的输出。
或者你可以对照一下这篇帖子里的步骤,写得满详细的,看看是不是有问题
llama3仿openai api实验
不知道为啥设置不了链接,是第#173号帖子
如果自己解决了可以告诉我一下出的什么问题嘛,贴在这篇帖子后面就好啦
llama3仿openai api实验, 提示我没权限访问这个链接
这个是我运行后的完整输出
您看下。
1. 这里很明显你的端口号是19327,这个是没问题哒~
但是请问一下你的实验是在本地电脑做的还是用的服务器呢?如果是远程服务器的话您的API接口地址设置为172.18.56.62:19327是没问题哒,但是如果就是用的自己的电脑的话应该设置为http://localhost:19327或者http://0.0.0.0:19327噢~
2. 没有权限访问这个链接
我不知道为什么我自己写的自己都没权限访问,不过你可以在汇视威论坛上搜#173会自动出来的~
找到问题了,和llama3仿openai api实验一样
通过这个命令解决了
更换版本后需要杀掉已经启动的服务进程,再启动新的服务
经过这些过程就可以了