Projects

The list of my open sourced projects

LyCORIS

PythonNeural NetworkResearch

Lora beYond Conventional methods. Comprehensive PEFT library for neural networks, published at ICLR 2024.

TIPO

PythonLLMGenerative AIResearch

Text to Image with Text Presampling for Prompt Optimization. Published at ICLR 2026, related models got over 3M downloads.

HDM

PythonNeural NetworkGenerative AIResearch

Home-made Diffusion Model. Training quality text-to-image models on consumer-level hardware. Tech report on arXiv.

KohakuTerrarium

PythonLLMAgentFramework

General purpose AI agent framework with built-in tools, sub-agents, persistent sessions, TUI and web UI. Comes with kt CLI and package marketplace.

KohakuTPU [WIP]

VerilogAI AcceleratorHardware

AI accelerator implementation with Xilinx FPGA. Built on KohakuAccel, an open platform for building FPGA accelerators.

PixelOE

PythonCV Algorithm

Detail-Oriented Pixelization based on Contrast-Aware Outline Expansion.

KohakuHub

InfraFull StackDataset

Self-hosted HuggingFace alternative, fully compatible with HuggingFace Hub, Transformers and Diffusers.

KohakuRAG

PythonLLMRAGFramework

#1 in Wattbot2025. Hierarchical RAG framework with context-aware search and single-file SQLite storage. Paper on arXiv.

KohakuRiver

InfraPython

Lightweight cluster manager that turns a small fleet of nodes into one powerful computer using Docker. Supports QEMU/KVM VM, VXLAN overlay network and GPU passthrough.

KohakuNodeIR

PythonCompilerFramework

KIR: a text-based intermediate representation for visual programming. Captures control flow and dataflow in one file, round-trips between text and graph, runs on any conforming backend.

KohakuHPO

PythonOptimizationResearch

Unified black-box optimization system for hyperparam tuning. Reference implementation of S3-TuRBO with from-scratch baselines (CMA-ES, GP-BO, HEBO, TuRBO).

KohakuVault

DatabaseVector SearchPythonRust

Single-file key-value/columnar store built on SQLite with Rust. Supports full-text search, vector search and auto msgpack.

KohakuBoard

InfraFull StackTraining

Self-hosted W&B alternative with async logging, efficient storage and fast visualization frontend.

HakuLatent

PythonNeural NetworkGenerative AI

A comprehensive codebase for training and finetuning Image <> Latent models. Supports EQ-VAE regularization.

KohakuBoardGame

C++PythonNeural Network

Board game engine with NNUE neural network evaluation and PVS search. Supports MiniChess, MiniShogi, and Gomoku.

KohakuEFDA [WIP]

PythonRustOptimization

KohakuLayout: netlist to placed-and-routed grid layout framework. KohakuEFDA: factory planner for Arknights: Endfield built on it.

monotone-kvm

PythonGPU KernelNeural Network

Triton kernels for Key-Value Means (KVM) attention with hand-written backward. Also a scheduler playground for monotone bucket schedules.

SenseCraft

PythonNeural NetworkTraining

Unified Perceptual Feature Loss Framework. LPIPS, ConvNeXt/DINOv3 feature loss, frequency domain loss and PSNR/SSIM metrics.

KohakuEngine

PythonFramework

All-in-Python config and execution engine for RD workload. Run existing scripts with different configs without modifying the code.

KohakuClip

RustPythonDataset

Stateless Rust+pyo3 video loader tailored for fast, memory-efficient PyTorch pipelines.

S3impleClient

PythonInfra

Simple, fast and robust async S3/HTTP downloader and uploader with pipelined parallel transfers. Can patch huggingface_hub for faster transfer.

z-tipo-extension

PythonGenerative AILegacy

A sd-webui/ComfyUI extension for utilizing TIPO or DanTagGen to "upsample prompts".

a1111-sd-webui-lycoris

PythonGenerative AILegacy

An extension for stable-diffusion-webui to load LyCORIS models.

HakuBooru

PythonDatasetLegacy

text-image dataset maker for anime-style images.

Kohaku-NAI

PythonGenerative AILegacy

A Novel-AI client with more utilities built in it.