feat: Support vLLM as backend for cube's para_mem (LoRA)
Pre-submission checklist | 提交前检查
- [x] I have searched existing issues and this hasn't been mentioned before | 我已搜索现有问题,确认此问题尚未被提及
- [x] I have read the project documentation and confirmed this issue doesn't already exist | 我已阅读项目文档并确认此问题尚未存在
- [x] This issue is specific to MemOS and not a general software issue | 该问题是针对 MemOS 的,而不是一般软件问题
Problem Statement | 问题陈述
I tried to use telmplate from https://memos-docs.openmem.net/getting_started/examples#example-4-hybrid with vLLM, but MemOS supports only huggingface. Will you add support for vLLM in future? Or it possible now but not documented?
Willingness to Implement | 实现意愿
- [ ] I'm willing to implement this myself | 我愿意自己解决
- [ ] I would like someone else to implement this | 我希望其他人来解决
We're delighted to annouce that vLLM is officially supported by MemOS in our very latest version. Handling details can be find in example: examples/mem_os/simple_vllm_memos.py
Hi, we currently don't have an official lora release yet. But since you use vllm, you can try the same approach as vllm document to serve loras. Then you can use examples/mem_os/simple_vllm_memos.py to send requests to the server as normal.
This issue has been automatically marked as stale due to inactivity.
This issue has been automatically closed due to inactivity.
Hey @alexandr-bsu! Thanks for the contribution — already solved the issue, thanks for helping us to improve our project! 📈
Btw if you enjoyed contributing and want to stay connected with the project, we run a Discord server for contributors, a chill space to discuss features, ask questions, or pick up new issues 👉🏻 MemOS Discord Server (Contributor Exclusive)
Thanks again for shipping this, and happy MemOSing 🧠✨