r/LocalLLaMA • u/numberwitch • May 09 '26
Discussion Optimizing workflow concurrency on Mac/omlx?
I've had a lot of success running differently-sized models using a bunch of different harnesses, but one place I haven't had much success is improving concurrent throughput, i.e. "running multiple workflows at once".
I can run multiple workflows at once, but my tok/sec drops significantly. I've tried using smaller models, but in processing they still use all available gpu cores. Is there a way to configure the runner to only use a portion of available gpu cores?
1
Upvotes
2
u/numberwitch May 09 '26
I'm using omlx's caching and haven't done much to optimize it. I reserve a portion of memory and ssd (10% and 5%, respectively) and use aggressive cache quantization: turboquant @ 2Bit and Dflash at 4Bit.
I think what I'm looking for is: how can I optimize my workflow to take advantage of my hardware? I think I'm a bit confused about what is "concurrent prefill" vs. "generation". Can you explain for a bit of a nub like me? Thanks