Skip to content

Use new iree_py_binary macro so that legacy_create_init gets set prop… - #2406

Merged
stellaraccident merged 1 commit into
iree-org:mainfrom
stellaraccident:fixinitpy2
Jul 3, 2020
Merged

stellaraccident merged 1 commit into
iree-org:mainfrom
stellaraccident:fixinitpy2

Conversation

@stellaraccident

Copy link
Copy Markdown
Collaborator

…erly.

Fixes #2405 (for now)

@ScottTodd ScottTodd added bazel integrations/tensorflow TensorFlow model import and conversion labels Jul 3, 2020
@ScottTodd

Copy link
Copy Markdown
Member

cc @phoenix-meadowlark (0dc2f4f added these)
Maybe we should bazel run these or other targets on CI? Or just remember to test the open source builds as part of such changes. There are some functional differences between the internal and external builds.

Context: before this commit, bazel run //integrations/tensorflow/e2e:math_test_manual -- --target_backends=iree_vmla fails while bazel test //integrations/tensorflow/e2e:e2e_tests_math_test__tf__iree_vmla passes.

Here's the error:

    from pyiree.tf.support import tf_test_utils
ModuleNotFoundError: No module named 'pyiree.tf'

@stellaraccident
stellaraccident merged commit 8a25757 into iree-org:main Jul 3, 2020
@stellaraccident

Copy link
Copy Markdown
Collaborator Author

cc @phoenix-meadowlark (0dc2f4f added these)
Maybe we should bazel run these or other targets on CI? Or just remember to test the open source builds as part of such changes. There are some functional differences between the internal and external builds.

Context: before this commit, bazel run //integrations/tensorflow/e2e:math_test_manual -- --target_backends=iree_vmla fails while bazel test //integrations/tensorflow/e2e:e2e_tests_math_test__tf__iree_vmla passes.

Here's the error:

    from pyiree.tf.support import tf_test_utils
ModuleNotFoundError: No module named 'pyiree.tf'

I don't know how much we want to put in to trying to test weird combinations of bazel feature flags. The rule that would cover most of this now would be: never have a py_binary/py_test in the IREE tree: use iree_py_binary and iree_py_test

ScottTodd pushed a commit to ScottTodd/iree that referenced this pull request Jul 6, 2020
@GMNGeoffrey GMNGeoffrey added the infrastructure Relating to build systems, CI, or testing label May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Relating to build systems, CI, or testing integrations/tensorflow TensorFlow model import and conversion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

More bazel __init__.py shenanigans causing packages to not be found at runtime

4 participants