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
conv1d
conv2d
conv3d
conv_general
cos
cosh

View File

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

View File

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

View File

@ -102,11 +102,12 @@ void init_fast(nb::module_& parent_module) {
implementation which rotates consecutive dimensions.
base (float, optional): The base used to compute angular frequency for
each dimension in the positional encodings. Exactly one of ``base`` and
``freqs`` must be ``None``.
``freqs`` must be ``None``.
scale (float): The scale used to scale the positions.
offset (int): The position offset to start at.
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:
array: The output array.
)pbdoc");