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
Hy4 engine: keep the prompt trunk states for diagnostics
YanissAmz186b64692a08
diff --git a/tools/hy4/engine.py b/tools/hy4/engine.pyindex 08ac2cd..55c9535 100644--- a/tools/hy4/engine.py+++ b/tools/hy4/engine.py@@ -125,6 +125,7 @@ class Hy4Engine:torch.cuda.synchronize()y = int(torch.argmax(lg))H = torch.cat(states) if len(states) > 1 else states[0]+ self._H = Hhcur = H[-1:].clone()t = time.perf_counter()self.last_stats["prefill_trunk_s"] = t - self._t0