Skip to content

Optionally apply Conv -> Img2col transformation at the flow level - #5596

Merged
asaadaldien merged 1 commit into
mainfrom
ataei-optionally_do_img2col
Apr 26, 2021
Merged

asaadaldien merged 1 commit into
mainfrom
ataei-optionally_do_img2col

Conversation

@asaadaldien

Copy link
Copy Markdown
Contributor
  • An alternative is to apply img2col after dispatching into workgroup tiles, but its running through multiple hops of issues related to introduced reshapes semantics.

Benchmarking resent50 (a model with lots of conv) on Pixel4:

----------------------------------------------------------------------------
Benchmark                                  Time             CPU   Iterations
----------------------------------------------------------------------------
BM_predict/process_time/real_time       8384 ms         8361 ms            1
----------------------------------------------------------------------------
Benchmark                                  Time             CPU   Iterations
----------------------------------------------------------------------------
BM_predict/process_time/real_time       3800 ms         3790 ms            1

- An alternative is to apply this after dispatching into workgroup tiles
but its running throw multiple hops of issues related to
reshapes semantics subtensor inserts.
@asaadaldien
asaadaldien merged commit 9a0ea6e into main Apr 26, 2021
@asaadaldien
asaadaldien deleted the ataei-optionally_do_img2col branch April 26, 2021 18:58
simon-camp pushed a commit to simon-camp/iree that referenced this pull request Apr 29, 2021
…ee-org#5596)

- An alternative is to apply this after dispatching into workgroup tiles but its running throw multiple hops of issues related to
reshapes semantics subtensor inserts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants