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
ModelZoo
phi-4_pytorch
Commits
ae16311e
"src/vscode:/vscode.git/clone" did not exist on "a53796270f3cf7c1291bf901ee18bee03bb19a3b"
Commit
ae16311e
authored
Feb 17, 2025
by
dcuai
Browse files
Update README.md
parent
05595e25
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
README.md
README.md
+2
-2
No files found.
README.md
View file @
ae16311e
...
...
@@ -106,13 +106,13 @@ HIP_VISIBLE_DEVICES=0,1 llamafactory-cli train examples/train_lora/phi-4_lora_sf
```
#注意:根据自己的模型切换文件中的模型位置并调整其他参数
cd /path/your_code_data/
python ./inference
_vllm
/phi_single_infer.py
python ./inference/phi_single_infer.py
```
### 单机多卡
```
HIP_VISIBLE_DEVICES=0,1 python ./inference
_vllm
/phi_multi_infer.py
HIP_VISIBLE_DEVICES=0,1 python ./inference/phi_multi_infer.py
```
其中,tensor_parallel_size=2为使用卡数,prompt为你想输入的内容。
...
...
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