# Intel 13700 cpu for tf node js, only 8 core

**URL:** <https://discuss.ai.google.dev/t/intel-13700-cpu-for-tf-node-js-only-8-core/30886>\
**Category:** General Discussion\
**Tags:** tensorflow, tfjs\
**Created:** [October 25, 2023, 8:54am UTC](https://discuss.ai.google.dev/t/intel-13700-cpu-for-tf-node-js-only-8-core/30886 "2023-10-25T08:54:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gotostereo](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/gotostereo/32/10809_2.png) [@gotostereo](https://discuss.ai.google.dev/u/gotostereo)\
**Post date:** [October 25, 2023, 8:54am UTC](https://discuss.ai.google.dev/t/intel-13700-cpu-for-tf-node-js-only-8-core/30886/1 "2023-10-25T08:54:36Z")

</div>

Hi! Tenserflow node js, on CPU 13700 working only 8 core, “[@tensorflow](https://discuss.ai.google.dev/groups/tensorflow)/tfjs-node”: “^4.12.0”  
How can I make all cores work?  
screenshot [Snipaste-2023-10-25-11-49-13 hosted at ImgBB — ImgBB](https://ibb.co/QcdTJmY)  
windows 10 x64

---

<div class="post-metadata">

**Author:** ![tagoma](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/tagoma/32/19434_2.png) [@tagoma](https://discuss.ai.google.dev/u/tagoma)\
**Post date:** [October 25, 2023, 9:21am UTC](https://discuss.ai.google.dev/t/intel-13700-cpu-for-tf-node-js-only-8-core/30886/2 "2023-10-25T09:21:15Z")

</div>

Maybe this answer will help you somewhat:  
[Make tfjs use all 4 cpu cores](http://discuss.ai.google.dev/t/make-tfjs-use-all-4-cpu-cores/7575/3)

---

<div class="post-metadata">

**Author:** ![gotostereo](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/gotostereo/32/10809_2.png) [@gotostereo](https://discuss.ai.google.dev/u/gotostereo)\
**Post date:** [October 25, 2023, 9:46am UTC](https://discuss.ai.google.dev/t/intel-13700-cpu-for-tf-node-js-only-8-core/30886/4 "2023-10-25T09:46:06Z")

</div>

const tf = require(‘[@tensorflow](https://discuss.ai.google.dev/groups/tensorflow)/tfjs’);  
const {getThreadsCount, setThreadsCount} = require(‘[@tensorflow](https://discuss.ai.google.dev/groups/tensorflow)/tfjs-backend-wasm’);

setThreadsCount(8);

tf.setBackend(‘wasm’).then(() =\> {  
console.log(getThreadsCount());  
});

result = 1

This is for mobile applications, as I understand it. I need for PC
