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
jerrrrry
infinilm
Commits
29a8da83
Commit
29a8da83
authored
Jun 17, 2025
by
PanZezhong
Browse files
add readme
parent
9b3eca6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
README.md
README.md
+25
-0
No files found.
README.md
0 → 100644
View file @
29a8da83
# InfiniCore-Infer
本项目是基于
[
`InfiniCore`
](
https://github.com/InfiniTensor/InfiniCore
)
的推理引擎。
## 使用方式
-
编译并安装
`InfiniCore`
。注意根据提示设置好
`INFINI_ROOT`
环境变量(默认为
`$HOME/.infini`
)。
-
编译并安装
`InfiniCore-Infer`
```
bash
xmake
&&
xmake
install
```
-
运行模型推理测试
```
bash
python jiuge.py
[
--cpu
|
--nvidia
|
--cambricon
|
--ascend
|
--metax
|
--moore
]
<path/to/model_dir>
[
n_device]
```
-
部署模型推理服务
```
bash
python launch_server.py
[
--cpu
|
--nvidia
|
--cambricon
|
--ascend
|
--metax
|
--moore
]
<path/to/model_dir>
[
n_device]
```
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