Skip to content

Separate tensorflow coverage into multiple pages - #3758

Merged
phoenix-meadowlark merged 1 commit into
iree-org:mainfrom
phoenix-meadowlark:tf-coverage-dir
Nov 9, 2020
Merged

phoenix-meadowlark merged 1 commit into
iree-org:mainfrom
phoenix-meadowlark:tf-coverage-dir

Conversation

@phoenix-meadowlark

@phoenix-meadowlark phoenix-meadowlark commented Nov 7, 2020 •

Copy link
Copy Markdown
Contributor

The "Tensorflow End to End Coverage" page has grown quite a bit over the past few months, and #3753 exasperated that significantly. This change splits the TensorFlow coverage into four groups:

  • TensorFlow Base APIs
  • TensorFlow Keras Layers
  • Language and Speech Models
  • Vision Models

and stores them under a parent page like "Getting Started".

The "tensorflow" column is also removed from the table to reduce visual clutter, as it passes by definition.

Depends on #3759.

@phoenix-meadowlark phoenix-meadowlark added documentation ✏️ Improvements or additions to documentation integrations/tensorflow TensorFlow model import and conversion integrations Relating to high-level frontend integrations labels Nov 7, 2020
@google-cla google-cla Bot added the cla: yes label Nov 7, 2020
@phoenix-meadowlark

Copy link
Copy Markdown
Contributor Author

New UI:

Screen Shot 2020-11-06 at 6 30 22 PM

Screen Shot 2020-11-06 at 6 30 36 PM

Screen Shot 2020-11-06 at 6 30 51 PM

Comment on lines +161 to +163
BACKEND_INFO = f"""IREE has three backend
[targets]({TARGETS_URL}):
`vmla`, `llvm-ir` and `vulkan-spirv`. We also test TFLite in our infrastructure

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should clarify this "three backend targets" at some point.

These are our current compiler backends:

DYLIB-LLVM-AOT
LLVM-IR
Metal-SPIRV
Vulkan-SPIRV
VMLA

LLVM-IR and DYLIB-LLVM-AOT should have very similar, if not the same, coverage.
Metal-SPIRV and Vulkan-SPIRV share SPIR-V components but will differ in their runtime capabilities.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What would you say the mapping is between iree_vmla, iree_llvmjit, iree_vulkan and the backends you listed? VMLA is pretty obviously 1:1, and I'm guessing that iree_llvmjit is LLVM-IR and DYLIB-LLVM-AOT is untested. Does iree_vulkan (compiler target vulkan-*) target Vulkan-SPIRV and Metal-SPIRV depending on the OS it's running in, or do we need to add another backend to the tf infra for MacOS?

I think this section should be updated by someone more familiar with IREE's mid-end, and we should probably standardize the names between the tf infra and IREE itself (e.g. iree_vmla -> vmla, iree_llvmjit -> llvm-ir, ...).

phoenix-meadowlark added a commit that referenced this pull request Nov 9, 2020
The style is adjusted so that more of the tables can be viewed
on the screen at once. The custom `max-width` can be
removed as the `tensorflow` backend is dropped from the
tables in #3758.
@phoenix-meadowlark
phoenix-meadowlark merged commit 848b893 into iree-org:main Nov 9, 2020
@ScottTodd ScottTodd mentioned this pull request Nov 9, 2020
copybara-service Bot pushed a commit that referenced this pull request Nov 9, 2020
* 1ba69d9 Deduplicate flow.executable ops during Flow dialect transformation. (#3702)
* 848b893 Seperate tensorflow coverage into multiple pages (#3758)
* be8dd02 Merge pull request #3760 from google/benvanik-aot-windows-prework
* 6d83db8 Adding support for embedding debug symbols (pdb/dwarf/etc) in dylibs.
* 8a1347f Bumping tracy to disable vsync capture and expose the dbghelp lock.
* 4dc7064 Improving error messages in iree-run-module with invalid function names.
* 4d7805b Optimizations to reduce dispatch overhead. All of these will be fixed with the..
* d57efa3 Making IREE_CHECK_OK not double-evaluate. Prior to this it would run the expre..
* 10b400e Canonicalizing win32 paths prior to trying to open files. Useful in cases wher..
* f9c11f2 [spirv] Use addNestedPass<FuncOp>() for passes working on functions (#3745)
* ab4cb7c Add static, dynamic and training tests for all tf.keras.layers (#3753)
* aaf3377 Adopt pipeline-in-a-pass infra (#3741)
* 43b1d76 Create template for Bug Reports (#3755)
* d264a16 Remove unused deps from kws test (#3751)
* 0601682 Add 'deep_copy' to bazel to allow variable reuse (#3750)
* a70b1d1 Merge google -> main (#3749)

COPYBARA_INTEGRATE_REVIEW=#3762 from ScottTodd:main-to-google 1ba69d9
PiperOrigin-RevId: 341484363
ScottTodd added a commit that referenced this pull request Nov 9, 2020
* 1ba69d9 Deduplicate flow.executable ops during Flow dialect transformation. (#3702)
* 848b893 Seperate tensorflow coverage into multiple pages (#3758)
* be8dd02 Merge pull request #3760 from google/benvanik-aot-windows-prework
* 6d83db8 Adding support for embedding debug symbols (pdb/dwarf/etc) in dylibs.
* 8a1347f Bumping tracy to disable vsync capture and expose the dbghelp lock.
* 4dc7064 Improving error messages in iree-run-module with invalid function names.
* 4d7805b Optimizations to reduce dispatch overhead. All of these will be fixed with the..
* d57efa3 Making IREE_CHECK_OK not double-evaluate. Prior to this it would run the expre..
* 10b400e Canonicalizing win32 paths prior to trying to open files. Useful in cases wher..
* f9c11f2 [spirv] Use addNestedPass<FuncOp>() for passes working on functions (#3745)
* ab4cb7c Add static, dynamic and training tests for all tf.keras.layers (#3753)
* aaf3377 Adopt pipeline-in-a-pass infra (#3741)
* 43b1d76 Create template for Bug Reports (#3755)
* d264a16 Remove unused deps from kws test (#3751)
* 0601682 Add 'deep_copy' to bazel to allow variable reuse (#3750)
* a70b1d1 Merge google -> main (#3749)

COPYBARA_INTEGRATE_REVIEW=#3762 from ScottTodd:main-to-google 1ba69d9
PiperOrigin-RevId: 341484363
GMNGeoffrey pushed a commit to iree-github-actions-bot/iree that referenced this pull request Feb 1, 2022
The style is adjusted so that more of the tables can be viewed
on the screen at once. The custom `max-width` can be
removed as the `tensorflow` backend is dropped from the
tables in iree-org#3758.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation ✏️ Improvements or additions to documentation integrations/tensorflow TensorFlow model import and conversion integrations Relating to high-level frontend integrations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants