Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

Installation Failing #24

@gopikrishnajha

Description

@gopikrishnajha

My installation is failing with the following error. Can you tell me what might be going wrong?

running install
running bdist_egg
running egg_info
writing tt_embeddings.egg-info/PKG-INFO
writing dependency_links to tt_embeddings.egg-info/dependency_links.txt
writing top-level names to tt_embeddings.egg-info/top_level.txt
/home/csr_guest/anaconda3/lib/python3.8/site-packages/torch/utils/cpp_extension.py:370: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
  warnings.warn(msg.format('we could not find ninja.'))
reading manifest file 'tt_embeddings.egg-info/SOURCES.txt'
writing manifest file 'tt_embeddings.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_ext
building 'tt_embeddings' extension
gcc -pthread -B /home/csr_guest/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/csr_guest/anaconda3/lib/python3.8/site-packages/torch/include -I/home/csr_guest/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/csr_guest/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/csr_guest/anaconda3/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/csr_guest/anaconda3/include/python3.8 -c tt_embeddings.cpp -o build/temp.linux-x86_64-3.8/tt_embeddings.o -O3 -g -DUSE_MKL -m64 -mfma -masm=intel -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1011" -DTORCH_EXTENSION_NAME=tt_embeddings -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /home/csr_guest/anaconda3/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:140:0,
                 from /home/csr_guest/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                 from /home/csr_guest/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                 from /home/csr_guest/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                 from /home/csr_guest/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:13,
                 from /home/csr_guest/anaconda3/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from tt_embeddings.cpp:9:
/home/csr_guest/anaconda3/lib/python3.8/site-packages/torch/include/ATen/ParallelOpenMP.h:87:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
 #pragma omp parallel for if ((end - begin) >= grain_size)

/usr/local/cuda/bin/nvcc -I/home/csr_guest/anaconda3/lib/python3.8/site-packages/torch/include -I/home/csr_guest/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/csr_guest/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/csr_guest/anaconda3/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/csr_guest/anaconda3/include/python3.8 -c tt_embeddings_cuda.cu -o build/temp.linux-x86_64-3.8/tt_embeddings_cuda.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' -O3 -g --expt-relaxed-constexpr -D__CUDA_NO_HALF_OPERATORS__ -I/usr/lib/cub-1.8.0 -gencode=arch=compute_70,code="sm_70" -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1011" -DTORCH_EXTENSION_NAME=tt_embeddings -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
/data2/gopi/FBTT-Embedding/cub-1.16.0/cub/device/dispatch/../../agent/../block/../iterator/cache_modified_input_iterator.cuh(116): error: a class or namespace qualified name is required

/data2/gopi/FBTT-Embedding/cub-1.16.0/cub/device/dispatch/../../agent/../block/../iterator/cache_modified_input_iterator.cuh(116): error: qualified name is not allowed

/data2/gopi/FBTT-Embedding/cub-1.16.0/cub/device/dispatch/../../agent/../block/../iterator/cache_modified_input_iterator.cuh(116): error: expected a ";"

/data2/gopi/FBTT-Embedding/cub-1.16.0/cub/device/dispatch/../../agent/../block/../iterator/cache_modified_input_iterator.cuh(121): warning: parsing restarts here after previous syntax error

3 errors detected in the compilation of "/tmp/tmpxft_0000db78_00000000-6_tt_embeddings_cuda.cpp1.ii".
error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions