Skip to content

Commit

Permalink
fix: set xnn default threads to 4
Browse files Browse the repository at this point in the history
  • Loading branch information
chenghuaWang committed Oct 31, 2024
1 parent 99f2ebc commit b829c24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backends/xnnpack/XnnpackBackend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,6 @@ void XnnpackBackend::setWeightCacheFinalized(bool b) {
weight_cache_finalized = b;
}

int XnnpackBackend::xnn_threads = 0;
int XnnpackBackend::xnn_threads = 4;

} // namespace mllm::xnnpack

0 comments on commit b829c24

Please sign in to comment.