Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic support of jax.lax.gather in TessellateIPU. #23

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

balancap
Copy link
Contributor

@balancap balancap commented Sep 22, 2023

TessellateIPU gather integration using popops popops::MultiSlice<> vertex.

At the moment, it only supports slice size 1 and the following gather dimensions configuration:

jax.lax.GatherDimensionNumbers(
    offset_dims=(),
    collapsed_slice_dims=(0,),
    start_index_map=(0,))

Note: at the moment, it does not take advantage of worker threads.

@balancap balancap force-pushed the basic-support-gather-in-tessellate branch from f2ec89b to b9f9632 Compare September 22, 2023 15:22
TessellateIPU `gather` integration using popops `popops::MultiSlice<>` vertex.

At the moment, it only supports slice size 1 and the following gather dimensions
configuration:
```python
jax.lax.GatherDimensionNumbers(
    offset_dims=(),
    collapsed_slice_dims=(0,),
    start_index_map=(0,))
```

Note: it does not take advantage of worker threads in the current configuration.
@balancap balancap force-pushed the basic-support-gather-in-tessellate branch from b9f9632 to bab7e7a Compare September 22, 2023 15:34
@balancap balancap merged commit 4c00ca1 into main Sep 22, 2023
6 checks passed
@balancap balancap deleted the basic-support-gather-in-tessellate branch September 22, 2023 16:01
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