Bump extension MLX version (#1350)

* Bump extension MLX version

* fix some docs nits
This commit is contained in:
Awni Hannun 2024-08-23 12:38:34 -07:00 committed by GitHub
parent 684e11c664
commit 3b4d5484c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 6 additions and 4 deletions

View File

@ -44,6 +44,7 @@ Operations
convolve convolve
conv1d conv1d
conv2d conv2d
conv3d
conv_general conv_general
cos cos
cosh cosh

View File

@ -2,7 +2,7 @@
requires = [ requires = [
"setuptools>=42", "setuptools>=42",
"cmake>=3.24", "cmake>=3.24",
"mlx>=0.16.2", "mlx>=0.17.0",
"nanobind==2.1.0", "nanobind==2.1.0",
] ]
build-backend = "setuptools.build_meta" build-backend = "setuptools.build_meta"

View File

@ -1,4 +1,4 @@
setuptools>=42 setuptools>=42
cmake>=3.24 cmake>=3.24
mlx>=0.16.2 mlx>=0.17.0
nanobind==2.1.0 nanobind==2.1.0

View File

@ -106,7 +106,8 @@ void init_fast(nb::module_& parent_module) {
scale (float): The scale used to scale the positions. scale (float): The scale used to scale the positions.
offset (int): The position offset to start at. offset (int): The position offset to start at.
freqs (array, optional): Optional frequencies to use with RoPE. freqs (array, optional): Optional frequencies to use with RoPE.
If set, the ``base`` parameter must be ``None``. ``Default: None``. If set, the ``base`` parameter must be ``None``. Default: ``None``.
Returns: Returns:
array: The output array. array: The output array.
)pbdoc"); )pbdoc");