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
7c6edc83
Unverified
Commit
7c6edc83
authored
Jul 06, 2023
by
pppppM
Committed by
GitHub
Jul 06, 2023
Browse files
add internlm url (#67)
parent
f56f3d87
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
README.md
README.md
+8
-0
README_zh-CN.md
README_zh-CN.md
+8
-0
No files found.
README.md
View file @
7c6edc83
...
...
@@ -74,6 +74,14 @@ pip install -e .
```
shell
# 1. Download InternLM model
# Make sure you have git-lfs installed (https://git-lfs.com)
git lfs
install
git clone https://huggingface.co/internlm/internlm-7b /path/to/internlm-7b
# if you want to clone without large files – just their pointers
# prepend your git clone with the following env var:
GIT_LFS_SKIP_SMUDGE
=
1
# 2. Convert InternLM model to turbomind's format, which will be in "./workspace" by default
python3
-m
lmdeploy.serve.turbomind.deploy internlm-7b /path/to/internlm-7b hf
...
...
README_zh-CN.md
View file @
7c6edc83
...
...
@@ -73,6 +73,14 @@ pip install -e .
```
shell
# 1. 下载 InternLM 模型
# Make sure you have git-lfs installed (https://git-lfs.com)
git lfs
install
git clone https://huggingface.co/internlm/internlm-7b /path/to/internlm-7b
# if you want to clone without large files – just their pointers
# prepend your git clone with the following env var:
GIT_LFS_SKIP_SMUDGE
=
1
# 2. 转换为 trubomind 要求的格式。默认存放路径为 ./workspace
python3
-m
lmdeploy.serve.turbomind.deploy internlm-7b /path/to/internlm-7b hf
...
...
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