GithubHelp home page GithubHelp logo

Xeon support about tfjs HOT 4 CLOSED

lukemovement avatar lukemovement commented on May 27, 2024
Xeon support

from tfjs.

Comments (4)

gaikwadrahul8 avatar gaikwadrahul8 commented on May 27, 2024

Hi, @lukemovement

As far I know TensorFlow.js itself currently does not have built-in support for directly utilizing multiple processors or sockets on your machine even when using Xeon processors.

Tensorflow.js can be used in Node.js environments through the @tensorflow/tfjs-node package. However, it doesn't have built-in support for distributed training across multiple processors or sockets within the Node.js runtime itself.
While tfjs-node can leverage multiple CPU cores through Node.js's worker threads for certain operations, it's not designed for full-fledged distributed training like the Python library.

TensorFlow Python Library is recommended approach for complex models or large datasets using the TensorFlow Python library with its distribution strategies is the most effective way to train on multiple processors or GPUs.

It offers robust support for distributed training across various hardware configurations including multi-socket machines.
This approach involves writing your training code in Python and utilizing TensorFlow's distribution APIs like tf.distribute.MirroredStrategy, tf.distribute.MultiWorkerMirroredStrategy or tf.distribute.TPUStrategy. These APIs handle data parallelism and model replication across available devices enabling efficient training on multiple cores.

I hope this information is helpful. Please let me know if you have any further questions.

If I have missed something here please let me know. Thank you for your cooperation and patience.

from tfjs.

github-actions avatar github-actions commented on May 27, 2024

This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.

from tfjs.

gaikwadrahul8 avatar gaikwadrahul8 commented on May 27, 2024

Hi, @lukemovement

We haven't got confirmation from your end, May I know your issue got resolved ? if so please feel free to close this issue ? if you've any further questions please feel free to ask us

Thank you for your understanding and patience.

from tfjs.

google-ml-butler avatar google-ml-butler commented on May 27, 2024

Are you satisfied with the resolution of your issue?
Yes
No

from tfjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.