Some fixes in docs (#1141)

* fixes in docs

* nit
This commit is contained in:
Awni Hannun
2024-05-20 11:51:47 -07:00
committed by GitHub
parent da83f899bb
commit e6fecbb3e1
5 changed files with 44 additions and 37 deletions

View File

@@ -191,14 +191,14 @@ The MLX CMake build has several additional options to make smaller binaries.
For example, if you don't need the CPU backend or support for safetensors and
GGUF, you can do:
```shell
cmake .. \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DBUILD_SHARED_LIBS=ON \
-DMLX_BUILD_CPU=ON \
-DMLX_BUILD_SAFETENSORS=OFF \
-DMLX_BUILD_GGUF=OFF
```
.. code-block:: shell
cmake ..
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DBUILD_SHARED_LIBS=ON \
-DMLX_BUILD_CPU=ON \
-DMLX_BUILD_SAFETENSORS=OFF \
-DMLX_BUILD_GGUF=OFF
Troubleshooting
^^^^^^^^^^^^^^^

View File

@@ -10,5 +10,6 @@ Linear Algebra
inv
norm
cholesky
qr
svd