-
Notifications
You must be signed in to change notification settings - Fork 135
In Colab using 'x10_training_loop' leads to "error: Couldn't lookup symbols:" #1016
Comments
I should have added that importing 'x10_training_loop' works as expected using the MacOS v0.9 toolchain or the June 12 toolchain for MacOS. So I think it is either specific to Colab or the linux toolchain. |
@mikowals I noticed that examples in the ...
let device = Device.defaultXLA
... And eager mode is done via So, if you run import TensorFlow
import x10_training_loop
Device.defaultXLA Output:
However, as you already mentioned,
(I'm sure @BradLarson @saeta and others can explain this better.) |
Hi @8bitmp3. Yes, my reduced example with I created the issue because I think it shows that something is going wrong in the building or use of the toolchain in Colab leading to a problem using 'x10_training_loop'. |
Thank you for reporting! I can reproduce this in the latest Colab build, which does not occur in the linux nightlies. I suspect there is something in CMake that's not happening in Colab, so I'll hunt down this code and identify a fix. |
We narrowed this down to a problem with the static linking of the CX10 library. This appears to work fine when used with the |
For the sake of documenting bugs: #1177 (comment) - similar problem, but not the same. |
Opening a blank notebook which I expect is running S4TF v0.9 and entering the following:
Gives the error:
Code completion works correctly after
import x10_training_loop
has been run once so I think the import line for 'x10_training_loop' is correct. The error appears to occur for everything included in 'x10_training_loop' but I didn't try them all.The text was updated successfully, but these errors were encountered: