> ## Content Index
> Fetch the complete content index at: https://yinguobing.com/blog/llms.txt
> Use this file to discover other available public pages before exploring further.

# 修复sm_86错误
- URL: https://yinguobing.com/blog/sm_86-is-not-defined/
- Published: 2021-06-08T01:41:24.000Z
- Updated: 2021-06-08T01:45:44.000Z
- Description: 要使用正确的Docker镜像
- Author: 尹国冰
- Tags: 新手入门

该错误信息为

```bash
nvcc fatal   : Value 'sm_86' is not defined for option 'gpu-architecture'
```

这个问题是在使用TensorFlow的官方Docker镜像时出现。

解决方案：使用Nvidia官方镜像。

[TensorFlow Release Notes :: NVIDIA Deep Learning Frameworks Documentation](https://docs.nvidia.com/deeplearning/frameworks/tensorflow-release-notes/running.html?ref=yinguobing.com#running)