[Rust] Rename mem-cache to sglang-radix-tree (#37290)
This commit is contained in:
+2
-2
@@ -148,8 +148,8 @@ def _discovered_rust_extensions():
|
||||
cargo_manifest_args=["--locked"],
|
||||
)
|
||||
# Preserve Cargo metadata until the selected extension is actually
|
||||
# built. Alternate platform pyprojects filter mem-cache out before
|
||||
# this point and therefore do not need torch as a build dependency.
|
||||
# built. Alternate platform pyprojects filter the Rust TreeCore extension
|
||||
# out before this point and therefore do not need torch as a build dependency.
|
||||
extension._sglang_metadata = sglang_meta
|
||||
extension._sglang_manifest_path = package["manifest_path"]
|
||||
extensions.append(extension)
|
||||
|
||||
@@ -10,7 +10,7 @@ from sglang.srt.rust_extensions.torch_build import torch_build_configuration
|
||||
|
||||
_PYTHON_MODULE = "sglang.srt.mem_cache.rust_tree_core.mem_cache"
|
||||
_INSPECTION_MODULE = "sglang.srt.mem_cache.rust_tree_core.mem_cache_inspection"
|
||||
_CRATE_DIR = Path(__file__).resolve().parents[5] / "rust" / "mem-cache"
|
||||
_CRATE_DIR = Path(__file__).resolve().parents[5] / "rust" / "sglang-radix-tree"
|
||||
_TORCH_COMPAT_HEADER = _CRATE_DIR / "torch_2_13_compat.h"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user