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
Multi-session graph test: native EXL3 dirs (MODEL_DIR), repeated eager arm against cold-start bias
YanissAmzd2c2e4fe42da
diff --git a/tests/test_gguf_multisession_graph.py b/tests/test_gguf_multisession_graph.pyindex e7824fb..59d195a 100644--- a/tests/test_gguf_multisession_graph.py+++ b/tests/test_gguf_multisession_graph.py@@ -12,9 +12,11 @@ from exllamav3 import Model, Config, Cache, Generator, Job, GreedySampler, Tokenfrom exllamav3.loader.gguf_config import write_config_dirfrom exllamav3.model import cuda_graph as cg-src = os.environ["FMOE_GGUF"]U = int(os.environ.get("FMOE_USERS", "4"))-d = write_config_dir(src, os.path.join(os.environ.get("FMOE_CFG", "/tmp"), "qwen35moe_cfg"))+if os.environ.get("MODEL_DIR"): # a native EXL3 directory instead of a GGUF+ d = os.environ["MODEL_DIR"]+else:+ d = write_config_dir(os.environ["FMOE_GGUF"], os.path.join(os.environ.get("FMOE_CFG", "/tmp"), "qwen35moe_cfg"))config = Config.from_directory(d)model = Model.from_config(config)cache = Cache(model, max_num_tokens=8192)@@ -24,7 +26,7 @@ gen = Generator(model=model, cache=cache, tokenizer=tok)prompts = ["The capital of France is a city that", "Water boils at a temperature of", "In 1969 the first humans","The quick brown fox jumps over", "Photosynthesis is the process by which", "The largest planet in the solar system","A binary search tree is a structure", "Mount Everest is located in"][:U]-N = 48+N = int(os.environ.get("FMOE_NEW", "48"))def run():@@ -42,7 +44,7 @@ def run():return out, time.time() - t-arms = [("eager", False, False), ("graph-single", True, False), ("graph-multi", True, True)]+arms = [("eager", False, False), ("graph-single", True, False), ("graph-multi", True, True), ("eager-again", False, False)]ref = Nonefor name, on, multi in arms:cg.CUDA_GRAPH_ENABLED = on