pytorch / pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration
https://pytorch.org
Other
81.88k stars 21.98k forks source link

Failed to enable libuv #59531

Open jiapei100 opened 3 years ago

jiapei100 commented 3 years ago

🐛 Bug

Whenever USE_LIBUV is enabled, pytorch failed to build. My CMakeError.log is pasted at https://pastebin.com/xNyDBvHF.

To Reproduce

Steps to reproduce the behavior:

  1. Just Enable USE_LIBUV while configuring pytorch

Expected behavior

Successfully built

Environment

➜  ~ python collect_env.py 
Collecting environment information...
PyTorch version: N/A
Is debug build: N/A
CUDA used to build PyTorch: N/A
ROCM used to build PyTorch: N/A

OS: Ubuntu 20.04.2 LTS (x86_64)
GCC version: (Ubuntu 10.2.0-5ubuntu1~20.04) 10.2.0
Clang version: 11.0.0-2~ubuntu20.04.1
CMake version: version 3.20.3
Libc version: glibc-2.31

Python version: 3.8 (64-bit runtime)
Python platform: Linux-5.8.0-55-generic-x86_64-with-glibc2.29
Is CUDA available: N/A
CUDA runtime version: 11.3.109
GPU models and configuration: GPU 0: GeForce RTX 2080 Ti
Nvidia driver version: 460.80
cuDNN version: Probably one of the following:
/usr/local/cuda-11.3/targets/x86_64-linux/lib/libcudnn.so.8.2.0
/usr/local/cuda-11.3/targets/x86_64-linux/lib/libcudnn_adv_infer.so.8.2.0
/usr/local/cuda-11.3/targets/x86_64-linux/lib/libcudnn_adv_train.so.8.2.0
/usr/local/cuda-11.3/targets/x86_64-linux/lib/libcudnn_cnn_infer.so.8.2.0
/usr/local/cuda-11.3/targets/x86_64-linux/lib/libcudnn_cnn_train.so.8.2.0
/usr/local/cuda-11.3/targets/x86_64-linux/lib/libcudnn_ops_infer.so.8.2.0
/usr/local/cuda-11.3/targets/x86_64-linux/lib/libcudnn_ops_train.so.8.2.0
HIP runtime version: N/A
MIOpen runtime version: N/A

Versions of relevant libraries:
[pip3] numpy==1.20.3
[conda] Could not collect

I'm NOT using conda, but pip .

Any suggestions please?

Pei

cc @malfet @seemethere @walterddr

malfet commented 3 years ago

@jiapei100 can you please share build output as well? (As CMakeError log only contains errors during configuration stage, but not during the build)