Kyojin: open-source engine that runs 100 GB-class open models (GLM-5.3, Qwen3.8, DeepSeek V4.1) on one desktop machine. AMD Strix Halo, NVIDIA RTX and Apple Mac. OpenAI API, built on ExLlamaV3.
Python amdapple-siliconcudadeepseekexl3exllamav3glminferencellmllm-inferencelocal-llmnvidiaopenai-apiquantizationqwenrocmstrix-halo
#pragma once
#include <ATen/Tensor.h>
void apply_rep_pens
(
const at::Tensor& in_logits,
const at::Tensor& out_logits,
const at::Tensor& past_ids,
float rep_p,
int sustain_range,
int decay_range
);
void apply_pres_freq_pens
(
const at::Tensor& in_logits,
const at::Tensor& out_logits,
const at::Tensor& past_ids,
float pres_p,
float freq_p,
int sustain_range,
int decay_range
);