]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
readme : add Fedora instructions (#6783)
authorMohammadreza Hendiani <redacted>
Sun, 21 Apr 2024 12:32:05 +0000 (16:02 +0330)
committerGitHub <redacted>
Sun, 21 Apr 2024 12:32:05 +0000 (15:32 +0300)
* 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

README.md

index 08661831526fa057668a54fc587b34dd658e3e07..144052263c8801f46e127306843605821c12996d 100644 (file)
--- a/README.md
+++ b/README.md
@@ -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.
 
   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.
 
@@ -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.
 
+  Linux packaging:
+  Fedora Linux:
+  ```bash
+  sudo dnf install clblast
+  ```
+
   Alternatively, they may be built from source.
 
   - <details>