diff --git a/demo/dygraph/dist/bert/README.md b/demo/dygraph/dist/bert/README.md index 3d73a2ddd1dbe39c40ea49801199840224594c2d..17a5930f50e5766c58c21d174cd943688f920ef2 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 f03c8c256e9c10e04b8e5daa49234fa07a0e30c7..aa0a1f05ec17dff669e83844f78e62576c83af0c 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 7fbb071d269fa84986bd92c861d1336c35ddd1a4..f1b663cd356aa7132153eb4820f8e87a5728a116 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 5e7daa31bfebee28c62e5c15e5214e61a3b2ccc5..7a9631097dc663cdba2985df69688c84c0a637e6 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 66f609388eea5c86f7833ef3c172d3282de1199c..0629c875a212f9dc5509f65f2e40b46412153132 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 b25afceea5d61a5fd826d19422d19bceeea63cae..aab7f628e2aaa80b1b65bf29d0a50ac117738a9d 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 4342aa16dcc4dd3ca905d51e4539d68dc498ff3c..e351ddaeedf8d617c81a14e1dd5331b013da5582 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 40973d36936d16198fa6c12930bdf3a99aa85784..919038b4e58604d58b57ad1f1fd946f733649728 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 973c04e52214b835431c858194c16c1ac593278d..624a1075e321f28ae502e49bb696f9527b1a0d86 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 af1a5cf318b264b089f9700427ee29f9ccef8b5f..1336e0fd2cada533c42771aa14f52b5c378ac34b 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 82c2d2bdd5297cbeb46567d40532e6a7818e3cce..1a20eff0252dc8f58182d7ec349ccc5f2989683b 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 b7cc143743a83e562af28ae50da46ae10ee79905..866c73560ede0c8e2cd3df3aa5b30dc85097bde9 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 e75ac8b972e26d6c47a94b28c11ccd691bb61c78..6d08be78daa4ab9b33a4bf8310a21553d1d520c4 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 952c836624e8b8d6f623d2703301976a88767177..4cff9f3d038bf74847901ebfd885ee9a7565067b 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 0a41d6e960fd17718fcf63f79c17ce82e9aa0a6b..fb6adfe4cf48e39756b9c8cf5846d3d1ee730c9f 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 8c33ca841d47628e9549be30a08d917c714dcb3b..9384db6a4825cfbcf522aafd7a5ec442d21e52f5 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 a47296e3855dbab3e18c858741c896d0d15dfd47..3859d36f33abe41629c344e6224d73e2cfc9d0e7 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 97b71a55c26dd1faa600400d9fc526e7539a96da..b405c3863ef8070220c706206c1b69100b9f1023 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 9ab05a20e3c1ce825e10c36b9af0fc60a963671d..25f51e1ede2f9c2b6f6177dd34f2d89a871e7f34 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 准备数据集