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
OpenDAS
Lmdeploy
Commits
584eff63
Commit
584eff63
authored
Nov 30, 2023
by
xiabo
Browse files
Update README.md
parent
b9ef84ab
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
README.md
README.md
+6
-0
No files found.
README.md
View file @
584eff63
...
@@ -52,6 +52,11 @@ scl enable devtoolset-9 bash
...
@@ -52,6 +52,11 @@ scl enable devtoolset-9 bash
# 执行dtk环境变量
# 执行dtk环境变量
source {DTK_PATH}/env.sh
source {DTK_PATH}/env.sh
source {DTK_PATH}/cuda/env.sh
source {DTK_PATH}/cuda/env.sh
export GPU_MAX_HW_QUEUES=4
export HIP_DIRECT_DISPATCH=0
export GPU_FLUSH_ON_EXECUTION=1
export AMD_SERIALIZE_KERNEL=1
export AMD_SERIALIZE_COPY=1
```
```
#### 源码编译安装
#### 源码编译安装
...
@@ -74,6 +79,7 @@ make -j 32 && make install
...
@@ -74,6 +79,7 @@ make -j 32 && make install
cd .. && python3 setup.py bdist_wheel
cd .. && python3 setup.py bdist_wheel
cd dist && pip3 install lmdeploy*
cd dist && pip3 install lmdeploy*
```
```
## 模型服务
## 模型服务
### 部署 [LLaMA](https://huggingface.co/huggyllama) 服务
### 部署 [LLaMA](https://huggingface.co/huggyllama) 服务
...
...
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