Commit Graph

80 Commits

Author SHA1 Message Date
Azure 0815e450cd
[docs] Change vllm intergration doc menu structure (#1275)
Co-authored-by: Azure <>
2025-12-24 18:30:28 +08:00
Harold Huang f21e69511c
[TE] add MC_FORCE_HCA environment variable to force use rdma (#1259)
* add MC_FORCE_HCA environment variable to force use rdma

* Updater for better readability

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* fix clang-format problem

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-23 15:25:12 +08:00
Teng Ma 47025faf9c
[Doc] add more mooncake store APIs doc (#1237) 2025-12-23 01:20:09 +08:00
Feng Ren e8db9e54cf
[TE] Add TENT codebase to main (Phase 1: structural import) (#1213)
* [TE] Add TENT to main branch: Phase 1

* Fix CI issues

* Apply suggestions from code review

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Fix build bug

* Update code format

* Fix code format issue

* disable building Mooncake TENT by default

* Code reformat

* Revise benchmark code and add docs

* format bench code

* Retrigger

* Update Python APIs

* Fix bugs

* Register memory in parallel

* Fix wheel packing

* Format fix

* reformat

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-22 19:22:13 +08:00
Xun Sun 2db5974666
[Doc] update toc item of ep-backend (#1252) 2025-12-22 15:01:52 +08:00
Xun Sun 832ae19492
[EP] Implement elastic scaling up (#1173) 2025-12-22 14:10:40 +08:00
Tianren Zhang 0451a76747
[Doc] Fix typo in the tutorial (#1247) 2025-12-21 20:51:22 +08:00
Stary 87c14b8c97
feat(TE): Add MC_ENABLE_PARALLEL_REG_MR Option (#1238) 2025-12-20 19:19:24 +08:00
Azure da66cc83fd
[Doc] Fix broken link (#1240) 2025-12-19 23:04:58 +08:00
Cruz Zhao 1a5983e756
[store] zero copy for get_tensor() and batch_get_tensor() (#1192) 2025-12-19 08:38:17 +08:00
Azure 6f696b9b20
Add vllm v1 mooncake benchmark and launch guide (#1223)
* Add vllm v1 mooncake benchmark; add vllm v1 mooncake launch guide

* Rename file

* add description

* Update index.md and user guide
2025-12-18 19:04:20 +08:00
Anatolii Rozanov 38bd84f3c3
[TE]: Add HIP transport for AMD GPUs support (#1208)
* [TE]: Add HIP transport for AMD GPUs support

Forked from nvlink_transport and adapted for HIP/AMD GPUs.

* [TE/HIP] Addressed review comments

* [TE] Move NVLINK and HIP common functions to common files

* [TE] Fix incorrect length assignment in relocateSharedMemoryAddress

Use entry.length instead of length parameter when storing OpenedShmEntry.
The length parameter represents the requested transfer length, while
entry.length represents the actual buffer's full length, which is the
correct value to store and is consistent with openShareableHandle usage.
2025-12-16 19:27:47 +08:00
早些年 22e6ad750b
[TE] feat: add PCIe Relaxed Ordering (RO) support and RDMA traffic class (… (#1076)
* add PCIe Relaxed Ordering (RO) support.

* fix: add env variable to control Relaxed Ordering (RO)

* refactor: simplify logic in mooncake-transfer-engine/src/transport/rdma_transport/rdma_transport.cpp

Co-authored-by: Teng Ma <teng-ma@linux.alibaba.com>

* fix(RO): set default value to 0

* fix(ci): resolve compilation error in PR build

* Supplement guidance documents

* refactor: remove dlopen, use dlsym alone for symbol checking

---------

Co-authored-by: Teng Ma <teng-ma@linux.alibaba.com>
2025-12-15 18:40:04 +08:00
Jianxin 38138f9136
[Doc] Hotfix: Remove duplicate docs (#1211) 2025-12-15 14:17:09 +08:00
Jianxin df201882b2
[Doc] Merge doc to docs (#1153)
* merge doc/en/ to docs/

* move chinese documents to an archive directory
2025-12-15 12:08:49 +08:00
Vincent-Bo-ali 024b695a8d
[Store] feat: Add BatchReplicaClear API for manual cache cleanup (#1191)
* [Store] feat: Add BatchReplicaClear API for manual cache cleanup

Implement the `BatchReplicaClear` API to allow clients to manually clear
cached object replicas. This feature enables explicit storage management
by deleting replicas for specified keys. The implementation is end-to-end,
from the client to the master service.

Signed-off-by: Vincent Gao <vincentbo@linux.alibaba.com>

* [Store] feat: Fix BatchReplicaClear monitor issues

Fixed issues with monitoring metrics not being updated and function naming.
Fix the issue of unclear descriptions in the file.

Signed-off-by: Vincent Gao <vincentbo@linux.alibaba.com>

---------

Signed-off-by: Vincent Gao <vincentbo@linux.alibaba.com>
2025-12-12 23:08:48 +08:00
qicosmos 8e497d5c7a
[yalantinglibs]set ylt log level with env (#1190)
* set log level with env

* improve and add document

* add common include
2025-12-11 17:22:11 +08:00
Xuchun Shang fa8dc059c2
[Store] add tp awareness for get_tensor (#1127)
* add tp awareness for get_tensor
2025-12-11 11:12:44 +08:00
Xun Sun 84dd4dfc24
[Doc] add docs of Mooncake EP integration with SGLang (#1188) 2025-12-09 21:40:23 +08:00
Vincent-Bo-ali 72bfa28c04
[Store] feat: Add BatchQueryIp API for querying multiple client IPs (#1162)
* [Store] feat: Add BatchQueryIp API for querying multiple client IPs

Add BatchQueryIp API with client test and master server test

Signed-off-by: Vincent Gao <vincentbo@linux.alibaba.com>

* [Doc] Add API documents for BatchQueryIp

Signed-off-by: Vincent Gao <vincentbo@linux.alibaba.com>

---------

Signed-off-by: Vincent Gao <vincentbo@linux.alibaba.com>
2025-12-08 17:29:04 +08:00
R0CKSTAR d116df6c4e
[MUSA] Enable USE_MNNVL (#1176)
* [MUSA] Enable USE_MNNVL

Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com>

* Correct clang format

Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com>

* Address comments

Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com>

* ci: add build-musa

Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com>

---------

Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com>
2025-12-08 15:28:48 +08:00
Anatolii Rozanov 1373d5875f
[TE] Improve AMD HIP support with hipify-perl (#1154)
* Improve AMD HIP support with hipify-perl

This commit improves AMD GPU support by migrating to hipify-perl
for automatic CUDA-to-HIP code conversion at build time, and extends HIP
compatibility to the NVLink transport layer.

* [TE] Add HIP support to nvlink-allocator with hipcc compilation

* Add USE_HIP to the documentation

* [TE/NVLINK] Check CU_DEVICE_ATTRIBUTE_HANDLE_TYPE_FABRIC_SUPPORTED only if USE_CUDA

* [TE/EXAMPLE] Fix compiler error if USE_MNNVL and USE_HIP

* Address review  comments
2025-12-05 21:01:42 +08:00
Jinlong Chen 2361749062
[Store]: Refactor AllocationStrategy implementation for better performance and flexibility (#1149) 2025-12-04 20:08:33 +08:00
yejj 1840577d68
[Store] add pybind for get_replica_desc (#1121)
* add pybind for get_replica

* rename pybinb funcs name & update api doc

* fix spell problem
2025-12-04 15:45:52 +08:00
EkiRui 7517db4585
[Store] feat: Add standalone deployment implementation for Client (#1084)
* [Store]: Add independent deployment implementation for Client

Signed-off-by: Xingrui Yi <yixingrui@linux.alibaba.com>

* [Doc]: mooncake-store: add introduce for client standalone mode

Signed-off-by: Xingrui Yi <yixingrui@linux.alibaba.com>

* [CI]: Add dummy client test

Signed-off-by: Xingrui Yi <yixingrui@linux.alibaba.com>

* [Store]: Change dummy client setup into a new func

Signed-off-by: Xingrui Yi <yixingrui@linux.alibaba.com>

* [Store]: Add more log for dummy client

Signed-off-by: Xingrui Yi <yixingrui@linux.alibaba.com>

---------

Signed-off-by: Xingrui Yi <yixingrui@linux.alibaba.com>
2025-11-25 23:57:30 +08:00
Teng Ma 25364661e3
[Store] add version checking between client and server (#1061) 2025-11-24 20:26:57 +08:00
Teng Ma a87ecea1cc
[DOC] add web api doc (#1059)
* add web api doc

* Apply suggestion from @gemini-code-assist[bot]

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: JinYan Su <jinyansu792@gmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-17 11:11:48 +08:00
ykwd 13dfc41cc2
[Doc] Update SGLang Hicache Docs (#1023) 2025-11-10 17:55:03 +08:00
Jinlong Chen 6d05c9344b
[Store] Add Timeout Mechanism for Put Operations (#993) 2025-11-06 10:37:13 +08:00
yejj 14aea87639
[store] feat: add secondary storage usage monitor (#976)
* add secondary storage usage monitor

* remove useless code

* code format & rename memory related metrics

* fix some bug

* use int64_t define file capacity & add init total_file_capacity

* use int64_t to define file_capacity

* rename memory usage related functions

* fix 2 bugs

* add docs

* fix code format

* add more docs

* use RAII way to update allocated_file_size

* fix ci

* fix CI compile problem
2025-11-03 11:50:24 +08:00
JinYan Su 223d74933b
ci: add non-CUDA release workflow and update documentation (#969)
* ci: add non-CUDA release workflow and update documentation

- Add release-non-cuda.yaml workflow for building non-CUDA version
- Modify build_wheel.sh to support dynamic package name modification
- Update README.md and docs with installation instructions for both versions
- CUDA version includes Mooncake-EP and GPU topology detection
- Non-CUDA version for environments without CUDA dependencies

* Update README.md

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-27 13:41:54 +08:00
Syspretor dde5c1d894
[Store] feat: support load config from env for mooncake store_service (#951)
Co-authored-by: 玖宇 <guotongyu.gty@alibaba-inc.com>
2025-10-23 14:47:40 +08:00
Liziqi-77 545302ccaf
[DOC] Fix documentation link (#949) 2025-10-23 14:12:19 +08:00
Chao Lei 2d3d02a0a8
[Store] Add APIs: batch_put_from_multi_buffers and batch_get_into_multi_buffers (#929)
Co-authored-by: youxiao <youxiao@huawei.com>
2025-10-16 11:17:23 +08:00
ykwd b57c3d2781
[Doc] Add Clarification for STORE_USE_ETCD Compile Option (#927) 2025-10-14 19:29:44 +08:00
ykwd 6a29970e29
[Doc] fix(doc): Add Hicache Design to Index.md (#914)
* fix: update doc index

* fix title layer
2025-10-10 17:29:46 +08:00
ykwd 52bb108340
[Doc] Add Mooncake x SGLang Hicache Design and Some Updates (#913) 2025-10-10 15:17:24 +08:00
JinYan Su e11d9fc80e
docs(store): Restructure and Simplify SGLang HiCache Integration Guide (#897) 2025-09-29 19:25:02 +08:00
Ruoyu Qin b66deff176
[Docs] Update quick start and usage examples (#893) 2025-09-26 13:17:31 +08:00
ykwd 8992a2ebba
fix(store): Check if Connecting Master Fails (#886) 2025-09-25 11:19:50 +08:00
ykwd 5bd25ddb68
[Docs] Update Obsolete Content & Fix Minor Problems (#880)
* Fix bugs

* Update get and put description

* Update allocator description

* Address review comments

* Update strong consistency description

* Update error code
2025-09-24 12:20:43 +08:00
ykwd c5cce40ee7
[Store] Check If Get Operation Completed Within Lease (#778) 2025-09-24 11:43:23 +08:00
JinYan Su 6d8aab2ef6
feat(store): disable auto discovery by default, require devices for RDMA (#877)
* feat(store): disable auto discovery by default, require rdma_devices for RDMA

* feat(client): support optional auto-discovery with default for RDMA

* update comment

* update doc

* update hello world
2025-09-23 20:44:22 +08:00
JinYan Su af4fb4d5d4
feat(store): support transfer engine p2phandshake (#852)
* feat(allocator): Add transport endpoint support for segment transfers

* refactor(Client): Replace segment_name with transport_endpoint in buffer descriptors and tests

* refactor(test): switch to in-proc master and remove external service management

* style: format code and adjust transfer task timeout

* feat(Client::MountSegment): set te_endpoint conditionally based on metadata_connstring for P2P mode

* Allow configuring default KV lease TTL via environment variable

Read DEFAULT_KV_LEASE_TTL environment variable at server startup and
parse as uint64_t value. This enables CI tests to override default
configuration without code changes.

Signed-off-by: xiaguan <751080330@qq.com>

* style: format CI config and add [[nodiscard]] to methods

Signed-off-by: xiaguan <751080330@qq.com>

* refactor(tests): remove local_hostname parameter and improve test helpers

The commit removes the unused local_hostname parameter from TransferSubmitter constructor, updates the associated initialization logic, and simplifies test code by introducing helper functions for segment creation. The changes improve code maintainability while preserving functionality.

* refactor(TransferSubmitter): Remove unused local_hostname_ member and validation check

* docs(store): update setup examples for p2p

---------

Signed-off-by: xiaguan <751080330@qq.com>
2025-09-22 16:30:15 +08:00
JinYan Su dafaaad076
feat(store): add client heartbeat support for non ha mode (#845)
* feat(store): add client heartbeat support for non ha mode

This change extends client functionality to handle master reconnection and segment remounting in non-HA mode, adds corresponding test infrastructure, and improves utility functions for HTTP operations and port allocation.

Signed-off-by: xiaguan <751080330@qq.com>

* refactor(tests): reorganize test entries in CMakeLists.txt

* update docs

---------

Signed-off-by: xiaguan <751080330@qq.com>
Co-authored-by: Ke Yang <oneday117@qq.com>
2025-09-17 14:54:48 +08:00
joss bf88c3dc4f
[Store] Add Master Json Config Example 2025-09-17 11:54:22 +08:00
JinYan Su 51687e916e
docs(deployment): Add Mooncake Store deployment guide with configuration and metrics (#825) 2025-09-16 10:02:55 +08:00
ykwd 9b8426beac
[Docs] Fix Broken Trace Link (#841) 2025-09-15 16:34:03 +08:00
ykwd 8bdb472c19
[Doc] SGLang HiCache Intergration (#833) 2025-09-15 14:05:51 +08:00
ykwd 63db31c592
[Doc] Store Integrated to SGLang HiCache (#829)
* Update readme

* Add benchmark

* Minor update

* Add news
2025-09-11 22:49:16 +08:00