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 4160b8c commit 5f9cbfaCopy full SHA for 5f9cbfa
torch/csrc/DataLoader.cpp
@@ -131,6 +131,10 @@ static PyObject *THPModule_errorIfAnyWorkerFails(PyObject *module) {
131
std::ostringstream oss;
132
oss << "DataLoader worker (pid " << worker_pid << ") is killed "
133
<< "by signal: " << strsignal(infop.si_status) << ". ";
134
+ if (infop.si_status == SIGBUS) {
135
+ oss << "It is possible that dataloader's workers are out of shared memory. "
136
+ << "Please try to raise your shared memory limit.";
137
+ }
138
// This is necessary. Otherwise, the runtime error will kill the other
139
// workers, and trigger this again.
140
pid_set->clear();
0 commit comments