-
Notifications
You must be signed in to change notification settings - Fork 74k
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
#include "tsl/framework/numeric_types.h"
is missing
#61830
Comments
This could be due to the commit Vendor XLA/TSL into TensorFlow as Bazel dependencies @jakeharmon8 , Could you please take a look into this. Thanks! |
Hi @sachinprasadhs, It seems to work now. |
Thanks for confirming, could you pease close this issue. |
I still got this error with 2.15.0rc0 on Windows. The package was installed using
There are no errors on Linux and macOS, though. |
I checked the Linux wheel and the Windows wheel. The Linux wheel contains |
This time I see:
|
Hi @sachinprasadhs, this issue still exists in 2.15.0rc1. I know now Intel builds the Windows package. Is there some way to report to them? |
cc: @mraunak |
Hi @njzjz and @sachinprasadhs, the above issue will be fixed and missing xla/tsl files will be available in the include folder in the next release TF 2.16. |
I confirm it has been fixed in TF 2.16. |
tensorflow/tensorflow#61830 got fixed. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Updated the TensorFlow version constraint for better compatibility on Windows systems. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
Closing since it is fixed. Thank you for the confirmation |
Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
2.15
Custom code
Yes
OS platform and distribution
docker/tensorflow/tensorflow:nightly-gpu
Mobile device
no
Python version
3.11
Bazel version
NR
GCC/compiler version
NR
CUDA/cuDNN version
NR
GPU model and memory
NR
Current behavior?
Create test.cc
compile it with flags provided by TensorFlow:
get_compile_flags():
['-I/usr/local/lib/python3.11/dist-packages/tensorflow/include', '-D_GLIBCXX_USE_CXX11_ABI=1', '--std=c++17', '-DEIGEN_MAX_ALIGN_BYTES=64']
get_link_flags():
['-L/usr/local/lib/python3.11/dist-packages/tensorflow', '-l:libtensorflow_framework.so.2']
Then
In file included from /usr/local/lib/python3.11/dist-packages/tensorflow/include/tensorflow/core/framework/bfloat16.h:19,
from /usr/local/lib/python3.11/dist-packages/tensorflow/include/tensorflow/core/framework/types.h:24,
from /usr/local/lib/python3.11/dist-packages/tensorflow/include/tensorflow/core/framework/op_def_builder.h:28,
from /usr/local/lib/python3.11/dist-packages/tensorflow/include/tensorflow/core/framework/full_type_inference_util.h:24,
from /usr/local/lib/python3.11/dist-packages/tensorflow/include/tensorflow/core/framework/op.h:27,
from test.cc:1:
/usr/local/lib/python3.11/dist-packages/tensorflow/include/tensorflow/core/framework/numeric_types.h:24:10: fatal error: tsl/framework/numeric_types.h: No such file or directory
24 | #include "tsl/framework/numeric_types.h"
Relevant log output
The text was updated successfully, but these errors were encountered: