shannon icon indicating copy to clipboard operation
shannon copied to clipboard

[FEATURE]: add config parameter MAX_CONCURRENT_PIPELINES

Open SlavikCA opened this issue 1 month ago • 3 comments

Is your feature request related to a problem? Please describe.

As discussed here https://github.com/KeygraphHQ/shannon/discussions/508 currently the project hard coded: const MAX_CONCURRENT_PIPELINES = 5;

which may overloads local LLM, causing OOM or crashes.

Please make that setting configurable via flag or environment variable, so we can run pipelines sequentially.

Describe the solution you'd like

Please make that setting configurable via flag or environment variable, so we can run pipelines sequentially.

Which CLI mode does this apply to?

Both

Describe alternatives you've considered

No response

Additional context

No response

SlavikCA avatar Oct 31 '26 14:10 SlavikCA

Here is log output of the run with local model orcarouter/Qwen3.8-Flash-Next-Uncensored-GGUF:

https://gist.githubusercontent.com/SlavikCA/bac55563d6a941520f76c061306eca50/raw/ed9865f271e6f0af98f51c1b2d57f804afae130f/gistfile1.txt

There are quite a few OUTPUT_VALIDATION_FAILED errors, such as:

Failed (OUTPUT_VALIDATION_FAILED) (120m 2s, $0.2484) And most of them said "120m".

I think, if I can run tasks sequentially, then it'll more reliable.

SlavikCA avatar Nov 01 '26 01:11 SlavikCA

Hi @SlavikCA, sorry for the delayed response. Thanks for the suggestion and for sharing the logs. We’ll take a look and get back to you.

ezl-keygraph avatar Nov 06 '26 14:11 ezl-keygraph

Opened #525 for this. Happy to adjust or close it if you'd rather handle it internally.

heyliamme avatar Nov 13 '26 05:11 heyliamme