Error in cpuinfo: failed to parse the list of possible processors in /sys/devices/system/cpu/possible Error in cpuinfo: failed to parse the list of present processors in /sys/devices/system/cpu/present Error in cpuinfo: failed to parse both lists of possible and present processors terminate called after throwing an instance of 'onnxruntime::OnnxRuntimeException' what(): /onnxruntime_src/include/onnxruntime/core/common/logging/logging.h:309 static const onnxruntime::logging::Logger& onnxruntime::logging::LoggingManager::DefaultLogger() Attempt to use DefaultLogger but none has been registered.
已中止
deepseek给出的回答为cpuinfo库解析处理器信息失败,而事实上文件并不存在。
所以需要伪造文件
输入 exit 并回车,然后不断选择最下面的项目,退出tmoe。
然后运行下列命令
1 2 3 4 5 6 7 8 9 10
cd .local/share/tmoe-linux/containers/proot/ubuntu-noble_arm64/sys mkdir devices cd devices mkdir system cd system mkdir cpu cd cpu echo"0-7" > possible # 0-7应填写soc的实际情况,如为8核心soc,则填写0-7,超线程情况下应填写0-实际线程数减1 echo"0-7" > present cd ~