mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-01-13 04:00:16 +00:00
readme : add Fedora instructions (#6783)
* added fedora to list of distros that may need the package (the packages have the same name on Fedora) * how to add clblast that is avalible in the fedora repos
This commit is contained in:
parent
89b0bf0d5d
commit
2cca09d509
@ -549,7 +549,7 @@ Building the program with BLAS support may lead to some performance improvements
|
|||||||
OpenCL acceleration is provided by the matrix multiplication kernels from the [CLBlast](https://github.com/CNugteren/CLBlast) project and custom kernels for ggml that can generate tokens on the GPU.
|
OpenCL acceleration is provided by the matrix multiplication kernels from the [CLBlast](https://github.com/CNugteren/CLBlast) project and custom kernels for ggml that can generate tokens on the GPU.
|
||||||
|
|
||||||
You will need the [OpenCL SDK](https://github.com/KhronosGroup/OpenCL-SDK).
|
You will need the [OpenCL SDK](https://github.com/KhronosGroup/OpenCL-SDK).
|
||||||
- For Ubuntu or Debian, the packages `opencl-headers`, `ocl-icd` may be needed.
|
- For Ubuntu, Debian, and Fedora the packages `opencl-headers`, `ocl-icd` may be needed.
|
||||||
|
|
||||||
- For Windows, a pre-built SDK is available on the [OpenCL Releases](https://github.com/KhronosGroup/OpenCL-SDK/releases) page.
|
- For Windows, a pre-built SDK is available on the [OpenCL Releases](https://github.com/KhronosGroup/OpenCL-SDK/releases) page.
|
||||||
|
|
||||||
@ -574,6 +574,12 @@ Building the program with BLAS support may lead to some performance improvements
|
|||||||
|
|
||||||
Pre-built CLBlast binaries may be found on the [CLBlast Releases](https://github.com/CNugteren/CLBlast/releases) page. For Unix variants, it may also be found in your operating system's packages.
|
Pre-built CLBlast binaries may be found on the [CLBlast Releases](https://github.com/CNugteren/CLBlast/releases) page. For Unix variants, it may also be found in your operating system's packages.
|
||||||
|
|
||||||
|
Linux packaging:
|
||||||
|
Fedora Linux:
|
||||||
|
```bash
|
||||||
|
sudo dnf install clblast
|
||||||
|
```
|
||||||
|
|
||||||
Alternatively, they may be built from source.
|
Alternatively, they may be built from source.
|
||||||
|
|
||||||
- <details>
|
- <details>
|
||||||
|
Loading…
Reference in New Issue
Block a user