Skip to content

Commit

Permalink
add device required
Browse files Browse the repository at this point in the history
  • Loading branch information
zh794390558 committed Oct 27, 2021
1 parent 7cf989b commit 36a90e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/paddle/fluid/dygraph/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1512,6 +1512,7 @@ def to(self, device=None, dtype=None, blocking=None):
Examples:
.. code-block:: python
# required: gpu
import paddle
linear=paddle.nn.Linear(2, 2)
Expand Down

1 comment on commit 36a90e7

@paddle-bot-old
Copy link

@paddle-bot-old paddle-bot-old bot commented on 36a90e7 Oct 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🕵️ CI failures summary

🔍 PR: #36779 Commit ID: 36a90e7 contains failed CI.

🔹 Failed: PR-CI-Windows-OPENBLAS

Unknown Failed
2021-10-27 15:29:48 CONFLICT (content): Merge conflict in paddle/fluid/framework/ir/CMakeLists.txt
2021-10-27 15:29:48 Auto-merging paddle/fluid/framework/fleet/ps_gpu_wrapper.h
2021-10-27 15:29:48 Auto-merging paddle/fluid/framework/fleet/ps_gpu_wrapper.cc
2021-10-27 15:29:48 Auto-merging paddle/fluid/framework/fleet/gloo_wrapper.h
2021-10-27 15:29:48 Auto-merging paddle/fluid/framework/CMakeLists.txt
2021-10-27 15:29:48 Removing log
2021-10-27 15:29:48 Auto-merging cmake/third_party.cmake
2021-10-27 15:29:48 CONFLICT (content): Merge conflict in cmake/third_party.cmake
2021-10-27 15:29:48 Auto-merging cmake/operators.cmake
2021-10-27 15:29:48 CONFLICT (content): Merge conflict in cmake/operators.cmake
2021-10-27 15:29:48 Auto-merging cmake/inference_lib.cmake
2021-10-27 15:29:48 Auto-merging cmake/external/xpu.cmake
2021-10-27 15:29:48 CONFLICT (content): Merge conflict in cmake/external/xpu.cmake
2021-10-27 15:29:48 Auto-merging cmake/external/lite.cmake
2021-10-27 15:29:48 CONFLICT (content): Merge conflict in cmake/external/lite.cmake
2021-10-27 15:29:48 CONFLICT (add/add): Merge conflict in cmake/external/lapack.cmake
2021-10-27 15:29:48 Auto-merging cmake/external/lapack.cmake
2021-10-27 15:29:48 Automatic merge failed; fix conflicts and then commit the result.
2021-10-27 15:29:48 C:\home\workspace\Paddle>if 1 NEQ 0 exit /b 1

🔹 Failed: PR-CI-Model-benchmark

failed in build-docker-image job
failed in build-docker-image job

🔹 Failed: PR-CI-ROCM-Compile

Unknown Failed
2021-10-27 15:30:59 Auto-merging cmake/operators.cmake
2021-10-27 15:30:59 CONFLICT (add/add): Merge conflict in cmake/operators.cmake
2021-10-27 15:30:59 Auto-merging cmake/miopen.cmake
2021-10-27 15:30:59 CONFLICT (add/add): Merge conflict in cmake/miopen.cmake
2021-10-27 15:30:59 Auto-merging cmake/inference_lib.cmake
2021-10-27 15:30:59 CONFLICT (add/add): Merge conflict in cmake/inference_lib.cmake
2021-10-27 15:30:59 Auto-merging cmake/external/xpu.cmake
2021-10-27 15:30:59 CONFLICT (add/add): Merge conflict in cmake/external/xpu.cmake
2021-10-27 15:30:59 Auto-merging cmake/external/lite.cmake
2021-10-27 15:30:59 CONFLICT (add/add): Merge conflict in cmake/external/lite.cmake
2021-10-27 15:30:59 Auto-merging cmake/external/lapack.cmake
2021-10-27 15:30:59 CONFLICT (add/add): Merge conflict in cmake/external/lapack.cmake
2021-10-27 15:30:59 Auto-merging cmake/external/ascend.cmake
2021-10-27 15:30:59 CONFLICT (add/add): Merge conflict in cmake/external/ascend.cmake
2021-10-27 15:30:59 Auto-merging CMakeLists.txt
2021-10-27 15:30:59 CONFLICT (add/add): Merge conflict in CMakeLists.txt
2021-10-27 15:30:59 Auto-merging AUTHORS.md
2021-10-27 15:30:59 CONFLICT (add/add): Merge conflict in AUTHORS.md
2021-10-27 15:30:59 Automatic merge failed; fix conflicts and then commit the result.

🔹 Failed: PR-CE-Framework

failed in build-docker-image job
failed in build-docker-image job

🔹 Failed: PR-CI-GpuPS

failed in build-docker-image job
failed in build-docker-image job

🔹 Failed: PR-CI-musl

Unknown Failed
2021-10-27 15:31:33 Auto-merging paddle/fluid/framework/ir/CMakeLists.txt
2021-10-27 15:31:33 CONFLICT (content): Merge conflict in paddle/fluid/framework/ir/CMakeLists.txt
2021-10-27 15:31:33 Auto-merging paddle/fluid/framework/fleet/ps_gpu_wrapper.h
2021-10-27 15:31:33 Auto-merging paddle/fluid/framework/fleet/ps_gpu_wrapper.cc
2021-10-27 15:31:33 Auto-merging paddle/fluid/framework/fleet/gloo_wrapper.h
2021-10-27 15:31:33 Auto-merging paddle/fluid/framework/CMakeLists.txt
2021-10-27 15:31:33 Removing log
2021-10-27 15:31:33 Auto-merging cmake/third_party.cmake
2021-10-27 15:31:33 CONFLICT (content): Merge conflict in cmake/third_party.cmake
2021-10-27 15:31:33 Auto-merging cmake/operators.cmake
2021-10-27 15:31:33 CONFLICT (content): Merge conflict in cmake/operators.cmake
2021-10-27 15:31:33 Auto-merging cmake/inference_lib.cmake
2021-10-27 15:31:33 Auto-merging cmake/external/xpu.cmake
2021-10-27 15:31:33 CONFLICT (content): Merge conflict in cmake/external/xpu.cmake
2021-10-27 15:31:33 Auto-merging cmake/external/lite.cmake
2021-10-27 15:31:33 CONFLICT (content): Merge conflict in cmake/external/lite.cmake
2021-10-27 15:31:33 Auto-merging cmake/external/lapack.cmake
2021-10-27 15:31:33 CONFLICT (add/add): Merge conflict in cmake/external/lapack.cmake
2021-10-27 15:31:33 Automatic merge failed; fix conflicts and then commit the result.

🔹 Failed: PR-CI-Mac-Python3

Unknown Failed
2021-10-27 15:45:59 [INFO] Running on (mac_python35_2) with agent(v1.2.7) in workspace /home/xly/workspace/6dcda779-53b9-4cd9-b651-091e803c831a
2021-10-27 15:45:59 + sudo rm -rf /home/Paddle
2021-10-27 15:46:09 + sudo rm -rf /home/Paddle.tar.gz
2021-10-27 15:46:09 + cd /home
2021-10-27 15:46:09 + set +x
2021-10-27 15:46:11 + tar xf Paddle.tar.gz
2021-10-27 15:46:14 + cd Paddle
2021-10-27 15:46:14 + git config --global user.name PaddleCI
2021-10-27 15:46:14 + git config --global user.email [email protected]
2021-10-27 15:46:14 + set -xe
2021-10-27 15:46:14 + git remote add upstream https://github.com/PaddlePaddle/Paddle.git
2021-10-27 15:46:14 + git pull upstream develop --no-edit
2021-10-27 15:46:18 来自 https://github.com/PaddlePaddle/Paddle
2021-10-27 15:46:18 * branch develop -> FETCH_HEAD
2021-10-27 15:46:18 * [新分支] develop -> upstream/develop
2021-10-27 15:46:18 fatal: 拒绝合并无关的历史

🔹 Failed: PR-CI-NPU

Unknown Failed
2021-10-27 15:54:51 Auto-merging cmake/operators.cmake
2021-10-27 15:54:51 CONFLICT (add/add): Merge conflict in cmake/operators.cmake
2021-10-27 15:54:51 Auto-merging cmake/miopen.cmake
2021-10-27 15:54:51 CONFLICT (add/add): Merge conflict in cmake/miopen.cmake
2021-10-27 15:54:51 Auto-merging cmake/inference_lib.cmake
2021-10-27 15:54:51 CONFLICT (add/add): Merge conflict in cmake/inference_lib.cmake
2021-10-27 15:54:51 Auto-merging cmake/external/xpu.cmake
2021-10-27 15:54:51 CONFLICT (add/add): Merge conflict in cmake/external/xpu.cmake
2021-10-27 15:54:51 Auto-merging cmake/external/lite.cmake
2021-10-27 15:54:51 CONFLICT (add/add): Merge conflict in cmake/external/lite.cmake
2021-10-27 15:54:51 Auto-merging cmake/external/lapack.cmake
2021-10-27 15:54:51 CONFLICT (add/add): Merge conflict in cmake/external/lapack.cmake
2021-10-27 15:54:51 Auto-merging cmake/external/ascend.cmake
2021-10-27 15:54:51 CONFLICT (add/add): Merge conflict in cmake/external/ascend.cmake
2021-10-27 15:54:51 Auto-merging CMakeLists.txt
2021-10-27 15:54:51 CONFLICT (add/add): Merge conflict in CMakeLists.txt
2021-10-27 15:54:51 Auto-merging AUTHORS.md
2021-10-27 15:54:51 CONFLICT (add/add): Merge conflict in AUTHORS.md
2021-10-27 15:54:51 Automatic merge failed; fix conflicts and then commit the result.

🔹 Failed: PR-CI-Kunlun

Unknown Failed
2021-10-27 15:53:15 + rm -rf /home/ssd1/Paddle
2021-10-27 15:53:23 + '[' -f /home/ssd1/Paddle.tar.gz ']'
2021-10-27 15:53:23 + rm -rf /home/ssd1/Paddle.tar.gz
2021-10-27 15:53:23 + cd /home/ssd1
2021-10-27 15:53:23 + set -x
2021-10-27 15:53:23 + export WITH_CACHE=ON
2021-10-27 15:53:23 + WITH_CACHE=ON
2021-10-27 15:53:23 + set +x
2021-10-27 15:53:25 + tar xf Paddle.tar.gz
2021-10-27 15:53:27 + cd Paddle
2021-10-27 15:53:27 + git config --global user.name PaddleCI
2021-10-27 15:53:27 + git config --global user.email [email protected]
2021-10-27 15:53:27 + set -xe
2021-10-27 15:53:27 + git remote add upstream https://github.com/PaddlePaddle/Paddle.git
2021-10-27 15:53:27 + git pull upstream develop
2021-10-27 15:53:31 来自 https://github.com/PaddlePaddle/Paddle
2021-10-27 15:53:31 * branch develop -> FETCH_HEAD
2021-10-27 15:53:31 * [新分支] develop -> upstream/develop
2021-10-27 15:53:31 fatal: 拒绝合并无关的历史

🔹 Failed: PR-CI-Py3-22

Unknown Failed
2021-10-28 11:43:37 ipipe_log_param_TestCases_Total_Time: 3889s
2021-10-28 11:43:37 ========================================================
2021-10-28 11:43:37 paddle_build script finished as expected
2021-10-28 11:43:37 + EXCODE=0
2021-10-28 11:43:37 + echo 'EXCODE: 0'
2021-10-28 11:43:37 EXCODE: 0
2021-10-28 11:43:37 + echo 'ipipe_log_param_EXCODE: 0'
2021-10-28 11:43:37 ipipe_log_param_EXCODE: 0
2021-10-28 11:43:37 + [[ 0 -eq 0 ]]
2021-10-28 11:43:37 + cd /workspace/Paddle/build
2021-10-28 11:43:37 + set +x
2021-10-28 11:43:37 + push_dir=/home
2021-10-28 11:43:37 + push_file=/home/BosClient.py
2021-10-28 11:43:37 + tar xf /home/bce_whl.tar.gz -C /home
2021-10-28 11:43:37 + set +x
2021-10-28 11:43:37 Congratulations! Your PR passed the paddle-test.
2021-10-28 11:43:37 + exit 0
2021-10-28 11:43:37 {build code state=0}
2021-10-28 11:43:37 build Paddle success!

🔹 Failed: PR-CI-Coverage-22

Unknown Failed
2021-10-27 21:06:11 ./index.html
2021-10-27 21:06:11 ./dygraph/
2021-10-27 21:06:11 ./dygraph/index-sort-l.html
2021-10-27 21:06:11 ./dygraph/index.html
2021-10-27 21:06:11 ./dygraph/layers.py.gcov.html
2021-10-27 21:06:11 ./glass.png
2021-10-27 21:06:11 ./amber.png
2021-10-27 21:06:11 ./snow.png
2021-10-27 21:06:11 + du -hs /tmp/upload-c0fab0dc-0e51-42d8-aead-dd7286a63279.tar.gz
2021-10-27 21:06:11 32K /tmp/upload-c0fab0dc-0e51-42d8-aead-dd7286a63279.tar.gz
2021-10-27 21:06:11 + curl -s --connect-timeout 600 --retry 10 --retry-delay 10 -u paddle:915eedab953b6f51151f50eb -F buildId=8695623 -F path=python-coverage -F file=@/tmp/upload-c0fab0dc-0e51-42d8-aead-dd7286a63279.tar.gz https://xly.bce.baidu.com/ipipe/ipipe-report/upload
2021-10-27 21:06:11 + rm -f /tmp/upload-c0fab0dc-0e51-42d8-aead-dd7286a63279.tar.gz
2021-10-27 21:06:11 report uploaded
2021-10-27 21:06:11 0
2021-10-27 21:06:11 ipipe_log_param_EXCODE: 0
2021-10-27 21:06:11 Congratulations! Your PR passed the CI.
2021-10-27 21:06:11 + exit 0
2021-10-27 21:06:11 {build code state=0}
2021-10-27 21:06:11 build Paddle success!

Please sign in to comment.