Skip to content

Warning while creating Session on Mac OS X: can't determine number of CPU cores #27

Description

@delip

While creating a Session, I get this warning (using pre-built whl on OSX). Any ideas?

s = tf.Session()
can't determine number of CPU cores: assuming 4
I tensorflow/core/common_runtime/local_device.cc:25] Local device intra op parallelism threads: 4
can't determine number of CPU cores: assuming 4
I tensorflow/core/common_runtime/local_session.cc:45] Local session inter op parallelism threads: 4

Activity

  1. vrv commented on Nov 9, 2015

    @vrv

    Hi delip, we fixed this in 430a054 -- when we mint our next version of the pip binaries, this should be fixed. Thanks for your report!

  2. changed the title [-]Warning while creating Session[/-] [+]Warning while creating Session on Mac OS X: can't determine number of CPU cores[/+] on Nov 9, 2015
  3. delip commented on Nov 9, 2015

    @delip
    Author

    Excellent!

  4. gynsolomon commented on Nov 10, 2015

    @gynsolomon

    thanks!

  5. delip commented on Nov 17, 2015

    @delip
    Author

    Just want to confirm that this warning went away with the latest build. I will be closing this. Thanks!

  6. added a commit that references this issue on Mar 9, 2016
    da88e3f
  7. added a commit that references this issue on Jun 20, 2017
    1d1b340
  8. added a commit that references this issue on Apr 10, 2018
  9. added a commit that references this issue on Mar 12, 2019
  10. added a commit that references this issue on Jan 15, 2025
  11. added 5 commits that reference this issue on Apr 9, 2025
  12. added 2 commits that reference this issue on Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions