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
wangkx1
text-generation-inference-dcu
Commits
9822d7f6
Commit
9822d7f6
authored
Nov 20, 2024
by
wangkx1
Browse files
Update README.md
parent
366dfe82
Pipeline
#1941
failed with stages
in 0 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
README.md
README.md
+8
-2
No files found.
README.md
View file @
9822d7f6
...
...
@@ -51,15 +51,21 @@ rm -f $PROTOC_ZIP
```
3.
安装TGI Service
```
bash
git clone http://developer.hpccube.com/codes/OpenDAS/text-generation-inference.git
# 根据需要的分支进行切换
git clone http://developer.hpccube.com/codes/wangkx1/text_generation_server-dcu.git
# 根据需要的分支进行切换
cd
text-generation-inference
pip config
set
global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
pip
install
-r
pre_requirements.txt
#安装exllama
cd
server
make install-exllama
#安装exllama kernels
make install-exllamav2
#安装exllmav2 kernels
cd
..
#回到项目根目录
source
$HOME
/.cargo/env
BUILD_EXTENSIONS
=
True make
install
#安装text-generation服务
```
4.
安装benchmark
```
bash
...
...
@@ -68,7 +74,7 @@ make install-benchmark
```
注意:若安装过程过慢,可以通过如下命令修改默认源提速。
```
bash
pip config
set
global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
```
另外,
`cargo install`
太慢也可以通过在
`~/.cargo/config`
中添加源来提速。
...
...
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