antirez / antirez/ds4

Roadmap question: multi-session / concurrent multi-user inference support

Đang mở
#209 8 bình luận 0 reaction 0 người được giao Xem trên GitHub
ideas-to-explore
Ngôn ngữ chính
C
Star
22.4k
Fork
2.1k
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
4

Mô tả

Hi,

thanks for the great work on ds4.

I would like to ask whether multi-user / multi-agent serving is part of the roadmap.

As far as I understand, ds4-server currently supports multiple clients, but generation is still serialized through a single inference worker. This makes sense for a single interactive session, but it limits use cases where multiple coding agents are connected at the same time.

The feature I would be interested in is not necessarily full continuous batching immediately, but at least:

- multiple independent sessions
- stable session routing, for example through an X-Session-Id header
- separate KV/cache state per session
- warm session pool
- LRU eviction for inactive sessions
- priority/queue scheduling between clients

In the longer term, continuous batching would obviously be ideal, but even a multi-session pool would already make ds4 much more practical for local multi-agent workflows on systems like DGX Spark.

Is this something you plan to implement, or would contributions in this direction be welcome?

Thanks!

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.