Skip to content

Commit fac30cc

Browse files
authored
change version to 2.4rc (#1482)
1 parent bf7efc0 commit fac30cc

File tree

19 files changed

+71
-71
lines changed

19 files changed

+71
-71
lines changed

demo/dygraph/dist/bert/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ TinyBERT蒸馏流程图
2929

3030
```shell
3131
pip install paddlenlp
32-
pip install paddlepaddle_gpu
32+
pip install paddlepaddle_gpu==2.4rc0
3333
```
3434

3535
## 数据、预训练模型介绍及获取

demo/dygraph/unstructured_pruning/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
## 版本要求
1010
```bash
1111
python3.5+
12-
paddlepaddle>=2.2.0
13-
paddleslim>=2.2.0
12+
paddlepaddle>=2.4rc0
13+
paddleslim>=2.4rc
1414
```
1515

1616
请参照github安装[paddlepaddle](https://github.com/PaddlePaddle/Paddle)[paddleslim](https://github.com/PaddlePaddle/PaddleSlim)

demo/ofa/bert/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ BERT-base模型是一个迁移能力很强的通用语义表示模型,但是
183183

184184
```shell
185185
pip install paddlenlp
186-
pip install paddlepaddle_gpu>=2.0rc1
186+
pip install paddlepaddle_gpu==2.4rc0
187187
```
188188

189189
### 2.2 Fine-tuing

demo/quant/BiBERT/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This tutorial uses the GLUE/SST-2 dataset as an example to perform 1-bit quantiz
1616

1717
```shell
1818
pip install paddlenlp
19-
pip install paddlepaddle_gpu
19+
pip install paddlepaddle_gpu==2.4rc0
2020
```
2121

2222
### Acquisition of data and training models

demo/quant/quant_post/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
### 环境准备
1212

13-
PaddlePaddle >= 2.3 或develop版本
13+
PaddlePaddle >= 2.4rc0 或develop版本
1414

1515
### 准备数据
1616

demo/unstructured_prune/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
## 版本要求
1010
```bash
1111
python3.5+
12-
paddlepaddle>=2.2.0
13-
paddleslim>=2.2.0
12+
paddlepaddle>=2.4rc0
13+
paddleslim>=2.4rc
1414
```
1515

1616
请参照github安装[PaddlePaddle](https://github.com/PaddlePaddle/Paddle)[PaddleSlim](https://github.com/PaddlePaddle/PaddleSlim)

example/auto_compression/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -94,19 +94,19 @@ ACT相比传统的模型压缩方法,
9494

9595
## **环境准备**
9696

97-
- 安装PaddlePaddle >= 2.3.2:(可以参考[飞桨官网安装文档](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装)
97+
- 安装PaddlePaddle >= 2.4rc0:(可以参考[飞桨官网安装文档](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装)
9898

9999
```shell
100100
# CPU
101-
pip install paddlepaddle --upgrade
101+
pip install paddlepaddle==2.4rc0
102102
# GPU 以CUDA11.2为例
103-
python -m pip install paddlepaddle-gpu==2.3.2.post112 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html
103+
python -m pip install paddlepaddle_gpu==2.4rc0 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html
104104
```
105105

106-
- 安装PaddleSlim >=2.3.3
106+
- 安装PaddleSlim 2.4rc
107107

108108
```shell
109-
pip install paddleslim==2.3.3
109+
pip install paddleslim==2.4rc
110110
```
111111

112112
## **快速开始**

example/auto_compression/detection/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -35,22 +35,22 @@
3535
## 3. 自动压缩流程
3636

3737
#### 3.1 准备环境
38-
- PaddlePaddle >= 2.3 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装)
39-
- PaddleSlim >= 2.3
38+
- PaddlePaddle >= 2.4rc0 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装)
39+
- PaddleSlim >= 2.4rc
4040
- PaddleDet >= 2.4
4141
- opencv-python
4242

4343
安装paddlepaddle:
4444
```shell
4545
# CPU
46-
pip install paddlepaddle==2.3.2
46+
pip install paddlepaddle==2.4rc0
4747
# GPU 以Ubuntu、CUDA 11.2为例
48-
python -m pip install paddlepaddle-gpu==2.3.2.post112 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html
48+
python -m pip install paddlepaddle_gpu==2.4rc0 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html
4949
```
5050

5151
安装paddleslim:
5252
```shell
53-
pip install paddleslim
53+
pip install paddleslim==2.4rc
5454
```
5555

5656
安装paddledet:

example/auto_compression/image_classification/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -57,20 +57,20 @@
5757
#### 3.1 准备环境
5858

5959
- python >= 3.6
60-
- PaddlePaddle >= 2.3 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装)
61-
- PaddleSlim >= 2.3
60+
- PaddlePaddle >= 2.4rc0 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装)
61+
- PaddleSlim >= 2.4rc
6262

6363
安装paddlepaddle:
6464
```shell
6565
# CPU
66-
pip install paddlepaddle
66+
pip install paddlepaddle==2.4rc0
6767
# GPU
68-
pip install paddlepaddle-gpu
68+
pip install paddlepaddle_gpu==2.4rc0
6969
```
7070

7171
安装paddleslim:
7272
```shell
73-
pip install paddleslim
73+
pip install paddleslim==2.4rc
7474
```
7575

7676
#### 3.2 准备数据集

example/auto_compression/nlp/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,21 @@
4747

4848
#### 3.1 准备环境
4949
- python >= 3.6
50-
- PaddlePaddle >= 2.3 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装)
50+
- PaddlePaddle >= 2.4rc0 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装)
5151
- PaddleSlim >= 2.3
5252
- PaddleNLP >= 2.3
5353

5454
安装paddlepaddle:
5555
```shell
5656
# CPU
57-
pip install paddlepaddle
57+
pip install paddlepaddle==2.4rc0
5858
# GPU
59-
pip install paddlepaddle-gpu
59+
pip install paddlepaddle_gpu==2.4rc0
6060
```
6161

6262
安装paddleslim:
6363
```shell
64-
pip install paddleslim
64+
pip install paddleslim==2.4rc
6565
```
6666

6767
安装paddlenlp:

example/auto_compression/ocr/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,20 @@
2929
#### 3.1 准备环境
3030

3131
- python >= 3.6
32-
- PaddlePaddle >= 2.3 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装)
33-
- PaddleSlim >= 2.3
32+
- PaddlePaddle >= 2.4rc0 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装)
33+
- PaddleSlim >= 2.4rc
3434

3535
安装paddlepaddle:
3636
```shell
3737
# CPU
38-
pip install paddlepaddle
38+
pip install paddlepaddle==2.4rc0
3939
# GPU
40-
pip install paddlepaddle-gpu
40+
pip install paddlepaddle_gpu==2.4rc0
4141
```
4242

4343
安装paddleslim:
4444
```shell
45-
pip install paddleslim
45+
pip install paddleslim==2.4rc
4646
```
4747

4848
#### 3.2 准备数据集

example/auto_compression/pytorch_huggingface/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
## 3. 自动压缩流程
4141
#### 3.1 准备环境
4242
- python >= 3.6
43-
- PaddlePaddle >= 2.3 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装)
44-
- PaddleSlim >= 2.3
43+
- PaddlePaddle >= 2.4rc0 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装)
44+
- PaddleSlim >= 2.4rc
4545
- X2Paddle develop版本
4646
- transformers >= 4.18.0
4747
- PaddleNLP >= 2.3
@@ -52,14 +52,14 @@
5252
安装paddlepaddle:
5353
```shell
5454
# CPU
55-
pip install paddlepaddle
55+
pip install paddlepaddle==2.4rc0
5656
# GPU
57-
pip install paddlepaddle-gpu
57+
pip install paddlepaddle_gpu==2.4rc0
5858
```
5959

6060
安装paddleslim:
6161
```shell
62-
pip install paddleslim
62+
pip install paddleslim==2.4rc
6363
```
6464

6565
安装X2Paddle:

example/auto_compression/pytorch_yolo_series/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,20 @@
4545
## 3. 自动压缩流程
4646

4747
#### 3.1 准备环境
48-
- PaddlePaddle >= 2.3.2版本 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)根据相应环境的安装指令进行安装)
48+
- PaddlePaddle >= 2.4rc0版本 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)根据相应环境的安装指令进行安装)
4949
- PaddleSlim develop 版本
5050

5151
(1)安装paddlepaddle
5252
```
5353
# CPU
54-
pip install paddlepaddle==2.3.2
54+
pip install paddlepaddle==2.4rc0
5555
# GPU 以Ubuntu、CUDA 11.2为例
56-
python -m pip install paddlepaddle-gpu==2.3.2.post112 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html
56+
python -m pip install paddlepaddle_gpu==2.4rc0 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html
5757
```
5858

59-
(2)安装paddleslim>=2.3.3
59+
(2)安装paddleslim>=2.4rc
6060
```shell
61-
pip install paddleslim==2.3.3
61+
pip install paddleslim==2.4rc
6262
```
6363

6464

example/auto_compression/semantic_segmentation/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,21 @@
4747

4848
#### 3.1 准备环境
4949

50-
- PaddlePaddle >= 2.3 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装)
51-
- PaddleSlim >= 2.3
50+
- PaddlePaddle >= 2.4rc0 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装)
51+
- PaddleSlim >= 2.4rc
5252
- PaddleSeg == 2.5.0
5353

5454
安装paddlepaddle:
5555
```shell
5656
# CPU
57-
pip install paddlepaddle
57+
pip install paddlepaddle==2.4rc0
5858
# GPU
59-
pip install paddlepaddle-gpu
59+
pip install paddlepaddle_gpu==2.4rc0
6060
```
6161

6262
安装paddleslim:
6363
```shell
64-
pip install paddleslim
64+
pip install paddleslim==2.4rc
6565
```
6666

6767
准备paddleslim示例代码:

example/auto_compression/tensorflow_mobilenet/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,22 @@
3131
## 3. 自动压缩流程
3232

3333
#### 3.1 准备环境
34-
- PaddlePaddle >= 2.3 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装)
35-
- PaddleSlim >= 2.3
34+
- PaddlePaddle >= 2.4rc0 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装)
35+
- PaddleSlim >= 2.4rc
3636
- [X2Paddle](https://github.com/PaddlePaddle/X2Paddle) >= 1.3.6
3737
- opencv-python
3838

3939
(1)安装paddlepaddle:
4040
```shell
4141
# CPU
42-
pip install paddlepaddle
42+
pip install paddlepaddle==2.4rc0
4343
# GPU
44-
pip install paddlepaddle-gpu
44+
pip install paddlepaddle_gpu==2.4rc0
4545
```
4646

4747
(2)安装paddleslim:
4848
```shell
49-
pip install paddleslim
49+
pip install paddleslim==2.4rc
5050
```
5151

5252
(3)安装TensorFlow:

example/full_quantization/image_classification/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,20 @@
3131
#### 3.1 准备环境
3232

3333
- python >= 3.6
34-
- PaddlePaddle >= 2.3 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装)
35-
- PaddleSlim >= 2.3
34+
- PaddlePaddle >= 2.4rc0 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装)
35+
- PaddleSlim >= 2.4rc
3636

3737
安装paddlepaddle:
3838
```shell
3939
# CPU
40-
pip install paddlepaddle
40+
pip install paddlepaddle==2.4rc0
4141
# GPU
42-
pip install paddlepaddle-gpu
42+
pip install paddlepaddle_gpu==2.4rc0
4343
```
4444

4545
安装paddleslim:
4646
```shell
47-
pip install paddleslim
47+
pip install paddleslim==2.4rc
4848
```
4949

5050
#### 3.2 准备数据集

example/full_quantization/picodet/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,22 @@
3030
## 3. 全量化流程
3131

3232
#### 3.1 准备环境
33-
- PaddlePaddle >= 2.3 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装)
34-
- PaddleSlim >= 2.3.4
33+
- PaddlePaddle >= 2.4rc0 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装)
34+
- PaddleSlim >= 2.4rc
3535
- PaddleDet >= 2.4
3636
- opencv-python
3737

3838
安装paddlepaddle:
3939
```shell
4040
# CPU
41-
pip install paddlepaddle
41+
pip install paddlepaddle==2.4rc0
4242
# GPU
43-
pip install paddlepaddle-gpu
43+
pip install paddlepaddle_gpu==2.4rc0
4444
```
4545

4646
安装paddleslim:
4747
```shell
48-
pip install paddleslim
48+
pip install paddleslim==2.4rc
4949
```
5050

5151
安装paddledet:

example/post_training_quantization/detection/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -35,22 +35,22 @@
3535
## 3. 离线量化流程
3636

3737
#### 3.1 准备环境
38-
- PaddlePaddle >= 2.3 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装)
39-
- PaddleSlim >= 2.3
38+
- PaddlePaddle >= 2.4rc0 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装)
39+
- PaddleSlim >= 2.4rc
4040
- PaddleDet >= 2.4
4141
- opencv-python
4242

4343
安装paddlepaddle:
4444
```shell
4545
# CPU
46-
pip install paddlepaddle
46+
pip install paddlepaddle==2.4rc0
4747
# GPU
48-
pip install paddlepaddle-gpu
48+
pip install paddlepaddle_gpu==2.4rc0
4949
```
5050

5151
安装paddleslim:
5252
```shell
53-
pip install paddleslim
53+
pip install paddleslim==2.4rc
5454
```
5555

5656
安装paddledet:

0 commit comments

Comments
 (0)