# CUDA and TensorRT Compatibility

**URL:** <https://forums.developer.nvidia.com/t/cuda-and-tensorrt-compatibility/265061>\
**Category:** TensorRT\
**Created:** [August 31, 2023, 1:48pm UTC](https://forums.developer.nvidia.com/t/cuda-and-tensorrt-compatibility/265061 "2023-08-31T13:48:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ncn\_eu](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@ncn\_eu](https://forums.developer.nvidia.com/u/ncn_eu)\
**Post date:** [August 31, 2023, 1:48pm UTC](https://forums.developer.nvidia.com/t/cuda-and-tensorrt-compatibility/265061/1 "2023-08-31T13:48:08Z")

</div>

I’m heaving some issues with cuda and tensorrt compatibility. During installation I’ve followed this official website from NVIDIA

[https://docs.nvidia.com/deeplearning/tensorrt/archives/tensorrt-861/support-matrix/index.html](https://docs.nvidia.com/deeplearning/tensorrt/archives/tensorrt-861/support-matrix/index.html)

## My Environment

**TensorRT Version** : tensorrt 8.6.1.6-1+cuda12.0  
**GPU Type** : A6000  
**Nvidia Driver Version** : 525.125.06  
**CUDA Version** : 12.0  
**CUDNN Version** : 8.9.0  
**Operating System + Version** : Ubuntu 22.04  
**Python Version (if applicable)**: 3.10.12  
**PyTorch Lightning Version (if applicable)**: 1.9.5  
**PyTorch Version (if applicable)**: 2.0.1

But the error says

```auto
[TRT] [E] 1: [reformat.cpp::executeCutensor::329] Error Code 1: CuTensor (Internal cuTensor permutate execute failed)
[TRT] [E] 1: [checkMacros.cpp::catchCudaError::203] Error Code 1: Cuda Runtime (invalid resource handle)

```

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![AakankshaS](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aakankshas/32/14047_2.png) [@AakankshaS](https://forums.developer.nvidia.com/u/AakankshaS)\
**Post date:** [August 31, 2023, 2:37pm UTC](https://forums.developer.nvidia.com/t/cuda-and-tensorrt-compatibility/265061/2 "2023-08-31T14:37:39Z")

</div>

Hi,  
Please refer to the installation steps from the below link if in case you are missing on anything

> **[Installation Guide :: NVIDIA Deep Learning TensorRT Documentation](https://docs.nvidia.com/deeplearning/tensorrt/install-guide/index.html)**
>
> This NVIDIA TensorRT 8.6.1 Installation Guide provides the installation requirements, a list of what is included in the TensorRT package, and step-by-step instructions for installing TensorRT.

Also, we suggest you to use TRT NGC containers to avoid any system dependency related issues.

> **[TensorRT | NVIDIA NGC](https://catalog.ngc.nvidia.com/orgs/nvidia/containers/tensorrt)**
>
> NVIDIA TensorRT is a C++ library that facilitates high-performance inference on NVIDIA graphics processing units (GPUs). TensorRT takes a trained network and produces a highly optimized runtime engine that performs inference for that network.

Thanks!
