You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Snapshot releases failing with unknown target for iree-translate #5615
We can change the flag to be off by default so the cmake behavior can be the same as before. For users want to build simple_embedding_run in runtime they need to turn the flag on (and provide the IREE_HOST_BINARY_ROOT path to retrieve iree-tranlate binary)
Another approach is to generate the prebuilt bytecode module (similar to the one for the RISC-V config stored in iree/samples/simple_embedding/data so we can retire iree_byte_module in the sample code path. The concern is the prebuilt may not be compatible with ToT if there's any ABI/toolchain change.
thanks all - I agree with Scott about some more principled separation between building the core system and samples (but don't have anything more concrete to add off the top of my head)
Activity
ScottTodd commentedon Apr 26, 2021
The whack-a-mole setting exclusions in https://github.com/google/iree/blob/main/iree/samples/simple_embedding/CMakeLists.txt continues :P
ScottTodd commentedon Apr 26, 2021
(fyi @hcindyl )
hcindyl commentedon Apr 26, 2021
Yes there's a dependency in
iree_bytecode_moduleofiree-translate. (https://github.com/google/iree/blob/main/iree/tools/compilation.bzl#L20) It didn't show problems before because the code pathiree/samples/was guarded behind theIREE_BUILD_SAMPLESflag, but now it is accessible withIREE_BUILD_EMBEDDING_SAMPLEsflag (https://github.com/google/iree/blob/main/CMakeLists.txt#L476)We can change the flag to be off by default so the cmake behavior can be the same as before. For users want to build
simple_embedding_runin runtime they need to turn the flag on (and provide theIREE_HOST_BINARY_ROOTpath to retrieve iree-tranlate binary)ScottTodd commentedon Apr 26, 2021
Flipping that flag off by default SGTM for now.
I'll want to establish some more principles for features required by samples and how samples are included in build configurations as part of #5222.
hcindyl commentedon Apr 26, 2021
Another approach is to generate the prebuilt bytecode module (similar to the one for the RISC-V config stored in
iree/samples/simple_embedding/dataso we can retire iree_byte_module in the sample code path. The concern is the prebuilt may not be compatible with ToT if there's any ABI/toolchain change.hcindyl commentedon Apr 26, 2021
#5618 turns the flag off.
stellaraccident commentedon Apr 26, 2021
thanks all - I agree with Scott about some more principled separation between building the core system and samples (but don't have anything more concrete to add off the top of my head)