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
InvalidArgumentError: Invalid name: An op that loads optimization parameters into HBM for embedding. (ConfigureTPUEmbeddingHost) #23386
Comments
I am seeing the same issue on my build server. Configuration is as follows:
I traced the problem to the function |
Update: Recreating my Linux test VM from scratch made the problem go away for me. |
Unfortunately I can't recreate my machine since it's my regular one - any hints how to proceed? (Or how recreate the substantial parts...) |
The code snippet you provided works fine for me. It doesn't look like a bug on TF end. You can try posting it on Stack Overflow |
Yes, the code snippet is supposed to work. It used to work on my machine, and it does on @frreiss machine too. But, as observed on both my machine and @frreiss machine, under certain circumstances, when building TF from source, it doesn't. |
Update: |
I also hit this issue when upgrading from 1.10 to 1.12. |
Confirm roots of issue in static build. |
@neopostmodern Apologies for the delay in response. Is this still an issue for you? Do you see the same behavior against latest TF? |
Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks! |
Just got it on 1.13.0-rc2 with monolithic build:
bazel 19.2, linux
|
Got same issue with tensorflow 1.12.0 (compiled from source with gcc 4.8 + python 2.7) while running - UPDATE: following worked after adding --define=framework_shared_object=true in bazel build comilation line, thank you @lesniewski
|
I ran into this as well and this is just to document this for any future encounters. Do not add The reason a monolithic build fixes this, is because it just packages everything as one basically avoiding this problem in the first place. But I don't think that's a very good solution as it's just avoiding the problem instead of actually fixing it. |
System information
Describe the current behavior
PyPI packages for tensorflow-gpu didn't work for me on Ubuntu 18.10, but I (somehow) managed to compile the latest Tensorflow. I then tried to run some code that I was working on before (and which used to run fine) and got the following error:
Describe the expected behavior
It should run, as it did before.
Code to reproduce the issue
Reduced to the minimum:
The text was updated successfully, but these errors were encountered: