Skip to content

Empty output tensors not getting pulled in to dispatch regions. #11770

Description

@benvanik

Found with the reproducer in #11652. It's 7GB so here's a smaller version that should still reproduce when run through iree-compile: https://gist.github.com/benvanik/678dc58536a1a6a8713d570f11a60583

Seeing quite a few of the empty tensors (89) after dispatch region formation:

  %4519 = flow.tensor.empty : tensor<81920xf32>
  %4520 = flow.dispatch @_forward_dispatch_2888::@_forward_dispatch_2888_generic_81920[%c81920](%4517, %4518, %4519) : (tensor<81920xf32>, tensor<81920xf32>, tensor<81920xf32>) -> %4519

Activity

  1. added
    codegen
    on Jan 10, 2023
  2. added 3 commits that reference this issue on Jan 10, 2023
    17f9059
    dac13ed
    4e4842a
  3. added a commit that references this issue on Jan 10, 2023
    1603491
  4. added a commit that references this issue on Jan 16, 2023
    7922ed6
  5. added a commit that references this issue on Jan 19, 2023
    d8d33e7
  6. added 2 commits that reference this issue on Jan 25, 2023
    a8618e9
    a359b0a
  7. added a commit that references this issue on Apr 2, 2023
    b99744e
  8. added 2 commits that reference this issue on May 1, 2023
    c90c667
    6664ed6
  9. added a commit that references this issue on May 2, 2023
    cc02f31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

codegen

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions