You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -47,6 +52,10 @@ DEFINE_uint32(num_executions, 1, "Number of times to run the model.");
47
52
#ifdef ET_EVENT_TRACER_ENABLED
48
53
DEFINE_string(etdump_path, "model.etdump", "Write ETDump data to this path.");
49
54
#endif// ET_EVENT_TRACER_ENABLED
55
+
DEFINE_int32(
56
+
cpu_threads,
57
+
-1,
58
+
"Number of CPU threads for inference. Defaults to -1, which implies we'll use a heuristic to derive the # of performant cores for a specific device.");
50
59
51
60
using executorch::extension::FileDataLoader;
52
61
using executorch::runtime::Error;
@@ -124,6 +133,18 @@ int main(int argc, char** argv) {
0 commit comments