Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annoying TensorFlow messages #720

Closed
osma opened this issue Jul 25, 2023 · 0 comments · Fixed by #721
Closed

Annoying TensorFlow messages #720

osma opened this issue Jul 25, 2023 · 0 comments · Fixed by #721
Assignees
Labels
Milestone

Comments

@osma
Copy link
Member

osma commented Jul 25, 2023

I've seen these for a long time but just ignored them. However, I think these messages should not be shown to the user:

2023-07-25 11:31:43.949391: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 AVX512F AVX512_VNNI FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-07-25 11:31:44.032688: I tensorflow/core/util/port.cc:104] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.

The messages are shown for most Annif commands (e.g. annif suggest, annif eval) whenever TensorFlow is installed, even without having configured any projects using the nn_ensemble backend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants