update readme
This commit is contained in:
parent
0ef093c1a2
commit
10f23a0cd3
|
@ -142,7 +142,7 @@ python openai_api_request.py
|
||||||
python trans_stress_test.py
|
python trans_stress_test.py
|
||||||
```
|
```
|
||||||
|
|
||||||
##使用昇腾卡运行代码
|
## 使用昇腾卡运行代码
|
||||||
|
|
||||||
用户可以在昇腾硬件环境下运行以上代码,只需将transformers修改为openmind,将device中的cuda设备修改为npu:
|
用户可以在昇腾硬件环境下运行以上代码,只需将transformers修改为openmind,将device中的cuda设备修改为npu:
|
||||||
|
|
||||||
|
|
|
@ -148,7 +148,7 @@ Users can use this code to test the generation speed of the model on the transfo
|
||||||
python trans_stress_test.py
|
python trans_stress_test.py
|
||||||
```
|
```
|
||||||
|
|
||||||
##Use Ascend card to run code
|
## Use Ascend card to run code
|
||||||
|
|
||||||
Users can run the above code in the Ascend hardware environment. They only need to change the transformers to openmind and the cuda device in device to npu.
|
Users can run the above code in the Ascend hardware environment. They only need to change the transformers to openmind and the cuda device in device to npu.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue