We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a65ae9 commit 8402f92Copy full SHA for 8402f92
pytorch/src/TorchService.cxx
@@ -5,6 +5,7 @@
5
#include "WireCellUtil/Persist.h"
6
7
#include <omp.h>
8
+#include <ATen/Parallel.h>
9
10
WIRECELL_FACTORY(TorchService,
11
WireCell::Pytorch::TorchService,
@@ -30,6 +31,7 @@ Pytorch::TorchService::TorchService()
30
31
log->critical("error interpreting OMP_NUM_THREADS as integer ({})", env_str);
32
} // env var not set
33
}
34
+ log->info("TorchService parallel info:\n{}", at::get_parallel_info());
35
36
37
Configuration Pytorch::TorchService::default_configuration() const
0 commit comments