From d6de5c11daa3961d04ccf3c7697c3e4e161efec6 Mon Sep 17 00:00:00 2001 From: Zack Zhiyuan Li Date: Wed, 28 Aug 2024 02:15:31 -0700 Subject: [PATCH] update docs --- README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) 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)