Giter Club home page Giter Club logo

Comments (5)

HaokunLiu avatar HaokunLiu commented on September 2, 2024

Sorry for the confusion. In our current code, you still need to run python src/intrinsic_said_setup.py develop even if you are not using intrinsic said method. We will fix that in future commits.

from t-few.

CrazyPython avatar CrazyPython commented on September 2, 2024

I got this error trying to run that:

g++ -pthread -B /home/james/.conda/envs/tfew/compiler_compat -Wl,--sysroot=/ -pthread -shared -B /home/james/.conda/envs/tfew/compiler_compat -L/home/james/.conda/envs/tfew/lib -Wl,-rpath=/home/james/.conda/envs/tfew/lib -Wl,--no-as-needed -Wl,--sysroot=/ /home/james/github/t-few/build/temp.linux-x86_64-cpython-37/src/models/fwh_cuda/fwh_cpp.o /home/james/github/t-few/build/temp.linux-x86_64-cpython-37/src/models/fwh_cuda/fwh_cu.o -L/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/lib -L/opt/cuda/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda_cu -ltorch_cuda_cpp -o build/lib.linux-x86_64-cpython-37/src/models/fwh_cuda.cpython-37m-x86_64-linux-gnu.so
/home/james/.conda/envs/tfew/compiler_compat/ld: warning: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/crti.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010002
/home/james/.conda/envs/tfew/compiler_compat/ld: warning: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/crti.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001
/home/james/.conda/envs/tfew/compiler_compat/ld: warning: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/crtbeginS.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010002
/home/james/.conda/envs/tfew/compiler_compat/ld: warning: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/crtbeginS.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001
/home/james/.conda/envs/tfew/compiler_compat/ld: /home/james/github/t-few/build/temp.linux-x86_64-cpython-37/src/models/fwh_cuda/fwh_cpp.o: unable to initialize decompress status for section .debug_info
/home/james/.conda/envs/tfew/compiler_compat/ld: /home/james/github/t-few/build/temp.linux-x86_64-cpython-37/src/models/fwh_cuda/fwh_cpp.o: unable to initialize decompress status for section .debug_info
/home/james/.conda/envs/tfew/compiler_compat/ld: /home/james/github/t-few/build/temp.linux-x86_64-cpython-37/src/models/fwh_cuda/fwh_cpp.o: unable to initialize decompress status for section .debug_info
/home/james/.conda/envs/tfew/compiler_compat/ld: /home/james/github/t-few/build/temp.linux-x86_64-cpython-37/src/models/fwh_cuda/fwh_cpp.o: unable to initialize decompress status for section .debug_info
/home/james/github/t-few/build/temp.linux-x86_64-cpython-37/src/models/fwh_cuda/fwh_cpp.o: file not recognized: file format not recognized
collect2: error: ld returned 1 exit status
error: command '/usr/bin/g++' failed with exit code 1

And this after running it again after deleting build/ and UNKNOWN.egg-info/:

FAILED: /home/james/github/t-few/build/temp.linux-x86_64-cpython-37/src/models/fwh_cuda/fwh_cu.o 
/opt/cuda/bin/nvcc  -I/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include -I/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/TH -I/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/THC -I/opt/cuda/include -I/home/james/.conda/envs/tfew/include/python3.7m -c -c /home/james/github/t-few/src/models/fwh_cuda/fwh_cu.cu -o /home/james/github/t-few/build/temp.linux-x86_64-cpython-37/src/models/fwh_cuda/fwh_cu.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=fwh_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_35,code=sm_35 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
nvcc warning : The 'compute_35', 'compute_37', 'sm_35', and 'sm_37' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

/usr/include/c++/12.1.0/bits/locale_facets_nonio.tcc: In member function ‘_InIter std::time_get<_CharT, _InIter>::get(iter_type, iter_type, std::ios_base&, std::ios_base::iostate&, tm*, const char_type*, const char_type*) const’:
/usr/include/c++/12.1.0/bits/locale_facets_nonio.tcc:1477:77: error: invalid type argument of unary ‘*’ (have ‘int’)
 1477 |       if ((void*)(this->*(&time_get::do_get)) == (void*)(&time_get::do_get))
      |                                                                             ^   
/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/pybind11/cast.h: In function ‘typename pybind11::detail::type_caster<typename pybind11::detail::intrinsic_type<T>::type>::cast_op_type<T> pybind11::detail::cast_op(make_caster<T>&)’:
/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/pybind11/cast.h:951:120: error: expected template-name before ‘<’ token
  951 |     return caster.operator typename make_caster<T>::template cast_op_type<T>();
      |                                                                                                                        ^
/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/pybind11/cast.h:951:120: error: expected identifier before ‘<’ token
/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/pybind11/cast.h:951:123: error: expected primary-expression before ‘>’ token
  951 |     return caster.operator typename make_caster<T>::template cast_op_type<T>();
      |                                                                                                                           ^
/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/pybind11/cast.h:951:126: error: expected primary-expression before ‘)’ token
  951 |     return caster.operator typename make_caster<T>::template cast_op_type<T>();
      |                                                                                                                              ^
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1723, in _run_ninja_build
    env=env)
  File "/home/james/.conda/envs/tfew/lib/python3.7/subprocess.py", line 468, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "src/intrinsic_said_setup.py", line 26, in <module>
    setup_package()
  File "src/intrinsic_said_setup.py", line 21, in setup_package
    cmdclass={"build_ext": BuildExtension},
  File "/home/james/.conda/envs/tfew/lib/python3.7/site-packages/setuptools/__init__.py", line 87, in setup
    return distutils.core.setup(**attrs)
  File "/home/james/.conda/envs/tfew/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 148, in setup
    return run_commands(dist)
  File "/home/james/.conda/envs/tfew/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
    dist.run_commands()
  File "/home/james/.conda/envs/tfew/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
    self.run_command(cmd)
  File "/home/james/.conda/envs/tfew/lib/python3.7/site-packages/setuptools/dist.py", line 1224, in run_command
    super().run_command(command)
  File "/home/james/.conda/envs/tfew/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
    cmd_obj.run()
  File "/home/james/.conda/envs/tfew/lib/python3.7/site-packages/setuptools/command/develop.py", line 34, in run
    self.install_for_development()
  File "/home/james/.conda/envs/tfew/lib/python3.7/site-packages/setuptools/command/develop.py", line 114, in install_for_development
    self.run_command('build_ext')
  File "/home/james/.conda/envs/tfew/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/james/.conda/envs/tfew/lib/python3.7/site-packages/setuptools/dist.py", line 1224, in run_command
    super().run_command(command)
  File "/home/james/.conda/envs/tfew/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
    cmd_obj.run()
  File "/home/james/.conda/envs/tfew/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 79, in run
    _build_ext.run(self)
  File "/home/james/.conda/envs/tfew/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 339, in run
    self.build_extensions()
  File "/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 735, in build_extensions
    build_ext.build_extensions(self)
  File "/home/james/.conda/envs/tfew/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 448, in build_extensions
    self._build_extensions_serial()
  File "/home/james/.conda/envs/tfew/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 473, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/james/.conda/envs/tfew/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 202, in build_extension
    _build_ext.build_extension(self, ext)
  File "/home/james/.conda/envs/tfew/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 534, in build_extension
    depends=ext.depends)
  File "/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 565, in unix_wrap_ninja_compile
    with_cuda=with_cuda)
  File "/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1404, in _write_ninja_file_and_compile_objects
    error_prefix='Error compiling objects for extension')
  File "/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1733, in _run_ninja_build
    raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension

from t-few.

HaokunLiu avatar HaokunLiu commented on September 2, 2024

Hey, we just fixed it in the latest commit. Update your code and it should run.

from t-few.

CrazyPython avatar CrazyPython commented on September 2, 2024

I tried compiling again, and received a similar error. Any pointers?

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/utils/cpp_extension.py:782: UserWarning: The detected CUDA version (11.6) has a minor version mismatch with the version that was used to compile PyTorch (11.3). Most likely this shouldn't be a problem.
  warnings.warn(CUDA_MISMATCH_WARN.format(cuda_str_version, torch.version.cuda))
building 'src.models.fwh_cuda' extension
/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/utils/cpp_extension.py:298: UserWarning: 

                               !! WARNING !!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Your compiler (c++) is not compatible with the compiler Pytorch was
built with for this platform, which is g++ on linux. Please
use g++ to to compile your extension. Alternatively, you may
compile PyTorch from source using c++, and then you can also use
c++ to compile your extension.

See https://github.com/pytorch/pytorch/blob/master/CONTRIBUTING.md for help
with compiling PyTorch from source.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

                              !! WARNING !!

  platform=sys.platform))
Emitting ninja build file /home/james/github/t-few/build/temp.linux-x86_64-cpython-37/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/1] /opt/cuda/bin/nvcc  -I/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include -I/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/TH -I/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/THC -I/opt/cuda/include -I/home/james/.conda/envs/tfew/include/python3.7m -c -c /home/james/github/t-few/src/models/fwh_cuda/fwh_cu.cu -o /home/james/g        ithub/t-few/build/temp.linux-x86_64-cpython-37/src/models/fwh_cuda/fwh_cu.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=fwh_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_35,code=sm_35 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
FAILED: /home/james/github/t-few/build/temp.linux-x86_64-cpython-37/src/models/fwh_cuda/fwh_cu.o 
/opt/cuda/bin/nvcc  -I/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include -I/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/TH -I/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/THC -I/opt/cuda/include -I/home/james/.conda/envs/tfew/include/python3.7m -c -c /home/james/github/t-few/src/models/fwh_cuda/fwh_cu.cu -o /home/james/github/t-few/build/temp.linux-x86_64-cpython-37/src/models/fwh_cuda/fwh_cu.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=fwh_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_35,code=sm_35 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
nvcc warning : The 'compute_35', 'compute_37', 'sm_35', and 'sm_37' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

/usr/include/c++/12.1.0/bits/locale_facets_nonio.tcc: In member function ‘_InIter std::time_get<_CharT, _InIter>::get(iter_type, iter_type, std::ios_base&, std::ios_base::iostate&, tm*, const char_type*, const char_type*) const’:
/usr/include/c++/12.1.0/bits/locale_facets_nonio.tcc:1477:77: error: invalid type argument of unary ‘*’ (have ‘int’)
 1477 |       if ((void*)(this->*(&time_get::do_get)) == (void*)(&time_get::do_get))
      |                                                                             ^   
/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/pybind11/cast.h: In function ‘typename pybind11::detail::type_caster<typename pybind11::detail::intrinsic_type<T>::type>::cast_op_type<T> pybind11::detail::cast_op(make_caster<T>&)’:
/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/pybind11/cast.h:951:120: error: expected template-name before ‘<’ token
  951 |     return caster.operator typename make_caster<T>::template cast_op_type<T>();
      |                                                                                                                        ^
/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/pybind11/cast.h:951:120: error: expected identifier before ‘<’ token
/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/pybind11/cast.h:951:123: error: expected primary-expression before ‘>’ token
  951 |     return caster.operator typename make_caster<T>::template cast_op_type<T>();
      |                                                                                                                           ^
/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/include/pybind11/cast.h:951:126: error: expected primary-expression before ‘)’ token
  951 |     return caster.operator typename make_caster<T>::template cast_op_type<T>();
      |                                                                                                                              ^
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "/home/james/.conda/envs/tfew/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1723, in _run_ninja_build
    env=env)
  File "/home/james/.conda/envs/tfew/lib/python3.7/subprocess.py", line 468, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:
RuntimeError: Error compiling objects for extension

from t-few.

HaokunLiu avatar HaokunLiu commented on September 2, 2024

Sorry, I mean, now you don't need to run python src/intrinsic_said_setup.py develop anymore. Unless you want to run the experiment with the Intrinsic SAID method.

from t-few.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.