Output difference resulting from torch.cat #57122
Labels
high priority
module: viewing and reshaping
triage review
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
🐛 Bug
The following functions
unfold1
andunfold2
are expected to work the same:However, the output of
unfold2
is wrong:The difference appears only when I use pytorch==1.8.1 with cuda. In pytorch==1.6 or on cpu device, the two outputs are the same. Specifically, the difference results from
torch.cat
in theunfold2
function. Does any have ideas? Many thanks.Environment
Collecting environment information...
PyTorch version: 1.8.1+cu102
Is debug build: False
CUDA used to build PyTorch: 10.2
ROCM used to build PyTorch: N/A
OS: CentOS Linux 7 (Core) (x86_64)
GCC version: (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)
Clang version: Could not collect
CMake version: version 3.6.2
Python version: 3.7 (64-bit runtime)
Is CUDA available: True
CUDA runtime version: 10.2.89
GPU models and configuration:
GPU 0: GeForce RTX 2080 Ti
GPU 1: GeForce RTX 2080 Ti
GPU 2: GeForce RTX 2080 Ti
GPU 3: GeForce RTX 2080 Ti
GPU 4: GeForce RTX 2080 Ti
GPU 5: GeForce RTX 2080 Ti
GPU 6: GeForce RTX 2080 Ti
GPU 7: GeForce RTX 2080 Ti
Nvidia driver version: 450.80.02
cuDNN version: Probably one of the following:
/usr/local/cuda-8.0/lib64/libcudnn.so.5
/usr/local/cuda-9.0/lib64/libcudnn.so.7
HIP runtime version: N/A
MIOpen runtime version: N/A
Versions of relevant libraries:
[pip3] numpy==1.19.5
[pip3] torch==1.8.1
[pip3] torchaudio==0.8.1
[pip3] torchvision==0.9.1
[conda] numpy 1.19.5 pypi_0 pypi
[conda] torch 1.8.1 pypi_0 pypi
[conda] torchaudio 0.8.1 pypi_0 pypi
[conda] torchvision 0.9.1 pypi_0 pypi
cc @ezyang @gchanan @zou3519 @bdhirsh @jbschlosser @anjali411
The text was updated successfully, but these errors were encountered: