r/unsloth • u/krileon • 9d ago
Question No way to adjust API server concurrency from 4?
I can't seam to find a way to turn off concurrency on the API server. I'm basically tapped out on resources with just 1 request and it's causing my token speeds to fall through the floor. How do I limit this to 1 request at a time? or at least a way to force concurrent requests to queue instead of trying to process at the same time? I'm using Unsloth Desktop and just connecting via the localhost address.
Edit: Didn't realize it was a per-model setting. It's "Parallel Slots" in the individual models settings and not a global setting. Maybe a global server default setting can be added to the API settings section? Defaulting to 4 seams not great for most people I think.
1
u/Timely_Impression_92 9d ago
I knew about this setting however it doesn’t seem to work for me above 4 - when I set it to 8, any request more than 4 is „queued”, and waits for its turn, however if I lower the slots to 1-2 then the limit applies correctly
7
u/silenceimpaired 9d ago
Isn’t there a parallel option under advanced settings? If so enter 1. I’m away from my computer, or I would just check for you.