Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
voicechat2
Commits
0bbfb6e6
Commit
0bbfb6e6
authored
Aug 14, 2024
by
chenpangpang
Browse files
feat: 解决在不同gpu上需要重新编译的问题
parent
d948fb4e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
start.sh
start.sh
+1
-0
启动器.ipynb
启动器.ipynb
+1
-1
No files found.
start.sh
View file @
0bbfb6e6
#!/bin/bash
#!/bin/bash
cd
/root/voicechat2
cd
/root/voicechat2
cd
llama.cpp
&&
make clean
&&
make
GGML_CUDA
=
1
-j
&&
cd
..
python run.py
python run.py
\ No newline at end of file
启动器.ipynb
View file @
0bbfb6e6
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
},
},
"source": [
"source": [
"## 说明\n",
"## 说明\n",
"- 启动需要加载模型,需要
1
分钟左右的时间\n",
"- 启动需要
编译、
加载模型,需要
8
分钟左右的时间\n",
"- 启动和重启 Notebook 点上方工具栏中的「重启并运行所有单元格」,出现`Uvicorn running on http://0.0.0.0:8003 (Press CTRL+C to quit)`就成功,可以开启页面了\n",
"- 启动和重启 Notebook 点上方工具栏中的「重启并运行所有单元格」,出现`Uvicorn running on http://0.0.0.0:8003 (Press CTRL+C to quit)`就成功,可以开启页面了\n",
"- 通过以下方式开启页面:\n",
"- 通过以下方式开启页面:\n",
" - 控制台打开「自定义服务」了,访问自定义服务端口号设置为8000\n",
" - 控制台打开「自定义服务」了,访问自定义服务端口号设置为8000\n",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment