Skip to content

Commit

Permalink
add --index-url for installing pre-built wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
AgainstEntropy committed Aug 22, 2024
1 parent 4085284 commit c8b91cc
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Detailed API documentation is available [here](docs/index.html).

## Installation

**GPU version(optional)**
**GPU version(optional)**

check if you have GPU acceleration (torch required)
<details>
Expand All @@ -40,16 +40,24 @@ check if you have GPU acceleration (torch required)
```
CMAKE_ARGS="-DGGML_CUDA=on -DSD_CUBLAS=ON" pip install nexaai-gpu
```
Or you prefer to install our pre-built wheel:
```bash
pip install nexaai-cuda --index-url https://nexaai.github.io/nexa-sdk/whl/cu124 --extra-index-url https://pypi.org/simple
```
</details>
<details>
<summary>Apple M Chip:</summary>
Apple icon -> about this mac -> Graphics

if True:

```
CMAKE_ARGS="-DGGML_METAL=on -DSD_METAL=ON" pip install nexaai-gpu
```
Or you prefer to install our pre-built wheel:
```bash
pip install nexaai-metal --index-url https://nexaai.github.io/nexa-sdk/whl/metal --extra-index-url https://pypi.org/simple
```
</details>

<details>
Expand Down Expand Up @@ -77,7 +85,12 @@ check if you have GPU acceleration (torch required)
```
pip install nexaai
```
<details>
</details>

Or you prefer to install the pre-built wheel:
```bash
pip install nexaai --index-url https://nexaai.github.io/nexa-sdk/whl/cpu --extra-index-url https://pypi.org/simple
```

## Nexa CLI commands

Expand Down

0 comments on commit c8b91cc

Please sign in to comment.