diff --git a/README.md b/README.md index 48b4a3b1..b341d40f 100644 --- a/README.md +++ b/README.md @@ -77,15 +77,18 @@ CMAKE_ARGS="-DGGML_METAL=ON -DSD_METAL=ON" pip install nexaai --prefer-binary -- ```
-FAQ: cannot using Metal/GPU on m1 -try the following command: -``` +FAQ: cannot use Metal/GPU on M1 + +Try the following command: + +```bash wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-arm64.sh bash Miniforge3-MacOSX-arm64.sh -conda create -n llama python=3.10 -conda activate llama +conda create -n nexasdk python=3.10 +conda activate nexasdk CMAKE_ARGS="-DGGML_METAL=ON -DSD_METAL=ON" pip install nexaai --prefer-binary --index-url https://nexaai.github.io/nexa-sdk/whl/metal --extra-index-url https://pypi.org/simple --no-cache-dir ``` +
#### GPU (CUDA)