[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Python deps, base64 impl, add examples #426

Merged
merged 14 commits into from
Jun 12, 2024
Prev Previous commit
Update readme to build in verbose
  • Loading branch information
EricLBuehler committed Jun 12, 2024
commit b2790cd16904467c69b0a9fe49842876b69ea7a7
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,11 @@ Please submit more benchmarks via raising an issue!
## Installation and Build

1) Install required packages
- `openssl` (ex., `sudo apt install libssl-dev`)
- `pkg-config` (ex., `sudo apt install pkg-config`)
- `openssl` (ex. on Ubuntu, `sudo apt install libssl-dev`)
- `pkg-config` (ex. on Ubuntu, `sudo apt install pkg-config`)

2) Install Rust: https://rustup.rs/
*Example on Ubuntu:*
```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
Expand Down
2 changes: 1 addition & 1 deletion examples/python/cookbook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"outputs": [],
"source": [
"# First, install Rust: https://rustup.rs/\n",
"%pip install mistralrs-cuda"
"%pip install mistralrs-cuda -v"
]
},
{
Expand Down
10 changes: 5 additions & 5 deletions mistralrs-pyo3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ sudo apt install pkg-config

- CUDA

`pip install mistralrs-cuda`
`pip install mistralrs-cuda -v`
- Metal

`pip install mistralrs-metal`
`pip install mistralrs-metal -v`
- Apple Accelerate

`pip install mistralrs-accelerate`
`pip install mistralrs-accelerate -v`
- Intel MKL

`pip install mistralrs-mkl`
`pip install mistralrs-mkl -v`
- Without accelerators

`pip install mistralrs`
`pip install mistralrs -v`

All installations will install the `mistralrs` package. The suffix on the package installed by `pip` only controls the feature activation.

Expand Down
Loading