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
#if defined(USE_ROCM)
#include <ATen/Tensor.h>
// Decode-only standard MoE router for up to eight gfx1200/gfx1201 rows. The gate is
// supplied as a persistent contiguous (experts, hidden) transpose so each GEMV is coalesced.
// The bsz1 name is retained as a compatibility binding.
void gm_routing_std_bsz1
(
const at::Tensor& hidden,
const at::Tensor& gate_t,
at::Tensor& scores,
at::Tensor& topk_indices,
at::Tensor& topk_weights
);
void gm_route(const at::Tensor& x, const at::Tensor& gate, const at::Tensor& bias, at::Tensor& scores, at::Tensor& sel, at::Tensor& w,
int64_t gating, bool norm, double scale, double eps);
#endif