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
import sys, os
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from exllamav3.conversion.quant_config import create_quantization_config_json
import argparse
def main(args):
filename = os.path.join(args.model_dir, "quantization_config.json")
update = os.path.exists(filename)
create_quantization_config_json(args.model_dir)
if update:
print(f"Updated {filename}")
else:
print(f"Created {filename}")
if __name__ == "__main__":
parser = argparse.ArgumentParser(allow_abbrev = False)
parser.add_argument("-m", "--model_dir", type = str, help = "Path to model directory", required = True)
_args = parser.parse_args()
main(_args)