From e9b1706bbdb0670b423358a7e76d287adca04f0a Mon Sep 17 00:00:00 2001 From: ooooo <3164076421@qq.com> Date: Thu, 30 Oct 2025 02:25:28 +0800 Subject: [PATCH 1/5] refine doc_preview workflow --- .github/workflows/_Doc-Preview.yml | 2 +- python/paddle/tensor/logic.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/_Doc-Preview.yml b/.github/workflows/_Doc-Preview.yml index 642bb1f87da80c..2cbc04817a7051 100644 --- a/.github/workflows/_Doc-Preview.yml +++ b/.github/workflows/_Doc-Preview.yml @@ -19,7 +19,7 @@ env: CI_name: Doc-Preview CFS_DIR: /home/data/cfs work_dir: /paddle - no_proxy: "bcebos.com,apiin.im.baidu.com,gitee.com,aliyun.com,.baidu.com,.tuna.tsinghua.edu.cn" + no_proxy: "cdn.bcebos.com,bcebos.com,apiin.im.baidu.com,gitee.com,aliyun.com,.baidu.com,.tuna.tsinghua.edu.cn" defaults: run: diff --git a/python/paddle/tensor/logic.py b/python/paddle/tensor/logic.py index 3c3bfbaf55d2f0..f07080856ea873 100755 --- a/python/paddle/tensor/logic.py +++ b/python/paddle/tensor/logic.py @@ -515,6 +515,7 @@ def gt( name (str|None, optional): The default value is None. Normally there is no need for user to set this property. For more information, please refer to :ref:`api_guide_Name`. out (Tensor, optional): The output tensor. If provided, the result will be stored in this tensor. + Returns: Tensor: The output shape is same as input :attr:`x`. The output data type is bool. From fbc45eb033e607c6685276504cf64274977bacfa Mon Sep 17 00:00:00 2001 From: ooooo <3164076421@qq.com> Date: Thu, 30 Oct 2025 07:35:49 +0800 Subject: [PATCH 2/5] refine doc_preview workflow --- .github/workflows/_Doc-Preview.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/_Doc-Preview.yml b/.github/workflows/_Doc-Preview.yml index 2cbc04817a7051..ccda85c4e22ce6 100644 --- a/.github/workflows/_Doc-Preview.yml +++ b/.github/workflows/_Doc-Preview.yml @@ -105,6 +105,7 @@ jobs: curl -sS -o /tmp/entrypoint.sh https://paddle-dev-tools-open.bj.bcebos.com/fluiddoc-preview/entrypoint-paddle-docs-review.sh cd / source ${{ github.workspace }}/../../../proxy + echo "$no_proxy" bash "/tmp/entrypoint.sh" ' From 07c9907be5689c920b2cdfa11f8872ca89f70ed8 Mon Sep 17 00:00:00 2001 From: ooooo <3164076421@qq.com> Date: Thu, 30 Oct 2025 02:57:02 +0000 Subject: [PATCH 3/5] refine doc_preview workflow --- .github/workflows/_Doc-Preview.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/_Doc-Preview.yml b/.github/workflows/_Doc-Preview.yml index ccda85c4e22ce6..a0d355a1617155 100644 --- a/.github/workflows/_Doc-Preview.yml +++ b/.github/workflows/_Doc-Preview.yml @@ -19,7 +19,7 @@ env: CI_name: Doc-Preview CFS_DIR: /home/data/cfs work_dir: /paddle - no_proxy: "cdn.bcebos.com,bcebos.com,apiin.im.baidu.com,gitee.com,aliyun.com,.baidu.com,.tuna.tsinghua.edu.cn" + no_proxy: "bcebos.com,apiin.im.baidu.com,gitee.com,aliyun.com,.baidu.com,.tuna.tsinghua.edu.cn" defaults: run: @@ -105,7 +105,7 @@ jobs: curl -sS -o /tmp/entrypoint.sh https://paddle-dev-tools-open.bj.bcebos.com/fluiddoc-preview/entrypoint-paddle-docs-review.sh cd / source ${{ github.workspace }}/../../../proxy - echo "$no_proxy" + pip3 install --force-reinstall ${work_dir}/build/pr_whl/*.whl bash "/tmp/entrypoint.sh" ' From fcb40b78dac05007dec75fdcf53ed7c6ded5752e Mon Sep 17 00:00:00 2001 From: ooooo <3164076421@qq.com> Date: Thu, 30 Oct 2025 04:04:46 +0000 Subject: [PATCH 4/5] refine doc_preview workflow --- .github/workflows/_Doc-Preview.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/_Doc-Preview.yml b/.github/workflows/_Doc-Preview.yml index a0d355a1617155..3df233eef4907c 100644 --- a/.github/workflows/_Doc-Preview.yml +++ b/.github/workflows/_Doc-Preview.yml @@ -105,7 +105,7 @@ jobs: curl -sS -o /tmp/entrypoint.sh https://paddle-dev-tools-open.bj.bcebos.com/fluiddoc-preview/entrypoint-paddle-docs-review.sh cd / source ${{ github.workspace }}/../../../proxy - pip3 install --force-reinstall ${work_dir}/build/pr_whl/*.whl + pip3 install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --force-reinstall ${work_dir}/build/pr_whl/*.whl bash "/tmp/entrypoint.sh" ' From f554b43b9b687d0468f165da2f062fd59cec90ca Mon Sep 17 00:00:00 2001 From: ooooo <3164076421@qq.com> Date: Thu, 30 Oct 2025 05:44:49 +0000 Subject: [PATCH 5/5] refine doc_preview workflow --- .github/workflows/_Doc-Preview.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/_Doc-Preview.yml b/.github/workflows/_Doc-Preview.yml index 3df233eef4907c..7af7d22e41556d 100644 --- a/.github/workflows/_Doc-Preview.yml +++ b/.github/workflows/_Doc-Preview.yml @@ -105,7 +105,7 @@ jobs: curl -sS -o /tmp/entrypoint.sh https://paddle-dev-tools-open.bj.bcebos.com/fluiddoc-preview/entrypoint-paddle-docs-review.sh cd / source ${{ github.workspace }}/../../../proxy - pip3 install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --force-reinstall ${work_dir}/build/pr_whl/*.whl + pip3 install --progress-bar off -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --force-reinstall ${work_dir}/build/pr_whl/*.whl bash "/tmp/entrypoint.sh" '