Skip to content

Commit

Permalink
Typo in mlx tensor support (#29509)
Browse files Browse the repository at this point in the history
Potential typo in mlx support
  • Loading branch information
pcuenca authored and Ita Zaporozhets committed May 14, 2024
1 parent 20bc2bb commit 00ef7a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/utils/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def is_jax_tensor(x):


def _is_mlx(x):
import mx.core as mx
import mlx.core as mx

return isinstance(x, mx.array)

Expand Down

0 comments on commit 00ef7a0

Please sign in to comment.