text-generation-webui
text-generation-webui copied to clipboard
Increase the max threads from 32 to 256
In #5292, we've requested to increase the threads_batch
in ui to allow > 32
threads, and here's the PR, to enlarge it.
Minor changes, tested on my rig with llama.cpp
loader, work as expected.
Checklist:
- [x] I have read the Contributing guidelines.
I think sometimes using more threads than physical cores is desirable. For some intel CPUs. Depends on your setup.
I think sometimes using more threads than physical cores is desirable. For some intel CPUs. Depends on your setup.
hmm, then I'll leave the maximum
to 256
, let the user decide how many threads they want to use
@Ph0rk0z do you mind to merge this PR regarding its a trival change, verified on my machine, and also the linter show no errors.
Heh, I can't merge. Its on oobabooga.
Heh, I can't merge. Its on oobabooga.
Ahh, got it, anyway, thanks for the comments
I'd also like to see this merged
@oobabooga , sorry for bothering you, could you please have a look on this PR when you have a monent? I'm open to any feedback you might have and am ready to make any necessary adjustments.. Thanks!
Thanks for the PR -- it's a fair change, I just didn't have the time to review it before. Merging now.