Lower priority of missing NUMA /sys file log message.
On WSL, this file does not exist and that is expected. Issue https://github.com/google/jax/issues/5361 Jax suppresses all logging below ERROR; a user reported this message as annoying them on a WSL machine. Since this message does not necessarily indicate a problem, lower its priority. PiperOrigin-RevId: 351415522 Change-Id: Ib66603f580b4b793575eda1b03fa8ea816c13dc2
This commit is contained in:
parent
5b172f953f
commit
911305768e
@ -924,8 +924,8 @@ static int TryToReadNumaNode(const std::string& pci_bus_id,
|
|||||||
// could use the file::* utilities).
|
// could use the file::* utilities).
|
||||||
FILE* file = fopen(filename.c_str(), "r");
|
FILE* file = fopen(filename.c_str(), "r");
|
||||||
if (file == nullptr) {
|
if (file == nullptr) {
|
||||||
LOG(ERROR) << "could not open file to read NUMA node: " << filename
|
LOG(INFO) << "could not open file to read NUMA node: " << filename
|
||||||
<< "\nYour kernel may have been built without NUMA support.";
|
<< "\nYour kernel may have been built without NUMA support.";
|
||||||
return kUnknownNumaNode;
|
return kUnknownNumaNode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user