We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c8694e commit 5c8d34aCopy full SHA for 5c8d34a
csrc/cpu/utils.cpp
@@ -54,8 +54,7 @@ std::string init_cpu_threads_env(const std::string& cpu_ids) {
54
*(src_mask->maskp) = *(src_mask->maskp) ^ *(mask->maskp);
55
int page_num = numa_migrate_pages(pid, src_mask, mask);
56
if (page_num == -1) {
57
- TORCH_CHECK(false,
58
- "numa_migrate_pages failed. errno: " + std::to_string(errno));
+ TORCH_WARN("numa_migrate_pages failed. errno: " + std::to_string(errno));
59
}
60
61
// restrict memory allocation node.
@@ -105,4 +104,4 @@ std::string init_cpu_threads_env(const std::string& cpu_ids) {
105
104
106
return ss.str();
107
108
-#endif
+#endif
0 commit comments