Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error building for esim_torch #77

Open
yazidoudou18 opened this issue Feb 23, 2023 · 1 comment
Open

error building for esim_torch #77

yazidoudou18 opened this issue Feb 23, 2023 · 1 comment

Comments

@yazidoudou18
Copy link

yazidoudou18 commented Feb 23, 2023

I was able to install esim successfully, but I am currently experiencing issues (source code?) with installing esim_torch.

Processing ./esim_torch
Preparing metadata (setup.py) ... done
Building wheels for collected packages: esim-torch
Building wheel for esim-torch (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [91 lines of output]
running bdist_wheel
running build
running build_py
running build_ext
/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/utils/cpp_extension.py:371: UserWarning: The detected CUDA version (11.4) has a minor version mismatch with the version that was used to compile PyTorch (11.2). Most likely this shouldn't be a problem.
warnings.warn(CUDA_MISMATCH_WARN.format(cuda_str_version, torch.version.cuda))
/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/utils/cpp_extension.py:381: UserWarning: There are no /home/watk681/anaconda3/envs/vid2e/bin/x86_64-conda-linux-gnu-c++ version bounds defined for CUDA version 11.4
warnings.warn(f'There are no {compiler_name} version bounds defined for CUDA version {cuda_str_version}')
building 'esim_cuda' extension
Emitting ninja build file /qfs/projects/mage/watk681/rpg_vid2e/esim_torch/build/temp.linux-x86_64-cpython-39/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/1] /usr/local/cuda/bin/nvcc -I/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/include -I/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/include/TH -I/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/watk681/anaconda3/envs/vid2e/include/python3.9 -c -c /qfs/projects/mage/watk681/rpg_vid2e/esim_torch/src/esim_torch/esim_cuda_kernel.cu -o /qfs/projects/mage/watk681/rpg_vid2e/esim_torch/build/temp.linux-x86_64-cpython-39/src/esim_torch/esim_cuda_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="cxxabi1014"' -DTORCH_EXTENSION_NAME=esim_cuda -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_60,code=compute_60 -gencode=arch=compute_60,code=sm_60 -ccbin /home/watk681/anaconda3/envs/vid2e/bin/x86_64-conda-linux-gnu-cc -std=c++14
FAILED: /qfs/projects/mage/watk681/rpg_vid2e/esim_torch/build/temp.linux-x86_64-cpython-39/src/esim_torch/esim_cuda_kernel.o
/usr/local/cuda/bin/nvcc -I/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/include -I/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/include/TH -I/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/watk681/anaconda3/envs/vid2e/include/python3.9 -c -c /qfs/projects/mage/watk681/rpg_vid2e/esim_torch/src/esim_torch/esim_cuda_kernel.cu -o /qfs/projects/mage/watk681/rpg_vid2e/esim_torch/build/temp.linux-x86_64-cpython-39/src/esim_torch/esim_cuda_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="_cxxabi1014"' -DTORCH_EXTENSION_NAME=esim_cuda -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_60,code=compute_60 -gencode=arch=compute_60,code=sm_60 -ccbin /home/watk681/anaconda3/envs/vid2e/bin/x86_64-conda-linux-gnu-cc -std=c++14
/qfs/projects/mage/watk681/rpg_vid2e/esim_torch/src/esim_torch/esim_cuda_kernel.cu(39): warning: variable "i0" was declared but never referenced
detected during instantiation of "void count_events_cuda_forward_kernel(const scalar_t *, const scalar_t *, scalar_t *, int64_t *, int, int, int, float, float) [with scalar_t=float]"
(152): here

  /home/watk681/anaconda3/envs/vid2e/x86_64-conda-linux-gnu/include/c++/11.3.0/bits/std_function.h:435:145: error: parameter packs not expanded with '...':
    435 |         function(_Functor&& __f)
        |                                                                                                                                                 ^
  /home/watk681/anaconda3/envs/vid2e/x86_64-conda-linux-gnu/include/c++/11.3.0/bits/std_function.h:435:145: note:         '_ArgTypes'
  /home/watk681/anaconda3/envs/vid2e/x86_64-conda-linux-gnu/include/c++/11.3.0/bits/std_function.h:530:146: error: parameter packs not expanded with '...':
    530 |         operator=(_Functor&& __f)
        |                                                                                                                                                  ^
  /home/watk681/anaconda3/envs/vid2e/x86_64-conda-linux-gnu/include/c++/11.3.0/bits/std_function.h:530:146: note:         '_ArgTypes'
  ninja: build stopped: subcommand failed.
  Traceback (most recent call last):
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1884, in _run_ninja_build
      subprocess.run(
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/subprocess.py", line 528, in run
      raise CalledProcessError(retcode, process.args,
  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 "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "/qfs/projects/mage/watk681/rpg_vid2e/esim_torch/setup.py", line 4, in <module>
      setup(
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/__init__.py", line 108, in setup
      return distutils.core.setup(**attrs)
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup
      return run_commands(dist)
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
      dist.run_commands()
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
      self.run_command(cmd)
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/dist.py", line 1221, in run_command
      super().run_command(command)
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 325, in run
      self.run_command("build")
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/dist.py", line 1221, in run_command
      super().run_command(command)
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/_distutils/command/build.py", line 131, in run
      self.run_command(cmd_name)
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/dist.py", line 1221, in run_command
      super().run_command(command)
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 84, in run
      _build_ext.run(self)
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
      self.build_extensions()
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 827, in build_extensions
      build_ext.build_extensions(self)
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions
      self._build_extensions_serial()
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial
      self.build_extension(ext)
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 246, in build_extension
      _build_ext.build_extension(self, ext)
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 548, in build_extension
      objects = self.compiler.compile(
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 642, in unix_wrap_ninja_compile
      _write_ninja_file_and_compile_objects(
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1557, in _write_ninja_file_and_compile_objects
      _run_ninja_build(
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1900, in _run_ninja_build
      raise RuntimeError(message) from e
  RuntimeError: Error compiling objects for extension
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for esim-torch
Running setup.py clean for esim-torch
Failed to build esim-torch
Installing collected packages: esim-torch
Running setup.py install for esim-torch ... error
error: subprocess-exited-with-error

× Running setup.py install for esim-torch did not run successfully.
│ exit code: 1
╰─> [103 lines of output]
running install
/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-39
creating build/lib.linux-x86_64-cpython-39/esim_torch
copying src/esim_torch/esim_torch.py -> build/lib.linux-x86_64-cpython-39/esim_torch
copying src/esim_torch/init.py -> build/lib.linux-x86_64-cpython-39/esim_torch
running build_ext
/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/utils/cpp_extension.py:371: UserWarning: The detected CUDA version (11.4) has a minor version mismatch with the version that was used to compile PyTorch (11.2). Most likely this shouldn't be a problem.
warnings.warn(CUDA_MISMATCH_WARN.format(cuda_str_version, torch.version.cuda))
/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/utils/cpp_extension.py:381: UserWarning: There are no /home/watk681/anaconda3/envs/vid2e/bin/x86_64-conda-linux-gnu-c++ version bounds defined for CUDA version 11.4
warnings.warn(f'There are no {compiler_name} version bounds defined for CUDA version {cuda_str_version}')
building 'esim_cuda' extension
creating /qfs/projects/mage/watk681/rpg_vid2e/esim_torch/build/temp.linux-x86_64-cpython-39
creating /qfs/projects/mage/watk681/rpg_vid2e/esim_torch/build/temp.linux-x86_64-cpython-39/src
creating /qfs/projects/mage/watk681/rpg_vid2e/esim_torch/build/temp.linux-x86_64-cpython-39/src/esim_torch
Emitting ninja build file /qfs/projects/mage/watk681/rpg_vid2e/esim_torch/build/temp.linux-x86_64-cpython-39/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/1] /usr/local/cuda/bin/nvcc -I/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/include -I/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/include/TH -I/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/watk681/anaconda3/envs/vid2e/include/python3.9 -c -c /qfs/projects/mage/watk681/rpg_vid2e/esim_torch/src/esim_torch/esim_cuda_kernel.cu -o /qfs/projects/mage/watk681/rpg_vid2e/esim_torch/build/temp.linux-x86_64-cpython-39/src/esim_torch/esim_cuda_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="cxxabi1014"' -DTORCH_EXTENSION_NAME=esim_cuda -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_60,code=compute_60 -gencode=arch=compute_60,code=sm_60 -ccbin /home/watk681/anaconda3/envs/vid2e/bin/x86_64-conda-linux-gnu-cc -std=c++14
FAILED: /qfs/projects/mage/watk681/rpg_vid2e/esim_torch/build/temp.linux-x86_64-cpython-39/src/esim_torch/esim_cuda_kernel.o
/usr/local/cuda/bin/nvcc -I/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/include -I/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/include/TH -I/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/watk681/anaconda3/envs/vid2e/include/python3.9 -c -c /qfs/projects/mage/watk681/rpg_vid2e/esim_torch/src/esim_torch/esim_cuda_kernel.cu -o /qfs/projects/mage/watk681/rpg_vid2e/esim_torch/build/temp.linux-x86_64-cpython-39/src/esim_torch/esim_cuda_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="_cxxabi1014"' -DTORCH_EXTENSION_NAME=esim_cuda -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_60,code=compute_60 -gencode=arch=compute_60,code=sm_60 -ccbin /home/watk681/anaconda3/envs/vid2e/bin/x86_64-conda-linux-gnu-cc -std=c++14
/qfs/projects/mage/watk681/rpg_vid2e/esim_torch/src/esim_torch/esim_cuda_kernel.cu(39): warning: variable "i0" was declared but never referenced
detected during instantiation of "void count_events_cuda_forward_kernel(const scalar_t *, const scalar_t *, scalar_t *, int64_t *, int, int, int, float, float) [with scalar_t=float]"
(152): here

  /home/watk681/anaconda3/envs/vid2e/x86_64-conda-linux-gnu/include/c++/11.3.0/bits/std_function.h:435:145: error: parameter packs not expanded with '...':
    435 |         function(_Functor&& __f)
        |                                                                                                                                                 ^
  /home/watk681/anaconda3/envs/vid2e/x86_64-conda-linux-gnu/include/c++/11.3.0/bits/std_function.h:435:145: note:         '_ArgTypes'
  /home/watk681/anaconda3/envs/vid2e/x86_64-conda-linux-gnu/include/c++/11.3.0/bits/std_function.h:530:146: error: parameter packs not expanded with '...':
    530 |         operator=(_Functor&& __f)
        |                                                                                                                                                  ^
  /home/watk681/anaconda3/envs/vid2e/x86_64-conda-linux-gnu/include/c++/11.3.0/bits/std_function.h:530:146: note:         '_ArgTypes'
  ninja: build stopped: subcommand failed.
  Traceback (most recent call last):
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1884, in _run_ninja_build
      subprocess.run(
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/subprocess.py", line 528, in run
      raise CalledProcessError(retcode, process.args,
  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 "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "/qfs/projects/mage/watk681/rpg_vid2e/esim_torch/setup.py", line 4, in <module>
      setup(
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/__init__.py", line 108, in setup
      return distutils.core.setup(**attrs)
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup
      return run_commands(dist)
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
      dist.run_commands()
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
      self.run_command(cmd)
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/dist.py", line 1221, in run_command
      super().run_command(command)
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/command/install.py", line 68, in run
      return orig.install.run(self)
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/_distutils/command/install.py", line 697, in run
      self.run_command('build')
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/dist.py", line 1221, in run_command
      super().run_command(command)
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/_distutils/command/build.py", line 131, in run
      self.run_command(cmd_name)
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/dist.py", line 1221, in run_command
      super().run_command(command)
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 84, in run
      _build_ext.run(self)
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
      self.build_extensions()
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 827, in build_extensions
      build_ext.build_extensions(self)
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions
      self._build_extensions_serial()
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial
      self.build_extension(ext)
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 246, in build_extension
      _build_ext.build_extension(self, ext)
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 548, in build_extension
      objects = self.compiler.compile(
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 642, in unix_wrap_ninja_compile
      _write_ninja_file_and_compile_objects(
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1557, in _write_ninja_file_and_compile_objects
      _run_ninja_build(
    File "/home/watk681/anaconda3/envs/vid2e/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1900, in _run_ninja_build
      raise RuntimeError(message) from e
  RuntimeError: Error compiling objects for extension
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> esim-torch

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

@yazidoudou18 yazidoudou18 changed the title error building for esim_py error building for esim_torch Feb 24, 2023
@saratrajput
Copy link

@yazidoudou18 I have the same issue as well. Were you able to find a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants