无NVIDIA 显卡情况下如何导入Tensorflow 包

电脑配置:CPU:R5-5500U,AMD 2G集显
Tensorflow 导入报错
IDE :pycharm
Tensorflow 版本 2.8
Python版本3.7

import tensorflow as tf

报错一下关键内容
Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
Ignore above cudart dlerror if you do not have a GPU set up on your machine.

在不变更tensorflow 等库版本情况下,如何设置可以用
说明一下:在anaconda jupyter-notebook 下运行可以正常导入
anaconda的Python版本 是3.8.5

1.使用tesnrflow-cpu版本。
2.linux系统的话可以用ROCm驱动(类似cuda)跑tf-GPU,不过只听说没试过,可能可以
3.

GitHub - microsoft/DirectML: DirectML is a high-performance, hardware-accelerated DirectX 12 library for machine learning. DirectML provides GPU acceleration for common machine learning tasks across a broad range of supported hardware and drivers, including all DirectX 12-capable GPUs from vendors such as AMD, Intel, NVIDIA, and Qualcomm. DirectML is a high-performance, hardware-accelerated DirectX 12 library for machine learning. DirectML provides GPU acceleration for common machine learning tasks across a broad range of supported hardware and drivers, including all DirectX 12-capable GPUs from vendors such as AMD, Intel, NVIDIA, and Qualcomm. - GitHub - microsoft/DirectML: DirectML is a high-performance, hardware-accelerated DirectX 12 library for machine learning. DirectML provides GPU acceleration for common machine learning tasks across a broad range of supported hardware and drivers, including all DirectX 12-capable GPUs from vendors such as AMD, Intel, NVIDIA, and Qualcomm. https://github.com/microsoft/DirectML/

看下微软的DirectML,可以在amd上面跑tf和pytorch,坑多

4.炼丹请用N卡