mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-18 01:50:16 +08:00
docs
This commit is contained in:

committed by
CircleCI Docs

parent
20469ce2d1
commit
d7a78fbe2b
15
docs/build/html/_sources/install.rst
vendored
15
docs/build/html/_sources/install.rst
vendored
@@ -163,6 +163,8 @@ should point to the path to the built metal library.
|
||||
- ON
|
||||
* - MLX_BUILD_GGUF
|
||||
- ON
|
||||
* - MLX_METAL_JIT
|
||||
- OFF
|
||||
|
||||
.. note::
|
||||
|
||||
@@ -196,9 +198,18 @@ GGUF, you can do:
|
||||
cmake ..
|
||||
-DCMAKE_BUILD_TYPE=MinSizeRel \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-DMLX_BUILD_CPU=ON \
|
||||
-DMLX_BUILD_CPU=OFF \
|
||||
-DMLX_BUILD_SAFETENSORS=OFF \
|
||||
-DMLX_BUILD_GGUF=OFF
|
||||
-DMLX_BUILD_GGUF=OFF \
|
||||
-DMLX_METAL_JIT=ON
|
||||
|
||||
THE `MLX_METAL_JIT` flag minimizes the size of the MLX Metal library which
|
||||
contains pre-built GPU kernels. This substantially reduces the size of the
|
||||
Metal library by run-time compiling kernels the first time they are used in MLX
|
||||
on a given machine. Note run-time compilation incurs a cold-start cost which can
|
||||
be anwywhere from a few hundred millisecond to a few seconds depending on the
|
||||
application. Once a kernel is compiled, it will be cached by the system. The
|
||||
Metal kernel cache persists accross reboots.
|
||||
|
||||
Troubleshooting
|
||||
^^^^^^^^^^^^^^^
|
||||
|
6
docs/build/html/_sources/python/_autosummary/mlx.core.gather_mm.rst
vendored
Normal file
6
docs/build/html/_sources/python/_autosummary/mlx.core.gather_mm.rst
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
mlx.core.gather\_mm
|
||||
===================
|
||||
|
||||
.. currentmodule:: mlx.core
|
||||
|
||||
.. autofunction:: gather_mm
|
6
docs/build/html/_sources/python/_autosummary/mlx.core.gather_qmm.rst
vendored
Normal file
6
docs/build/html/_sources/python/_autosummary/mlx.core.gather_qmm.rst
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
mlx.core.gather\_qmm
|
||||
====================
|
||||
|
||||
.. currentmodule:: mlx.core
|
||||
|
||||
.. autofunction:: gather_qmm
|
6
docs/build/html/_sources/python/_autosummary/mlx.core.trace.rst
vendored
Normal file
6
docs/build/html/_sources/python/_autosummary/mlx.core.trace.rst
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
mlx.core.trace
|
||||
==============
|
||||
|
||||
.. currentmodule:: mlx.core
|
||||
|
||||
.. autofunction:: trace
|
4
docs/build/html/_sources/python/ops.rst
vendored
4
docs/build/html/_sources/python/ops.rst
vendored
@@ -35,7 +35,6 @@ Operations
|
||||
bitwise_or
|
||||
bitwise_xor
|
||||
block_masked_mm
|
||||
block_sparse_mm
|
||||
broadcast_to
|
||||
ceil
|
||||
clip
|
||||
@@ -69,6 +68,8 @@ Operations
|
||||
floor
|
||||
floor_divide
|
||||
full
|
||||
gather_mm
|
||||
gather_qmm
|
||||
greater
|
||||
greater_equal
|
||||
identity
|
||||
@@ -149,6 +150,7 @@ Operations
|
||||
tensordot
|
||||
tile
|
||||
topk
|
||||
trace
|
||||
transpose
|
||||
tri
|
||||
tril
|
||||
|
Reference in New Issue
Block a user