Skip to content

Bug: Unfold/Fold modes fail for W > 64 (BW) and not multiple of 64 #6

Description

@CycyXX

There is a bug in the streamer configuration of the unfold and fold modes. It is not able to handle partial tiles in W-dimensions after the very first tile (> 64). However, in MobileViT where these operations occur, W is at most 32.

The problem is, that the strides of d4 would need to be irregular to handle this case. It could potentially be split in SW HAL into multiple operations.
This is how the streamers are configured (65x4x66, unfold):
Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions