during docker build i get following error:625.4           self.build_extension(ext)
625.4         File "/opt/conda/envs/kpinst/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 263, in build_extension
625.4           _build_ext.build_extension(self, ext)
625.4         File "/opt/conda/envs/kpinst/lib/python3.9/site-packages/Cython/Distutils/build_ext.py", line 135, in build_extension
625.4           super(build_ext, self).build_extension(ext)
625.4         File "/opt/conda/envs/kpinst/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 557, in build_extension
625.4           objects = self.compiler.compile(
625.4         File "/opt/conda/envs/kpinst/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 649, in unix_wrap_ninja_compile
625.4           cuda_post_cflags = unix_cuda_flags(cuda_post_cflags)
625.4         File "/opt/conda/envs/kpinst/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 548, in unix_cuda_flags
625.4           cflags + _get_cuda_arch_flags(cflags))
625.4         File "/opt/conda/envs/kpinst/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1773, in _get_cuda_arch_flags
625.4           arch_list[-1] += '+PTX'
625.4       IndexError: list index out of range
625.4       [end of output]
625.4
625.4   note: This error originates from a subprocess, and is likely not a problem with pip.
625.4   ERROR: Failed building wheel for inplace-abn
625.4 ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (inplace-abn)
625.4
625.4
625.4 failed
625.4
625.4 CondaEnvException: Pip failed
625.4
------
Dockerfile:50
--------------------
  49 |     # Create Conda environment with mamba
  50 | >>> RUN mamba env create -f /tmp/conda_env.yml -p /opt/conda/envs/kpinst && \
  51 | >>>     conda clean -afy && \
  52 | >>>     conda env list
  53 |
--------------------
ERROR: failed to solve: process "/bin/sh -c mamba env create -f /tmp/conda_env.yml -p /opt/conda/envs/kpinst &&     conda clean -afy &&     conda env list" did not complete successfully: exit code: 1
 my dockerfile is :# Use base CUDA development image instead of runtime
FROM nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04

# Update NVIDIA GPG key
RUN rm -f /etc/apt/sources.list.d/cuda.list && \
    apt-get update && \
    DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends wget && \
    wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-keyring_1.0-1_all.deb && \
    dpkg -i cuda-keyring_1.0-1_all.deb

# Preseed tzdata and install dependencies including build-essential and ninja-build
RUN truncate -s0 /tmp/preseed.cfg && \
    echo "tzdata tzdata/Areas select Europe" >> /tmp/preseed.cfg && \
    echo "tzdata tzdata/Zones/Europe select Berlin" >> /tmp/preseed.cfg && \
    debconf-set-selections /tmp/preseed.cfg && \
    rm -f /etc/timezone /etc/localtime && \
    apt-get update && \
    DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
        tzdata \
        sudo \
        nano \
        git \
        ffmpeg \
        libsm6 \
        libxext6 \
        build-essential \
        ninja-build && \  
		rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Install Miniconda
ENV CONDA_DIR=/opt/conda
ENV PATH="$CONDA_DIR/bin:$PATH"

RUN wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh && \
    /bin/bash ~/miniconda.sh -b -p $CONDA_DIR && \
    rm ~/miniconda.sh && \
    $CONDA_DIR/bin/conda clean -afy && \
    ln -s $CONDA_DIR/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
    echo ". $CONDA_DIR/etc/profile.d/conda.sh" >> ~/.bashrc

# Update conda, set channel priority to flexible, and install mamba
RUN conda update -n base -c defaults conda -y && \
    conda config --set channel_priority flexible && \
    conda install -n base -c conda-forge mamba -y

# Copy your conda environment file
COPY conda_env.yml /tmp/conda_env.yml

# Create Conda environment with mamba
RUN mamba env create -f /tmp/conda_env.yml -p /opt/conda/envs/kpinst && \
    conda clean -afy && \
    conda env list

# Set environment variables to use the new environment
ENV CONDA_DEFAULT_ENV=kpinst
ENV PATH="$CONDA_DIR/envs/kpinst/bin:$PATH"

# Initialize conda
RUN conda init bash

# Install openmim and mmcv-full
RUN conda run -p /opt/conda/envs/kpinst pip install openmim && \
    conda run -p /opt/conda/envs/kpinst mim install mmcv-full==1.7.1

# Verify that mim is installed
RUN ls /opt/conda/envs/kpinst/bin/

# Activate the environment
ENV PATH /opt/conda/envs/kpinst/bin:$PATH

# Set PYTHONPATH to include the 'iSUOR_toolbox' directory
ENV PYTHONPATH="/workspace/isuor_kpinst/kpinst:${PYTHONPATH}"

# Install MMDetection from source
RUN git clone https://github.com/open-mmlab/mmdetection.git /mmdet && \
    cd /mmdet && \
    git checkout 94afcdc && \
    pip install -v -e .

# Install Monocular-Depth-Estimation-Toolbox from source
RUN git clone https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox.git /mde_toolbox && \
    cd /mde_toolbox && \
    git checkout 7c0c89c && \
    pip install -v -e .

# Update PYTHONPATH and activate the environment in .bashrc for interactive sessions
RUN echo "export PYTHONPATH=/workspace/isuor_kpinst/kpinst/:${PYTHONPATH}" >> ~/.bashrc && \
    echo "conda activate kpinst" >> ~/.bashrc

# Verify that init.py exists
RUN ls -la /mde_toolbox/depth/

# Adjust MMCV_MAX version in MDE-Toolbox to prevent version complaints
RUN sed -i "s/MMCV_MAX = '1.5.0'/MMCV_MAX = '1.8.0'/g" /mde_toolbox/depth/init.py

# Install yapf to fix configuration printing bug
RUN pip install yapf==0.40.1

# Replace memory hook in MMCV to fix GPU context issue
COPY patch/hooks_memory.py $CONDA_DIR/envs/kpinst/lib/python3.9/site-packages/mmcv/runner/hooks/memory.py

# Set default command
CMD ["bash"]