Skip to content

Commit 3032955

Browse files
authored
Merge branch 'PaddlePaddle:develop' into dev_20250106_update_auto_tokenizer
2 parents 6f77eb5 + 95ae8a8 commit 3032955

File tree

35 files changed

+130
-34
lines changed

35 files changed

+130
-34
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
<!-- Demo: https://github.com/PaddlePaddle/PaddleNLP/pull/26 -->
2+
#### Before submitting
3+
4+
- [ ] Lint code. If there are lint issues, please format the code first.
5+
6+
```shell
7+
# Install and register `pre-commit` in the project folder
8+
pip install pre-commit && pre-commit install
9+
10+
# Process previous code files separately
11+
pre-commit run --file XXXX.py
12+
```
13+
14+
- [ ] Add test cases into `tests` folder. If there are codecov issues, please add tests cases first.
15+
216
### PR types
317
<!-- One of [ New features | Bug fixes | Function optimization | Performance optimization | Breaking changes | Others ] -->
418

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,8 @@ mkdir -p llm/data && cd llm/data
204204
wget https://bj.bcebos.com/paddlenlp/models/transformers/llama/data/llama_openwebtext_100k.bin
205205
wget https://bj.bcebos.com/paddlenlp/models/transformers/llama/data/llama_openwebtext_100k.idx
206206
cd .. # change folder to PaddleNLP/llm
207-
python -u -m paddle.distributed.launch --gpus "0,1,2,3,4,5,6,7" run_pretrain.py ./config/llama/pretrain_argument.json
207+
# 如需使用use_fused_rms_norm=true,需要前往slm/model_zoo/gpt-3/external_ops安装fused_ln
208+
python -u -m paddle.distributed.launch --gpus "0,1,2,3,4,5,6,7" run_pretrain.py ./config/llama/pretrain_argument.json --use_fused_rms_norm false
208209
```
209210

210211
### 大模型 SFT 精调
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../../llm/devices/dcu/llama/README.md
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../../llm/devices/gcu/llama/README.md
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../../llm/devices/iluvatar/llama/README.md
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../../llm/devices/intel_hpu/llama/README.md
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../../llm/devices/metax/llama/README.md
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../../llm/devices/mlu/llama/README.md
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../../llm/devices/mthreads/llama/README.md
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../../llm/devices/npu/llama/README.md

0 commit comments

Comments
 (0)