Skip to content

BUG: setdiff1d for jax.jit and dask NaN-shaped arrays #116

Description

@crusaderky

Follow-up to #115

  • setdiff1d fails when executed inside jax.jit. This is because of a call to xp.unique* without an explicit size= parameter.
  • By reading the code I'm fairly sure that the function fails if x1 and/or x2 have Dask backend and NaN in their shapes. Lacks a unit test.

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

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions