Skip to content

Commit

Permalink
refactor: more selective filter_jit application
Browse files Browse the repository at this point in the history
Signed-off-by: nstarman <nstarman@users.noreply.github.com>
  • Loading branch information
nstarman committed Sep 19, 2024
1 parent 5d2d55e commit b5f8e55
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/quaxed/array_api/_creation_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

from typing import TypeVar

import equinox as eqx
import jax
import jax.numpy as jnp
from jax import Device
Expand Down Expand Up @@ -95,7 +94,6 @@ def arange(
# =============================================================================


@eqx.filter_jit # type: ignore[misc]
@quaxify
def asarray(
obj: ArrayLike,
Expand Down
2 changes: 0 additions & 2 deletions src/quaxed/numpy/_creation_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

from typing import Literal, TypeVar

import equinox as eqx
import jax
import jax.numpy as jnp
from jaxtyping import ArrayLike
Expand Down Expand Up @@ -85,7 +84,6 @@ def arange(
# =============================================================================


@eqx.filter_jit # type: ignore[misc]
@quaxify
def asarray(
obj: ArrayLike,
Expand Down

0 comments on commit b5f8e55

Please sign in to comment.