Skip to content

Commit

Permalink
Merge pull request #56 from NexaAI/zack-dev
Browse files Browse the repository at this point in the history
update README
  • Loading branch information
zhiyuan8 authored Aug 28, 2024
2 parents 12089ef + d6de5c1 commit d4f3bcd
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,18 @@ CMAKE_ARGS="-DGGML_METAL=ON -DSD_METAL=ON" pip install nexaai --prefer-binary --
```

<details>
<summary><strong>FAQ: cannot using Metal/GPU on m1</strong></summary>
try the following command:
```
<summary><strong>FAQ: cannot use Metal/GPU on M1</strong></summary>

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
```

</details>

#### GPU (CUDA)
Expand Down

0 comments on commit d4f3bcd

Please sign in to comment.