-
Notifications
You must be signed in to change notification settings - Fork 99
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
Simulation error with jax median operation #31
Comments
Hi @BeStrongok,
But you can expect this feature in the upcoming releases. Best |
Thanks, looking for this feature! |
Because secret sort is non-trivial. I'm also confused about it now, sort algorithm couldn't be parallelized. :( |
Yes, it is non-trivial and hard to optimize, but yes, we are working on it. :D |
try bitonic sort which is highly parallelable |
Nice suggestion, trying... |
Actually, current spu should be able to implement data structure like, top-k heap. |
This really depends on how JAX implement median. During the compilation pipeline, when we have the semi-optimized IR, it is definitely possible to discover and rewrite this pattern with some efforts. This kind of specific pattern rewrite is obviously not a unicorn, but still hacky...We are trying to see if this can be solved in a more elegant way. |
Fixed with #107 |
Hi,
I simulate the jax median function with the following code and want to see pphlo dialect, but get error.
The code is:
The error is:
The text was updated successfully, but these errors were encountered: