Hacker News new | ask | show | jobs
by jauntywundrkind 5 days ago
One other advantage, since your layers are reused, you have a bigger pool of jobs you can collate onto a single execution of the layer. https://chatgpt.com/share/6b044c5b-5a68-83ea-a1e5-3345439ba9...

However actually benefiting from this can be tricky! loop-sgland project has considerable effort put to finding out how much to loop any given input, it's own subproblem in making use of this: https://kschwethelm.github.io/continuous-depth-batching/ https://github.com/kschwethelm/loop-sglang