【求助帖】prompt微调-xinference部署时报错 #380
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: HswOAuth/llm_course#380
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?
下载模型到本地后,部署时显示如下报错
操作以及模型文件如图二所示
可能是没有成功建立共享目录,可以手动把模型目录放到xinference镜像的/home下面
我的模型就是在xinference下,像图二中所显示的结构,/mnt/xinference/code-llama-sql。我在/mnt/xinference下用老师课件的代码启动docker,在xinference中设置模型路径如图一所示
你可以进入xinference镜像看下/home目录下面有没有code-llama-sql模型,没有就手动把模型目录放到xinference镜像的/home下面,xinference镜像的/home是本地的根目录
docker命令中设置的当前目录(/mnt/xinference)为/home目录,所以我在填写模型文件目录时填写的是/home/code-llama-sql。确定能找到模型,因为我填别的路径时显示的是does not exist,填/home/code-llama-sql时能找到模型但是如图所示报错。
已解决,开量化部署成功