# tensorflow.python.framework.errors\_impl.InternalError: CUDA runtime implicit initialization on GPU:0 failed

**URL:** <https://forums.developer.nvidia.com/t/tensorflow-python-framework-errors-impl-internalerror-cuda-runtime-implicit-initialization-on-gpu-0-failed/175873>\
**Category:** TensorRT\
**Created:** [April 21, 2021, 9:55am UTC](https://forums.developer.nvidia.com/t/tensorflow-python-framework-errors-impl-internalerror-cuda-runtime-implicit-initialization-on-gpu-0-failed/175873 "2021-04-21T09:55:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajanelaiya](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@rajanelaiya](https://forums.developer.nvidia.com/u/rajanelaiya)\
**Post date:** [April 21, 2021, 9:55am UTC](https://forums.developer.nvidia.com/t/tensorflow-python-framework-errors-impl-internalerror-cuda-runtime-implicit-initialization-on-gpu-0-failed/175873/1 "2021-04-21T09:55:04Z")

</div>

tensorflow.python.framework.errors\_impl.InternalError: CUDA runtime implicit initialization on GPU:0 failed. Status: all CUDA-capable devices are busy or unavailable

---

<div class="post-metadata">

**Author:** ![zhuohai346](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@zhuohai346](https://forums.developer.nvidia.com/u/zhuohai346)\
**Post date:** [July 16, 2021, 9:34am UTC](https://forums.developer.nvidia.com/t/tensorflow-python-framework-errors-impl-internalerror-cuda-runtime-implicit-initialization-on-gpu-0-failed/175873/3 "2021-07-16T09:34:50Z")

</div>

> [@rajanelaiya](#):
>
> CUDA

```auto
`
[details="Summary"]
*

> type or paste code here

*
[/details]
`

```

---

<div class="post-metadata">

**Author:** ![NVES](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/nves/32/14043_2.png) [@NVES](https://forums.developer.nvidia.com/u/NVES)\
**Post date:** [July 19, 2021, 1:37pm UTC](https://forums.developer.nvidia.com/t/tensorflow-python-framework-errors-impl-internalerror-cuda-runtime-implicit-initialization-on-gpu-0-failed/175873/4 "2021-07-19T13:37:57Z")

</div>

Hi,  
We recommend you to check the below samples links in case of tf-trt integration issues.

> **[Accelerating Inference In TF-TRT User Guide :: NVIDIA Deep Learning...](https://docs.nvidia.com/deeplearning/frameworks/tf-trt-user-guide/index.html#samples)**
>
> During the TensorFlow with TensorRT (TF-TRT) optimization, TensorRT performs several important transformations and optimizations to the neural network graph. This guide provides instructions on how to accelerate inference in TF-TRT.

> **[Quick Start Guide :: NVIDIA Deep Learning TensorRT Documentation](https://docs.nvidia.com/deeplearning/tensorrt/quick-start-guide/index.html#framework-integration)**
>
> This NVIDIA TensorRT 8.4.3 Quick Start Guide is a starting point for developers who want to try out TensorRT SDK; specifically, this document demonstrates how to quickly construct an application to run inference on a TensorRT engine.

> **[Accelerating Inference In TF-TRT User Guide :: NVIDIA Deep Learning...](https://docs.nvidia.com/deeplearning/frameworks/tf-trt-user-guide/index.html#integrate-ovr)**
>
> During the TensorFlow with TensorRT (TF-TRT) optimization, TensorRT performs several important transformations and optimizations to the neural network graph. This guide provides instructions on how to accelerate inference in TF-TRT.

> **[Accelerating Inference In TF-TRT User Guide :: NVIDIA Deep Learning...](https://docs.nvidia.com/deeplearning/frameworks/tf-trt-user-guide/index.html#usingtftrt)**
>
> During the TensorFlow with TensorRT (TF-TRT) optimization, TensorRT performs several important transformations and optimizations to the neural network graph. This guide provides instructions on how to accelerate inference in TF-TRT.

If issue persist, We recommend you to reach out to Tensorflow forum.  
Thanks!
