We installed cuda drivers and nvidia-smi works fine but when we run below image it shows below error.
docker run --gpus all -it --rm -v /root/trt:/workspace/trt nvcr.io/nvidia/tensorrt:23.09-py3
== NVIDIA TensorRT ==
NVIDIA Release 23.09 (build 68471706)
NVIDIA TensorRT Version 8.6.1
Copyright (c) 2016-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
Container image Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
Various files include modifications (c) NVIDIA CORPORATION & AFFILIATES. All rights reserved.
This container image and its contents are governed by the NVIDIA Deep Learning Container License.
By pulling and using the container, you accept the terms and conditions of this license:
To install Python sample dependencies, run /opt/tensorrt/python/python_setup.sh
To install the open-source samples corresponding to this TensorRT release version
run /opt/tensorrt/install_opensource.sh. To build the open source parsers,
plugins, and samples for current top-of-tree on master or a different branch,
run /opt/tensorrt/install_opensource.sh -b
See GitHub - NVIDIA/TensorRT: NVIDIA® TensorRT™ is an SDK for high-performance deep learning inference on NVIDIA GPUs. This repository contains the open source components of TensorRT. for more information.
ERROR: The NVIDIA Driver is present, but CUDA failed to initialize. GPU functionality will not be available.
[[ OS call failed or operation not supported on this OS (error 304) ]]
Ubuntu version: 20.04
we have installed container runtime toolkit and tried uninstall cuda and re install but it is not working
Please help here to fix the issue.