pytorch-loss icon indicating copy to clipboard operation
pytorch-loss copied to clipboard

installation failed

Open mosheliv opened this issue 1 year ago • 3 comments

/usr/local/cuda/bin/nvcc -I/home/m/.local/lib/python3.7/site-packages/torch/include -I/home/m/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/m/.local/lib/python3.7/site-packages/torch/include/TH -I/home/m/.local/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/usr/include/python3.7m -c csrc/focal_kernel.cu -o build/temp.linux-x86_64-3.7/csrc/focal_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1011" -DTORCH_EXTENSION_NAME=focal_cpp -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_52,code=sm_52 -gencode=arch=compute_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
/home/m/.local/lib/python3.7/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign

/home/m/.local/lib/python3.7/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign

csrc/common.hpp(20): error: identifier "hexp" is undefined

csrc/common.hpp(35): error: identifier "hlog" is undefined

2 errors detected in the compilation of "csrc/focal_kernel.cu".
error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1

not sure what other information to include... Driver Version: 465.19.01 CUDA Version: 11.3 let me know if you need any other information

mosheliv avatar Sep 07 '22 01:09 mosheliv

您的邮件我已经收到,会尽快回复的。

cemamxiaoxixi avatar Sep 07 '22 01:09 cemamxiaoxixi

What is your platform like and your pytorch version?

CoinCheung avatar Sep 07 '22 06:09 CoinCheung

Ubuntu 18.04.6 LTS torch 1.12.1+cu113

On Wed, 7 Sept 2022 at 18:49, CoinCheung @.***> wrote:

What is your platform like and your pytorch version?

— Reply to this email directly, view it on GitHub https://github.com/CoinCheung/pytorch-loss/issues/39#issuecomment-1238978386, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC7IWC2U4DPZOD24PBG7UTLV5A3ILANCNFSM6AAAAAAQGKN2UY . You are receiving this because you authored the thread.Message ID: @.***>

mosheliv avatar Sep 07 '22 08:09 mosheliv