Settings

Theme

Ask HN: I'm building an inference engine. Ask me anything

2 points by logotype · 6 comments


2 threads
isawczuk

How much work it will take to port it to ASIC (custom build chip)?

Rochus

What language, what algorithms? How does it compare to e.g. CLIPS?

  • logotypeOP

    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.

    • Rochus

      Ok, I see. But how does it do "inference" then? What is inference in this context at all (maybe you can post a reference)?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection