-
Notifications
You must be signed in to change notification settings - Fork 74.7k
InvalidArgumentError: Invalid name: An op that loads optimization parameters into HBM for embedding. (ConfigureTPUEmbeddingHost) #23386
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
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. |
Imported from GitHub PR openxla/xla#23386 This patch prints all the values of the debug options while dumping it under VLOG. This is specifically required for boolean fields which have the default value set to true in `xla/debug_options_flags.cc`. These values will not be printed in `DebugString()` if `XLA_FLAGS` overrides it to `false`. Copybara import of the project: -- 4746d058005f9fff6ebbcc37818a288979d05165 by Shraiysh Vaishay <svaishay@nvidia.com>: [debug_options] Printing all the fields in debug options This patch prints all the values of the debug options while dumping it under VLOG. This is specifically required for boolean fields which have the default value set to true in `xla/debug_options_flags.cc`. These values will not be printed in `DebugString()` if `XLA_FLAGS` overrides it to `false`. Merging this change closes #23386 FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#23386 from shraiysh:print_debug_options_full 4746d058005f9fff6ebbcc37818a288979d05165 PiperOrigin-RevId: 736213381
Imported from GitHub PR openxla/xla#23386 This patch prints all the values of the debug options while dumping it under VLOG. This is specifically required for boolean fields which have the default value set to true in `xla/debug_options_flags.cc`. These values will not be printed in `DebugString()` if `XLA_FLAGS` overrides it to `false`. Copybara import of the project: -- 4746d058005f9fff6ebbcc37818a288979d05165 by Shraiysh Vaishay <svaishay@nvidia.com>: [debug_options] Printing all the fields in debug options This patch prints all the values of the debug options while dumping it under VLOG. This is specifically required for boolean fields which have the default value set to true in `xla/debug_options_flags.cc`. These values will not be printed in `DebugString()` if `XLA_FLAGS` overrides it to `false`. Merging this change closes #23386 FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#23386 from shraiysh:print_debug_options_full 4746d058005f9fff6ebbcc37818a288979d05165 PiperOrigin-RevId: 736213381
Imported from GitHub PR openxla/xla#23386 This patch prints all the values of the debug options while dumping it under VLOG. This is specifically required for boolean fields which have the default value set to true in `xla/debug_options_flags.cc`. These values will not be printed in `DebugString()` if `XLA_FLAGS` overrides it to `false`. Copybara import of the project: -- 4746d058005f9fff6ebbcc37818a288979d05165 by Shraiysh Vaishay <svaishay@nvidia.com>: [debug_options] Printing all the fields in debug options This patch prints all the values of the debug options while dumping it under VLOG. This is specifically required for boolean fields which have the default value set to true in `xla/debug_options_flags.cc`. These values will not be printed in `DebugString()` if `XLA_FLAGS` overrides it to `false`. Merging this change closes #23386 FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#23386 from shraiysh:print_debug_options_full 4746d058005f9fff6ebbcc37818a288979d05165 PiperOrigin-RevId: 736748761
Imported from GitHub PR openxla/xla#23386 This patch prints all the values of the debug options while dumping it under VLOG. This is specifically required for boolean fields which have the default value set to true in `xla/debug_options_flags.cc`. These values will not be printed in `DebugString()` if `XLA_FLAGS` overrides it to `false`. Copybara import of the project: -- 4746d058005f9fff6ebbcc37818a288979d05165 by Shraiysh Vaishay <svaishay@nvidia.com>: [debug_options] Printing all the fields in debug options This patch prints all the values of the debug options while dumping it under VLOG. This is specifically required for boolean fields which have the default value set to true in `xla/debug_options_flags.cc`. These values will not be printed in `DebugString()` if `XLA_FLAGS` overrides it to `false`. Merging this change closes #23386 FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#23386 from shraiysh:print_debug_options_full 4746d058005f9fff6ebbcc37818a288979d05165 PiperOrigin-RevId: 736748761
Imported from GitHub PR openxla/xla#23386 This patch prints all the values of the debug options while dumping it under VLOG. This is specifically required for boolean fields which have the default value set to true in `xla/debug_options_flags.cc`. These values will not be printed in `DebugString()` if `XLA_FLAGS` overrides it to `false`. Copybara import of the project: -- 4746d058005f9fff6ebbcc37818a288979d05165 by Shraiysh Vaishay <svaishay@nvidia.com>: [debug_options] Printing all the fields in debug options This patch prints all the values of the debug options while dumping it under VLOG. This is specifically required for boolean fields which have the default value set to true in `xla/debug_options_flags.cc`. These values will not be printed in `DebugString()` if `XLA_FLAGS` overrides it to `false`. Merging this change closes #23386 PiperOrigin-RevId: 736866450
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: