llama-cpp-turboquant/examples/logistic_regression
Fabian Sauter dab8492376 Downgraded CMake minimum version to 3.14 from 3.15
Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
2022-07-27 12:48:46 +02:00
..
shader Downgraded CMake minimum version to 3.14 from 3.15 2022-07-27 12:48:46 +02:00
src Downgraded CMake minimum version to 3.14 from 3.15 2022-07-27 12:48:46 +02:00
CMakeLists.txt Downgraded CMake minimum version to 3.14 from 3.15 2022-07-27 12:48:46 +02:00
README.md Updated logistic regression example 2022-07-27 12:48:46 +02:00

Kompute Logistic Regression Example

This folder contains an end to end Kompute Example that implements logistic regression. This example is structured such that you will be able to extend it for your project. It contains a CMake build configuration that can be used in your production applications.

Building the example

You will notice that it's a standalone project, so you can re-use it for your application. It uses CMake's fetch_content to consume Kompute as a dependency. To build you just need to run the CMake command in this folder as follows:

git clone https://github.com/KomputeProject/kompute.git
cd kompute/examples/logistic_regression
mkdir build
cd build
cmake ..
cmake --build .

Executing

Form inside the build/ directory run:

Linux

./kompute_logistic_regression

Windows

.\Debug\kompute_logistic_regression.exe

Pre-requisites

In order to run this example, you will need the following dependencies:

  • REQUIRED
    • The Vulkan SDK must be installed

For the Vulkan SDK, the simplest way to install it is through their website. You just have to follow the instructions for the relevant platform.