Ask HN: I'm building an inference engine. Ask me anything
2 threads
How much work it will take to port it to ASIC (custom build chip)?
What language, what algorithms? How does it compare to e.g. CLIPS?
Different kind of inference. CLIPS is a rule engine. Mine serves LLMs: it runs transformer forward passes on GPUs. It's Rust with ridiculously fast CUDA kernels (attention, quantized matmuls in FP8 and NVFP4 formats). The interesting algorithms are scheduling and caching: continuous batching, a paged KV cache with prefix reuse, stateful sessions (our novel approach), speculative decoding, and splitting a model across GPUs.
Ok, I see. But how does it do "inference" then? What is inference in this context at all (maybe you can post a reference)?