You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git clone https://github.com/PaddlePaddle/Paddle.git
cd Paddle
mkdir build
cd build
cmake .. -DPY_VERSION=3.10 -DWITH_GPU=ON -WITH_TESTING=on
make -j$(nproc)
pip install python/dist/paddlepaddle_gpu-0.0.0-cp310-cp310-linux_x86_64.whl
运行testcase
# activate envcd /Paddle/test/legacy_test
python test_empty_like_op.py
# error
W0507 13:53:11.123783 18171 gpu_resources.cc:119] Please NOTE: device: 0, GPU Compute Capability: 8.0, Driver API Version: 12.0, Runtime API Version: 12.1
W0507 13:53:11.152410 18171 gpu_resources.cc:164] device: 0, cuDNN Version: 8.6.
W0507 13:53:11.152446 18171 gpu_resources.cc:196] WARNING: device: 0. The installed Paddle is compiled with CUDA 12.1, but CUDA runtime version in your machine is 12.0, which may cause serious incompatible bug. Please recompile or reinstall Paddle with compatible CUDA version.
F..........I0507 13:53:11.174595 18171 program_interpreter.cc:221] New Executor is Running.
I0507 13:53:11.184360 18171 pir_interpreter.cc:1377] New Executor is Running ...
I0507 13:53:11.184751 18171 pir_interpreter.cc:1403] pir interpreter is running by multi-thread mode ...
....
======================================================================
FAIL: test_attr (__main__.TestEmptyError)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/xinhongwen/code/Paddle/test/legacy_test/test_empty_like_op.py", line 282, in test_attr
self.assertRaises(TypeError, test_dtype)
AssertionError: TypeError not raised by test_dtype
----------------------------------------------------------------------
Ran 15 tests in 1.710s
FAILED (failures=1)
bug描述 Describe the Bug
基本环境
python: 3.10
GPU: NVIDIA A800
paddle commit id: c0b2c7d
复现过程
安装paddle
运行testcase
错误原因
观察出错的testcase如下
看起来期望实现的功能是不可以把float64的类型转换为uint8类型,而实际底层支持这一功能
其他补充信息 Additional Supplementary Information
No response
The text was updated successfully, but these errors were encountered: