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 <cstdint>
#include <cstddef>
#include "context.cuh"
// Runtime detection (defined in avx512_target.cpp)
bool is_avx512_supported();
// AVX-512 versions
void enable_fast_fp_avx512();
void bf16_add_inplace_avx512(
uint16_t* __restrict a,
const uint16_t* __restrict b,
size_t count
);
void bf16_add_twosrc_avx512(
uint16_t* __restrict dst,
const uint16_t* __restrict src_a,
const uint16_t* __restrict src_b,
size_t count
);
void fp16_add_inplace_avx512(
uint16_t* __restrict a,
const uint16_t* __restrict b,
size_t count
);
void fp16_add_twosrc_avx512(
uint16_t* __restrict dst,
const uint16_t* __restrict src_a,
const uint16_t* __restrict src_b,
size_t count
);
void perform_cpu_reduce_avx512(
PGContext* ctx,
size_t data_size,
uint32_t device_mask,
uint32_t wire_dtype,
uint8_t* shbuf_ptr,
size_t shbuf_size
);