我正在尝试在各种张量流版本上运行import tensorflow
。我真正想使用的是1.13.1
.
我的 CPU 是 INTEL Xeon Scalable GOLD 6126 - 12 核(24 线程)2.60GHz。
我已经在互联网上搜索过这个错误*,大多数情况下,解决方法是将张量流降级到旧版本(通常我尝试过1.5.1
并且它有效)。有时它只是未解决**。
但问题真的有可能解决吗?
这是我对各个版本的张量流的输出。
1.13.1
2020-09-18 15:00:16.308205: F tensorflow/core/platform/cpu_feature_guard.cc:37] The TensorFlow library was compiled to use SSE4.1 instructions, but these aren't available on your machine. Aborted (core dumped)
1.14.0
,1.15.2
和2.3.0
Illegal instruction (core dumped)
似乎从源代码构建可能是一个解决方案,但是知道我想在 docker 内运行代码并使用 GPU,如何正确地做到这一点?
编辑-更多信息
在主服务器(主机)上,我有以下标志/proc/cpuinfo
:
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single pti ssbd mba ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts hwp hwp_act_window hwp_epp hwp_pkg_req pku ospke md_clear flush_l1d
在虚拟机(我想在其上运行张量流)上,我有以下标志/proc/cpuinfo
:
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc nopl xtopology cpuid pni cx16 x2apic hypervisor lahf_lm cpuid_fault pti
sse4_1
sse4_2
这次似乎失踪了。
慕沐林林
天涯尽头无女友
相关分类