From fac30cc7fbee20f2fdfca07a61c3164ebb55e234 Mon Sep 17 00:00:00 2001 From: ceci3 Date: Tue, 25 Oct 2022 18:53:35 +0800 Subject: [PATCH] change version to 2.4rc (#1482) --- demo/dygraph/dist/bert/README.md | 2 +- demo/dygraph/unstructured_pruning/README.md | 4 ++-- demo/ofa/bert/README.md | 2 +- demo/quant/BiBERT/README.md | 2 +- demo/quant/quant_post/README.md | 2 +- demo/unstructured_prune/README.md | 4 ++-- example/auto_compression/README.md | 10 +++++----- example/auto_compression/detection/README.md | 10 +++++----- .../auto_compression/image_classification/README.md | 10 +++++----- example/auto_compression/nlp/README.md | 8 ++++---- example/auto_compression/ocr/README.md | 10 +++++----- example/auto_compression/pytorch_huggingface/README.md | 10 +++++----- example/auto_compression/pytorch_yolo_series/README.md | 10 +++++----- .../auto_compression/semantic_segmentation/README.md | 10 +++++----- .../auto_compression/tensorflow_mobilenet/README.md | 10 +++++----- .../full_quantization/image_classification/README.md | 10 +++++----- example/full_quantization/picodet/README.md | 10 +++++----- example/post_training_quantization/detection/README.md | 10 +++++----- .../pytorch_yolo_series/README.md | 8 ++++---- 19 files changed, 71 insertions(+), 71 deletions(-) diff --git a/demo/dygraph/dist/bert/README.md b/demo/dygraph/dist/bert/README.md index 3d73a2dd..17a5930f 100644 --- a/demo/dygraph/dist/bert/README.md +++ b/demo/dygraph/dist/bert/README.md @@ -29,7 +29,7 @@ TinyBERT蒸馏流程图 ```shell pip install paddlenlp -pip install paddlepaddle_gpu +pip install paddlepaddle_gpu==2.4rc0 ``` ## 数据、预训练模型介绍及获取 diff --git a/demo/dygraph/unstructured_pruning/README.md b/demo/dygraph/unstructured_pruning/README.md index f03c8c25..aa0a1f05 100644 --- a/demo/dygraph/unstructured_pruning/README.md +++ b/demo/dygraph/unstructured_pruning/README.md @@ -9,8 +9,8 @@ ## 版本要求 ```bash python3.5+ -paddlepaddle>=2.2.0 -paddleslim>=2.2.0 +paddlepaddle>=2.4rc0 +paddleslim>=2.4rc ``` 请参照github安装[paddlepaddle](https://github.com/PaddlePaddle/Paddle)和[paddleslim](https://github.com/PaddlePaddle/PaddleSlim)。 diff --git a/demo/ofa/bert/README.md b/demo/ofa/bert/README.md index 7fbb071d..f1b663cd 100644 --- a/demo/ofa/bert/README.md +++ b/demo/ofa/bert/README.md @@ -183,7 +183,7 @@ BERT-base模型是一个迁移能力很强的通用语义表示模型,但是 ```shell pip install paddlenlp -pip install paddlepaddle_gpu>=2.0rc1 +pip install paddlepaddle_gpu==2.4rc0 ``` ### 2.2 Fine-tuing diff --git a/demo/quant/BiBERT/README.md b/demo/quant/BiBERT/README.md index 5e7daa31..7a963109 100644 --- a/demo/quant/BiBERT/README.md +++ b/demo/quant/BiBERT/README.md @@ -16,7 +16,7 @@ This tutorial uses the GLUE/SST-2 dataset as an example to perform 1-bit quantiz ```shell pip install paddlenlp -pip install paddlepaddle_gpu +pip install paddlepaddle_gpu==2.4rc0 ``` ### Acquisition of data and training models diff --git a/demo/quant/quant_post/README.md b/demo/quant/quant_post/README.md index 66f60938..0629c875 100755 --- a/demo/quant/quant_post/README.md +++ b/demo/quant/quant_post/README.md @@ -10,7 +10,7 @@ ### 环境准备 -PaddlePaddle >= 2.3 或develop版本 +PaddlePaddle >= 2.4rc0 或develop版本 ### 准备数据 diff --git a/demo/unstructured_prune/README.md b/demo/unstructured_prune/README.md index b25afcee..aab7f628 100644 --- a/demo/unstructured_prune/README.md +++ b/demo/unstructured_prune/README.md @@ -9,8 +9,8 @@ ## 版本要求 ```bash python3.5+ -paddlepaddle>=2.2.0 -paddleslim>=2.2.0 +paddlepaddle>=2.4rc0 +paddleslim>=2.4rc ``` 请参照github安装[PaddlePaddle](https://github.com/PaddlePaddle/Paddle)和[PaddleSlim](https://github.com/PaddlePaddle/PaddleSlim)。 diff --git a/example/auto_compression/README.md b/example/auto_compression/README.md index 4342aa16..e351ddae 100644 --- a/example/auto_compression/README.md +++ b/example/auto_compression/README.md @@ -94,19 +94,19 @@ ACT相比传统的模型压缩方法, ## **环境准备** -- 安装PaddlePaddle >= 2.3.2:(可以参考[飞桨官网安装文档](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装) +- 安装PaddlePaddle >= 2.4rc0:(可以参考[飞桨官网安装文档](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装) ```shell # CPU - pip install paddlepaddle --upgrade + pip install paddlepaddle==2.4rc0 # GPU 以CUDA11.2为例 - python -m pip install paddlepaddle-gpu==2.3.2.post112 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html + python -m pip install paddlepaddle_gpu==2.4rc0 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html ``` -- 安装PaddleSlim >=2.3.3: +- 安装PaddleSlim 2.4rc: ```shell - pip install paddleslim==2.3.3 + pip install paddleslim==2.4rc ``` ## **快速开始** diff --git a/example/auto_compression/detection/README.md b/example/auto_compression/detection/README.md index 40973d36..919038b4 100644 --- a/example/auto_compression/detection/README.md +++ b/example/auto_compression/detection/README.md @@ -35,22 +35,22 @@ ## 3. 自动压缩流程 #### 3.1 准备环境 -- PaddlePaddle >= 2.3 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装) -- PaddleSlim >= 2.3 +- PaddlePaddle >= 2.4rc0 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装) +- PaddleSlim >= 2.4rc - PaddleDet >= 2.4 - opencv-python 安装paddlepaddle: ```shell # CPU -pip install paddlepaddle==2.3.2 +pip install paddlepaddle==2.4rc0 # GPU 以Ubuntu、CUDA 11.2为例 -python -m pip install paddlepaddle-gpu==2.3.2.post112 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html +python -m pip install paddlepaddle_gpu==2.4rc0 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html ``` 安装paddleslim: ```shell -pip install paddleslim +pip install paddleslim==2.4rc ``` 安装paddledet: diff --git a/example/auto_compression/image_classification/README.md b/example/auto_compression/image_classification/README.md index 973c04e5..624a1075 100644 --- a/example/auto_compression/image_classification/README.md +++ b/example/auto_compression/image_classification/README.md @@ -57,20 +57,20 @@ #### 3.1 准备环境 - python >= 3.6 -- PaddlePaddle >= 2.3 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装) -- PaddleSlim >= 2.3 +- PaddlePaddle >= 2.4rc0 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装) +- PaddleSlim >= 2.4rc 安装paddlepaddle: ```shell # CPU -pip install paddlepaddle +pip install paddlepaddle==2.4rc0 # GPU -pip install paddlepaddle-gpu +pip install paddlepaddle_gpu==2.4rc0 ``` 安装paddleslim: ```shell -pip install paddleslim +pip install paddleslim==2.4rc ``` #### 3.2 准备数据集 diff --git a/example/auto_compression/nlp/README.md b/example/auto_compression/nlp/README.md index af1a5cf3..1336e0fd 100644 --- a/example/auto_compression/nlp/README.md +++ b/example/auto_compression/nlp/README.md @@ -47,21 +47,21 @@ #### 3.1 准备环境 - python >= 3.6 -- PaddlePaddle >= 2.3 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装) +- PaddlePaddle >= 2.4rc0 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装) - PaddleSlim >= 2.3 - PaddleNLP >= 2.3 安装paddlepaddle: ```shell # CPU -pip install paddlepaddle +pip install paddlepaddle==2.4rc0 # GPU -pip install paddlepaddle-gpu +pip install paddlepaddle_gpu==2.4rc0 ``` 安装paddleslim: ```shell -pip install paddleslim +pip install paddleslim==2.4rc ``` 安装paddlenlp: diff --git a/example/auto_compression/ocr/README.md b/example/auto_compression/ocr/README.md index 82c2d2bd..1a20eff0 100644 --- a/example/auto_compression/ocr/README.md +++ b/example/auto_compression/ocr/README.md @@ -29,20 +29,20 @@ #### 3.1 准备环境 - python >= 3.6 -- PaddlePaddle >= 2.3 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装) -- PaddleSlim >= 2.3 +- PaddlePaddle >= 2.4rc0 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装) +- PaddleSlim >= 2.4rc 安装paddlepaddle: ```shell # CPU -pip install paddlepaddle +pip install paddlepaddle==2.4rc0 # GPU -pip install paddlepaddle-gpu +pip install paddlepaddle_gpu==2.4rc0 ``` 安装paddleslim: ```shell -pip install paddleslim +pip install paddleslim==2.4rc ``` #### 3.2 准备数据集 diff --git a/example/auto_compression/pytorch_huggingface/README.md b/example/auto_compression/pytorch_huggingface/README.md index b7cc1437..866c7356 100644 --- a/example/auto_compression/pytorch_huggingface/README.md +++ b/example/auto_compression/pytorch_huggingface/README.md @@ -40,8 +40,8 @@ ## 3. 自动压缩流程 #### 3.1 准备环境 - python >= 3.6 -- PaddlePaddle >= 2.3 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装) -- PaddleSlim >= 2.3 +- PaddlePaddle >= 2.4rc0 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装) +- PaddleSlim >= 2.4rc - X2Paddle develop版本 - transformers >= 4.18.0 - PaddleNLP >= 2.3 @@ -52,14 +52,14 @@ 安装paddlepaddle: ```shell # CPU -pip install paddlepaddle +pip install paddlepaddle==2.4rc0 # GPU -pip install paddlepaddle-gpu +pip install paddlepaddle_gpu==2.4rc0 ``` 安装paddleslim: ```shell -pip install paddleslim +pip install paddleslim==2.4rc ``` 安装X2Paddle: diff --git a/example/auto_compression/pytorch_yolo_series/README.md b/example/auto_compression/pytorch_yolo_series/README.md index e75ac8b9..6d08be78 100644 --- a/example/auto_compression/pytorch_yolo_series/README.md +++ b/example/auto_compression/pytorch_yolo_series/README.md @@ -45,20 +45,20 @@ ## 3. 自动压缩流程 #### 3.1 准备环境 -- PaddlePaddle >= 2.3.2版本 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)根据相应环境的安装指令进行安装) +- PaddlePaddle >= 2.4rc0版本 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)根据相应环境的安装指令进行安装) - PaddleSlim develop 版本 (1)安装paddlepaddle ``` # CPU -pip install paddlepaddle==2.3.2 +pip install paddlepaddle==2.4rc0 # GPU 以Ubuntu、CUDA 11.2为例 -python -m pip install paddlepaddle-gpu==2.3.2.post112 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html +python -m pip install paddlepaddle_gpu==2.4rc0 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html ``` -(2)安装paddleslim>=2.3.3: +(2)安装paddleslim>=2.4rc: ```shell -pip install paddleslim==2.3.3 +pip install paddleslim==2.4rc ``` diff --git a/example/auto_compression/semantic_segmentation/README.md b/example/auto_compression/semantic_segmentation/README.md index 952c8366..4cff9f3d 100644 --- a/example/auto_compression/semantic_segmentation/README.md +++ b/example/auto_compression/semantic_segmentation/README.md @@ -47,21 +47,21 @@ #### 3.1 准备环境 -- PaddlePaddle >= 2.3 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装) -- PaddleSlim >= 2.3 +- PaddlePaddle >= 2.4rc0 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装) +- PaddleSlim >= 2.4rc - PaddleSeg == 2.5.0 安装paddlepaddle: ```shell # CPU -pip install paddlepaddle +pip install paddlepaddle==2.4rc0 # GPU -pip install paddlepaddle-gpu +pip install paddlepaddle_gpu==2.4rc0 ``` 安装paddleslim: ```shell -pip install paddleslim +pip install paddleslim==2.4rc ``` 准备paddleslim示例代码: diff --git a/example/auto_compression/tensorflow_mobilenet/README.md b/example/auto_compression/tensorflow_mobilenet/README.md index 0a41d6e9..fb6adfe4 100644 --- a/example/auto_compression/tensorflow_mobilenet/README.md +++ b/example/auto_compression/tensorflow_mobilenet/README.md @@ -31,22 +31,22 @@ ## 3. 自动压缩流程 #### 3.1 准备环境 -- PaddlePaddle >= 2.3 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装) -- PaddleSlim >= 2.3 +- PaddlePaddle >= 2.4rc0 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装) +- PaddleSlim >= 2.4rc - [X2Paddle](https://github.com/PaddlePaddle/X2Paddle) >= 1.3.6 - opencv-python (1)安装paddlepaddle: ```shell # CPU -pip install paddlepaddle +pip install paddlepaddle==2.4rc0 # GPU -pip install paddlepaddle-gpu +pip install paddlepaddle_gpu==2.4rc0 ``` (2)安装paddleslim: ```shell -pip install paddleslim +pip install paddleslim==2.4rc ``` (3)安装TensorFlow: diff --git a/example/full_quantization/image_classification/README.md b/example/full_quantization/image_classification/README.md index 8c33ca84..9384db6a 100644 --- a/example/full_quantization/image_classification/README.md +++ b/example/full_quantization/image_classification/README.md @@ -31,20 +31,20 @@ #### 3.1 准备环境 - python >= 3.6 -- PaddlePaddle >= 2.3 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装) -- PaddleSlim >= 2.3 +- PaddlePaddle >= 2.4rc0 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装) +- PaddleSlim >= 2.4rc 安装paddlepaddle: ```shell # CPU -pip install paddlepaddle +pip install paddlepaddle==2.4rc0 # GPU -pip install paddlepaddle-gpu +pip install paddlepaddle_gpu==2.4rc0 ``` 安装paddleslim: ```shell -pip install paddleslim +pip install paddleslim==2.4rc ``` #### 3.2 准备数据集 diff --git a/example/full_quantization/picodet/README.md b/example/full_quantization/picodet/README.md index a47296e3..3859d36f 100644 --- a/example/full_quantization/picodet/README.md +++ b/example/full_quantization/picodet/README.md @@ -30,22 +30,22 @@ ## 3. 全量化流程 #### 3.1 准备环境 -- PaddlePaddle >= 2.3 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装) -- PaddleSlim >= 2.3.4 +- PaddlePaddle >= 2.4rc0 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装) +- PaddleSlim >= 2.4rc - PaddleDet >= 2.4 - opencv-python 安装paddlepaddle: ```shell # CPU -pip install paddlepaddle +pip install paddlepaddle==2.4rc0 # GPU -pip install paddlepaddle-gpu +pip install paddlepaddle_gpu==2.4rc0 ``` 安装paddleslim: ```shell -pip install paddleslim +pip install paddleslim==2.4rc ``` 安装paddledet: diff --git a/example/post_training_quantization/detection/README.md b/example/post_training_quantization/detection/README.md index 97b71a55..b405c386 100644 --- a/example/post_training_quantization/detection/README.md +++ b/example/post_training_quantization/detection/README.md @@ -35,22 +35,22 @@ ## 3. 离线量化流程 #### 3.1 准备环境 -- PaddlePaddle >= 2.3 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装) -- PaddleSlim >= 2.3 +- PaddlePaddle >= 2.4rc0 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装) +- PaddleSlim >= 2.4rc - PaddleDet >= 2.4 - opencv-python 安装paddlepaddle: ```shell # CPU -pip install paddlepaddle +pip install paddlepaddle==2.4rc0 # GPU -pip install paddlepaddle-gpu +pip install paddlepaddle_gpu==2.4rc0 ``` 安装paddleslim: ```shell -pip install paddleslim +pip install paddleslim==2.4rc ``` 安装paddledet: diff --git a/example/post_training_quantization/pytorch_yolo_series/README.md b/example/post_training_quantization/pytorch_yolo_series/README.md index 9ab05a20..25f51e1e 100644 --- a/example/post_training_quantization/pytorch_yolo_series/README.md +++ b/example/post_training_quantization/pytorch_yolo_series/README.md @@ -36,7 +36,7 @@ ## 3. 离线量化流程 #### 3.1 准备环境 -- PaddlePaddle >= 2.3 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装) +- PaddlePaddle >= 2.4rc0 (可从[Paddle官网](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html)下载安装) - PaddleSlim > 2.3版本 - X2Paddle >= 1.3.9 - opencv-python @@ -45,14 +45,14 @@ (1)安装paddlepaddle: ```shell # CPU -pip install paddlepaddle +pip install paddlepaddle==2.4rc0 # GPU -pip install paddlepaddle-gpu +pip install paddlepaddle_gpu==2.4rc0 ``` (2)安装paddleslim: ```shell -pip install paddleslim +pip install paddleslim==2.4rc ``` #### 3.2 准备数据集 -- GitLab