liblloyal 1.0.0
Composable primitives for llama.cpp inference
Loading...
Searching...
No Matches
common.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  lloyal
 JSON Schema to Grammar Converter (Header-Only)
 
namespace  lloyal::defaults
 

Macros

#define LLOYAL_LOG_DEBUG(...)
 liblloyal - Common definitions and logging
 
#define LLOYAL_LOG_INFO(...)
 
#define LLOYAL_LOG_WARNING(...)
 
#define LLOYAL_LOG_ERROR(...)
 

Variables

static constexpr int lloyal::defaults::N_CTX = 2048
 
static constexpr int lloyal::defaults::N_BATCH_INIT = 512
 
static constexpr int lloyal::defaults::N_BATCH_PROCESS = 32
 

Macro Definition Documentation

◆ LLOYAL_LOG_DEBUG

#define LLOYAL_LOG_DEBUG (   ...)
Value:
do { \
} while (0)

liblloyal - Common definitions and logging

Header-only library for llama.cpp-bound LLM operations Version: 1.0.0 (bound to llama.cpp b6870) License: Apache-2.0

Examples
/home/runner/work/liblloyal/liblloyal/include/lloyal/embedding.hpp, /home/runner/work/liblloyal/liblloyal/include/lloyal/grammar.hpp, and /home/runner/work/liblloyal/liblloyal/include/lloyal/kv.hpp.

Definition at line 47 of file common.hpp.

◆ LLOYAL_LOG_ERROR

#define LLOYAL_LOG_ERROR (   ...)
Value:
do { \
} while (0)

Definition at line 56 of file common.hpp.

◆ LLOYAL_LOG_INFO

#define LLOYAL_LOG_INFO (   ...)
Value:
do { \
} while (0)

Definition at line 50 of file common.hpp.

◆ LLOYAL_LOG_WARNING

#define LLOYAL_LOG_WARNING (   ...)
Value:
do { \
} while (0)

Definition at line 53 of file common.hpp.