-
问题录
- (Ubuntu18.04)在运行程序时,在启动jupyter的Terminal中,出现 “Your CPU supports instructions that this TensorFlow binary was not compiled to use : AVX2 FMA”
- 解决方案: 在程序中添加两行代码
import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' # 忽略哪些报告
- 解决方案: 在程序中添加两行代码
- Ubuntu18.04)在运行程序时,在启动jupyter的Terminal中,出现如下报错:
Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA Successfully opened dynamic library libcuda.so.1 unable to create StreamExecutor for CUDA:0: failed initializing StreamExecutor for CUDA device ordinal 0: Internal: failed call to cuDevicePrimaryCtxRetain: CUDA_ERROR_OUT_OF_MEMORY: out of memory; total memory reported: 8366784512 Attempting to fetch value instead of han