Skip to content

Adding operators with more than one output tensors: chunk op#219

Open
AMKCode wants to merge 23 commits intomainfrom
add-chunk
Open

Adding operators with more than one output tensors: chunk op#219
AMKCode wants to merge 23 commits intomainfrom
add-chunk

Conversation

@AMKCode
Copy link
Collaborator

@AMKCode AMKCode commented Mar 24, 2025

Description of changes:
Added the chunk operator that is able to split tensors into 2 equally sized outputs along a specified axis. Splitting into more than 2 outputs is currently not supported (chunk_size can only be 2).

Modified the Llama 8B example to demonstrate the use of the chunk operator.

Related Issues:

Linked Issues:

  • Issue #

Issues closed by this PR:

  • Closes #

@AMKCode
Copy link
Collaborator Author

AMKCode commented Mar 28, 2025

Chunk op is currently working at the kernel and threadblock level. However, search needs to be updated in order to support its use in search.

@AMKCode AMKCode requested review from jiazhihao and wmdi May 13, 2025 15:15
@AMKCode
Copy link
Collaborator Author

AMKCode commented May 13, 2025

Chunk operator is ready. CICD run fails but it appears to be an issue with the environment and not with code.

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.

1 participant