FROM <base_image>
# set the working directory
WORKDIR /app
# install git
RUN apt-get update && apt-get install -y git
# clone the project
RUN git clone https://github.com/lizhihao6/Forward-Warp.git
# set CUDA_HOME
ENV CUDA_HOME /usr/local/cuda
# install the project
WORKDIR /app/Forward-Warp
RUN chmod a+x install.sh
RUN ./install.sh
#11 [8/8] RUN ./install.sh
#11 0.417 usage: conda [-h] [--no-plugins] [-V] COMMAND ...
#11 0.417 conda: error: argument COMMAND: invalid choice: 'activate' (choose from 'clean', 'compare', 'config', 'create', 'info', 'init', 'install', 'list', 'notices', 'package', 'remove', 'uninstall', 'rename', 'run', 'search', 'update', 'upgrade', 'doctor', 'env', 'content-trust')
#11 2.247 No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda'
#11 2.289 /opt/miniconda/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
#11 2.289 warnings.warn(
#11 2.392 /opt/miniconda/lib/python3.10/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
#11 2.392 warnings.warn(
#11 2.617 /opt/miniconda/lib/python3.10/site-packages/torch/cuda/__init__.py:546: UserWarning: Can't initialize NVML
#11 2.617 warnings.warn("Can't initialize NVML")
#11 2.617 Traceback (most recent call last):
#11 2.617 File "/app/Forward-Warp/Forward_Warp/cuda/setup.py", line 4, in <module>
#11 2.617 setup(
#11 2.617 File "/opt/miniconda/lib/python3.10/site-packages/setuptools/__init__.py", line 87, in setup
#11 2.617 return distutils.core.setup(**attrs)
#11 2.617 File "/opt/miniconda/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
#11 2.617 return run_commands(dist)
#11 2.617 File "/opt/miniconda/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
#11 2.618 dist.run_commands()
#11 2.618 File "/opt/miniconda/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
#11 2.618 self.run_command(cmd)
#11 2.618 File "/opt/miniconda/lib/python3.10/site-packages/setuptools/dist.py", line 1208, in run_command
#11 2.618 super().run_command(command)
#11 2.618 File "/opt/miniconda/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
#11 2.618 cmd_obj.run()
#11 2.618 File "/opt/miniconda/lib/python3.10/site-packages/setuptools/command/install.py", line 74, in run
#11 2.618 self.do_egg_install()
#11 2.618 File "/opt/miniconda/lib/python3.10/site-packages/setuptools/command/install.py", line 123, in do_egg_install
#11 2.618 self.run_command('bdist_egg')
#11 2.618 File "/opt/miniconda/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
#11 2.619 self.distribution.run_command(command)
#11 2.619 File "/opt/miniconda/lib/python3.10/site-packages/setuptools/dist.py", line 1208, in run_command
#11 2.619 super().run_command(command)
#11 2.619 File "/opt/miniconda/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
#11 2.619 cmd_obj.run()
#11 2.619 File "/opt/miniconda/lib/python3.10/site-packages/setuptools/command/bdist_egg.py", line 165, in run
#11 2.619 cmd = self.call_command('install_lib', warn_dir=0)
#11 2.619 File "/opt/miniconda/lib/python3.10/site-packages/setuptools/command/bdist_egg.py", line 151, in call_command
#11 2.619 self.run_command(cmdname)
#11 2.619 File "/opt/miniconda/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
#11 2.619 self.distribution.run_command(command)
#11 2.619 File "/opt/miniconda/lib/python3.10/site-packages/setuptools/dist.py", line 1208, in run_command
#11 2.620 super().run_command(command)
#11 2.620 File "/opt/miniconda/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
#11 2.620 cmd_obj.run()
#11 2.620 File "/opt/miniconda/lib/python3.10/site-packages/setuptools/command/install_lib.py", line 11, in run
#11 2.620 self.build()
#11 2.620 File "/opt/miniconda/lib/python3.10/site-packages/setuptools/_distutils/command/install_lib.py", line 112, in build
#11 2.620 self.run_command('build_ext')
#11 2.620 File "/opt/miniconda/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
#11 2.620 self.distribution.run_command(command)
#11 2.620 File "/opt/miniconda/lib/python3.10/site-packages/setuptools/dist.py", line 1208, in run_command
#11 2.620 super().run_command(command)
#11 2.620 File "/opt/miniconda/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
#11 2.621 cmd_obj.run()
#11 2.621 File "/opt/miniconda/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 84, in run
#11 2.621 _build_ext.run(self)
#11 2.621 File "/opt/miniconda/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 346, in run
#11 2.621 self.build_extensions()
#11 2.621 File "/opt/miniconda/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 843, in build_extensions
#11 2.621 build_ext.build_extensions(self)
#11 2.621 File "/opt/miniconda/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 468, in build_extensions
#11 2.621 self._build_extensions_serial()
#11 2.621 File "/opt/miniconda/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 494, in _build_extensions_serial
#11 2.621 self.build_extension(ext)
#11 2.621 File "/opt/miniconda/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 246, in build_extension
#11 2.621 _build_ext.build_extension(self, ext)
#11 2.621 File "/opt/miniconda/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 549, in build_extension
#11 2.622 objects = self.compiler.compile(
#11 2.622 File "/opt/miniconda/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 649, in unix_wrap_ninja_compile
#11 2.622 cuda_post_cflags = unix_cuda_flags(cuda_post_cflags)
#11 2.622 File "/opt/miniconda/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 548, in unix_cuda_flags
#11 2.622 cflags + _get_cuda_arch_flags(cflags))
#11 2.622 File "/opt/miniconda/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1773, in _get_cuda_arch_flags
#11 2.622 arch_list[-1] += '+PTX'
#11 2.622 IndexError: list index out of range
#11 3.215 running install
#11 3.215 /opt/miniconda/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
#11 3.215 warnings.warn(
#11 3.266 /opt/miniconda/lib/python3.10/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
#11 3.266 warnings.warn(
#11 3.408 running bdist_egg
#11 3.432 running egg_info
#11 3.432 creating Forward_Warp.egg-info
#11 3.439 writing Forward_Warp.egg-info/PKG-INFO
#11 3.439 writing dependency_links to Forward_Warp.egg-info/dependency_links.txt
#11 3.439 writing top-level names to Forward_Warp.egg-info/top_level.txt
#11 3.440 writing manifest file 'Forward_Warp.egg-info/SOURCES.txt'
#11 3.455 reading manifest file 'Forward_Warp.egg-info/SOURCES.txt'
#11 3.455 adding license file 'LICENSE'
#11 3.456 writing manifest file 'Forward_Warp.egg-info/SOURCES.txt'
#11 3.456 installing library code to build/bdist.linux-x86_64/egg
#11 3.456 running install_lib
#11 3.456 running build_py
#11 3.456 creating build
#11 3.456 creating build/lib
#11 3.457 creating build/lib/Forward_Warp
#11 3.457 copying Forward_Warp/forward_warp.py -> build/lib/Forward_Warp
#11 3.457 copying Forward_Warp/__init__.py -> build/lib/Forward_Warp
#11 3.457 creating build/lib/Forward_Warp/python
#11 3.457 copying Forward_Warp/python/__init__.py -> build/lib/Forward_Warp/python
#11 3.457 copying Forward_Warp/python/forward_warp_python.py -> build/lib/Forward_Warp/python
#11 3.458 creating build/bdist.linux-x86_64
#11 3.458 creating build/bdist.linux-x86_64/egg
#11 3.458 creating build/bdist.linux-x86_64/egg/Forward_Warp
#11 3.458 creating build/bdist.linux-x86_64/egg/Forward_Warp/python
#11 3.458 copying build/lib/Forward_Warp/python/__init__.py -> build/bdist.linux-x86_64/egg/Forward_Warp/python
#11 3.458 copying build/lib/Forward_Warp/python/forward_warp_python.py -> build/bdist.linux-x86_64/egg/Forward_Warp/python
#11 3.459 copying build/lib/Forward_Warp/forward_warp.py -> build/bdist.linux-x86_64/egg/Forward_Warp
#11 3.459 copying build/lib/Forward_Warp/__init__.py -> build/bdist.linux-x86_64/egg/Forward_Warp
#11 3.459 byte-compiling build/bdist.linux-x86_64/egg/Forward_Warp/python/__init__.py to __init__.cpython-310.pyc
#11 3.460 byte-compiling build/bdist.linux-x86_64/egg/Forward_Warp/python/forward_warp_python.py to forward_warp_python.cpython-310.pyc
#11 3.461 byte-compiling build/bdist.linux-x86_64/egg/Forward_Warp/forward_warp.py to forward_warp.cpython-310.pyc
#11 3.462 build/bdist.linux-x86_64/egg/Forward_Warp/forward_warp.py:53: SyntaxWarning: "is" with a literal. Did you mean "=="?
#11 3.462 if(interpolation_mode is "Bilinear"):
#11 3.462 byte-compiling build/bdist.linux-x86_64/egg/Forward_Warp/__init__.py to __init__.cpython-310.pyc
#11 3.462 creating build/bdist.linux-x86_64/egg/EGG-INFO
#11 3.463 copying Forward_Warp.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
#11 3.463 copying Forward_Warp.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
#11 3.463 copying Forward_Warp.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
#11 3.463 copying Forward_Warp.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
#11 3.463 zip_safe flag not set; analyzing archive contents...
#11 3.464 creating dist
#11 3.464 creating 'dist/Forward_Warp-0.0.1-py3.10.egg' and adding 'build/bdist.linux-x86_64/egg' to it
#11 3.466 removing 'build/bdist.linux-x86_64/egg' (and everything under it)
#11 3.467 Processing Forward_Warp-0.0.1-py3.10.egg
#11 3.468 Copying Forward_Warp-0.0.1-py3.10.egg to /opt/miniconda/lib/python3.10/site-packages
#11 3.470 Adding Forward-Warp 0.0.1 to easy-install.pth file
#11 3.471
#11 3.471 Installed /opt/miniconda/lib/python3.10/site-packages/Forward_Warp-0.0.1-py3.10.egg
#11 3.472 Processing dependencies for Forward-Warp==0.0.1
#11 3.472 Finished processing dependencies for Forward-Warp==0.0.1
#11 DONE 3.5s