Google-Cloud-Platform

Google云功能警告“OpenBLAS 警告 - 無法確定此系統上的 L2 記憶體大小”

  • February 4, 2022

我收到警告

OpenBLAS 警告 - 無法確定此系統上的 L2 記憶體大小,假設為 256k

在 Cloud Function 的“LOGS”選項卡的日誌中。

AppEngine 警告 - OpenBLAS WARNING - could not determine the L2 cache size on this system上已經有關於 Stack Overflow 的 Q/A ,但它不要求 Google Cloud 功能,僅適用於 Google App Engine。

我想知道如何在 Google Cloud Function 中消除此警告,以及我是否應該關心?

  • 無論如何這只是一個警告,而且相當繁重的雲函式(有大量計算 + 節省 50 MB csv、700 MB 所需 RAM、1 GB 分配、540 秒超時時間)無論如何都會執行。什麼都不做可能是公認的答案。
  • 也許我可以在設置中的某處找到 L2 記憶體大小,這裡指的是哪個系統?

該警告只是告訴您作為 Pandas 依賴項的OpenBLAS無法確定 Cloud Function 環境的某些設置,這很可能是因為 Cloud Function 在虛擬化環境中執行。我建議您忽略該警告,因為它在 Cloud Function 中不是問題。

引用自:https://serverfault.com/questions/1092623