Compile Your LLM Workflow Into Small Model Weights: A LoRA Hypothesis Worth Testing

arpit_bhayani · x · 2026-10-21

Engineer arpitbhayani proposes "compiling" mostly-deterministic LLM workflows into small fine-tuned model weights instead of paying for long prompts on every call.

The approach

Caveats: weights alone don't guarantee determinism (temperature 0 + constrained decoding help), validators are essential, workflow changes require retraining, and out-of-distribution inputs are where small models fail first.

Unbenchmarked — offered as a hypothesis worth testing. Only pays off when the procedure is fixed, inputs are messy, and volume is high.

Original post →

More from coding & agent

coding & agent channel →