MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Method__init__
( self, fp8_dtype: torch.dtype = torch.float8_e4m3fn, scale_scope: ScaleScope = ScaleS
lmcache/v1/distributed/serde/asym_k16_v8.py:455
Method__init__
( self, layer_count: int, shape: Tuple[int, ...], dtype: torch.dtype, )
lmcache/v1/standalone/__main__.py:66
Method__init__
( self, config: LMCacheEngineConfig, metadata: LMCacheMetadata, layer_groups:
lmcache/v1/standalone/__main__.py:197
Method__init__
( self, config: LMCacheEngineConfig, metadata: LMCacheMetadata, gpu_connector:
lmcache/v1/standalone/standalone_service_factory.py:27
Method__init__
Initialize StandaloneLMCacheManager. Args: config: LMCache engine configuration metadata: Pre-constructed LM
lmcache/v1/standalone/manager.py:30
Method__init__
(self, app)
lmcache/v1/internal_api_server/api_registry.py:25
Method__init__
(self, lmcache_manager: "LMCacheManager")
lmcache/v1/internal_api_server/api_server.py:41
Method__init__
( self, config: LMCacheEngineConfig, metadata: LMCacheMetadata, )
lmcache/v1/lookup_client/lmcache_async_lookup_client.py:49
Method__init__
( self, lmcache_engine: LMCacheEngine, metadata: LMCacheMetadata, )
lmcache/v1/lookup_client/lmcache_async_lookup_client.py:307
Method__init__
( self, config: LMCacheEngineConfig, metadata: LMCacheMetadata, master_addr: s
lmcache/v1/lookup_client/mooncake_lookup_client.py:23
Method__init__
( self, actual_lookup_client: LookupClientInterface, config: LMCacheEngineConfig,
lmcache/v1/lookup_client/chunk_statistics_lookup_client.py:29
Method__init__
( self, config: LMCacheEngineConfig, metadata: LMCacheMetadata, transport: Rpc
lmcache/v1/lookup_client/lmcache_lookup_client.py:47
Method__init__
( self, lmcache_engine: LMCacheEngine, metadata: LMCacheMetadata, transport: R
lmcache/v1/lookup_client/lmcache_lookup_client.py:183
Method__init__
( self, actual_lookup_client: LookupClientInterface, config: LMCacheEngineConfig )
lmcache/v1/lookup_client/hit_limit_lookup_client.py:24
Method__init__
Initialize the bypass lookup client. Args: config: The LMCacheEngine configuration metadata: The LMCacheEngi
lmcache/v1/lookup_client/lmcache_lookup_client_bypass.py:25
Method__init__
Initialize the recording strategy. Args: chunk_size: Size of each token chunk for processing
lmcache/v1/lookup_client/record_strategies/base.py:23
Method__init__
Initialize the async recorder. Args: strategy: The RecordStrategy instance to wrap queue_capacity: Maximum number of
lmcache/v1/lookup_client/record_strategies/base.py:166
Method__init__
(self, config, chunk_size: int)
lmcache/v1/lookup_client/record_strategies/file_hash.py:20
Method__init__
(self, config, chunk_size: int)
lmcache/v1/lookup_client/record_strategies/memory_bloom_filter.py:14
Method__init__
( self, max_workers: int, thread_name_prefix: str = "affinity", )
lmcache/v1/multiprocess/affinity_pool.py:36
Method__init__
( self, raw_future: MessagingFuture[tuple[bytes, T]], device: Any | None = None, )
lmcache/v1/multiprocess/futures.py:87
Method__init__
(self)
lmcache/v1/multiprocess/engine_context.py:55
Method__init__
( self, storage_manager_config: StorageManagerConfig, chunk_size: int = 256, h
lmcache/v1/multiprocess/engine_context.py:141
Method__init__
(self, tensor: torch.Tensor)
lmcache/v1/multiprocess/custom_types.py:115
Method__init__
(self, tensor: torch.Tensor)
lmcache/v1/multiprocess/custom_types.py:179
Method__init__
(self, chunk_size: int = 256, hash_algorithm: str = "blake3")
lmcache/v1/multiprocess/token_hasher.py:62
Method__init__
(self, app: FastAPI)
lmcache/v1/multiprocess/http_api_registry.py:25
Method__init__
( self, context: MPCacheServerContext, modules: list[EngineModule], )
lmcache/v1/multiprocess/server.py:75
Method__init__
Initialize the MP runtime plugin launcher. Aggregates arbitrary dataclass configs into a single JSON blob and delegates to RuntimePlu
lmcache/v1/multiprocess/mp_runtime_plugin_launcher.py:69
Method__init__
(self, hasher: TokenHasher, ttl: float = DEFAULT_SESSION_TTL)
lmcache/v1/multiprocess/session.py:125
Method__init__
(self, drain_interval_seconds: float = 0.005)
lmcache/v1/multiprocess/native_completion.py:61
Method__init__
(self)
lmcache/v1/multiprocess/mq.py:138
Method__init__
(self, server_url: str, context: zmq.Context)
lmcache/v1/multiprocess/mq.py:267
Method__init__
( self, payload_clss: list[Any], response_cls: ResponseType, handler: Callable
lmcache/v1/multiprocess/mq.py:411
Method__init__
( self, payload_clss: list[Any], response_cls: ResponseType, handler: Callable
lmcache/v1/multiprocess/mq.py:441
Method__init__
(self, bind_url: str, context: zmq.Context)
lmcache/v1/multiprocess/mq.py:490
Method__init__
(self, chunk_size: int = 256)
lmcache/v1/multiprocess/modules/blend.py:81
Method__init__
(self, ctx: MPCacheServerContext)
lmcache/v1/multiprocess/modules/blend.py:324
Method__init__
( self, ctx: MPCacheServerContext, liveness_targets: Sequence[InstanceLivenessTarget]
lmcache/v1/multiprocess/modules/management.py:49
Method__init__
(self, ctx: MPCacheServerContext)
lmcache/v1/multiprocess/modules/engine_driven_transfer.py:78
Method__init__
(self, ctx: MPCacheServerContext)
lmcache/v1/multiprocess/modules/lookup.py:103
Method__init__
( self, ctx: MPCacheServerContext, p2p_config: P2PConfig, coordinator_config:
lmcache/v1/multiprocess/modules/p2p_controller.py:103
Method__init__
Initialize pickle transfer strategy. Args: storage_manager: Storage manager used for reserve/read/finish calls.
lmcache/v1/multiprocess/modules/server_transfer.py:174
Method__init__
Initialize SHM transfer strategy. Args: storage_manager: Storage manager used for reserve/read/finish calls. pending_
lmcache/v1/multiprocess/modules/server_transfer.py:284
Method__init__
(self, ctx: MPCacheServerContext)
lmcache/v1/multiprocess/modules/lmcache_driven_transfer.py:425
Method__init__
Initialize the V3 matcher. Args: chunk_size (int): Tokens per non-overlapping fingerprint chunk.
lmcache/v1/multiprocess/modules/blend_v3.py:114
Method__init__
( self, ctx: MPCacheServerContext, lmcache_driven_transfer: LMCacheDrivenTransferModul
lmcache/v1/multiprocess/modules/blend_v3.py:331
Method__init__
( self, metadata: EngineDrivenContextMetadata, mq_client: MessageQueueClient,
lmcache/v1/multiprocess/transfer_context/base.py:136
Method__init__
(self)
lmcache/v1/multiprocess/transfer_context/worker_transfer.py:229
Method__init__
(self)
lmcache/v1/multiprocess/transfer_context/worker_transfer.py:322
Method__init__
( self, metadata: EngineDrivenContextMetadata, mq_client: MessageQueueClient,
lmcache/v1/multiprocess/transfer_context/pickle.py:32
Method__init__
( self, metadata: EngineDrivenContextMetadata, mq_client: MessageQueueClient,
lmcache/v1/multiprocess/transfer_context/shm.py:79
Method__init__
Create the client and start its daemon. Args: base_url: Coordinator base URL (e.g. ``http://coordinator:9300``).
lmcache/v1/mp_coordinator/blend_client.py:79
Method__init__
Initialize an empty table at the minimum size.
lmcache/v1/mp_coordinator/blend_directory.py:136
Method__init__
Initialize an empty directory. Args: chunk_size: Tokens per chunk (the LMCache chunk size; fleet config). The mat
lmcache/v1/mp_coordinator/blend_directory.py:213
Method__init__
Initialize an empty registry.
lmcache/v1/mp_coordinator/registry.py:62
Method__init__
(self)
lmcache/v1/mp_coordinator/l2/usage_manager.py:21
Method__init__
( self, client: httpx.AsyncClient, coordinator_url: str, instance_id: str,
lmcache/v1/mp_coordinator/l2/event_listener.py:39
Method__init__
( self, quota_manager: QuotaManager, usage_manager: L2UsageManager, eviction_r
lmcache/v1/mp_coordinator/l2/eviction_manager.py:47
Method__init__
( self, usage_manager: L2UsageManager, eviction_manager: L2EvictionManager, pa
lmcache/v1/mp_coordinator/l2/resync_manager.py:41
Method__init__
( self, manager: "LMCacheManager", ping_interval: float = DEFAULT_PING_INTERVAL, )
lmcache/v1/health_monitor/base.py:185
Method__init__
( self, backend: "RemoteBackend", )
lmcache/v1/health_monitor/checks/remote_backend_check.py:57
Method__init__
(self)
lmcache/v1/platform/event_notifier.py:109
Method__init__
(self)
lmcache/v1/platform/event_notifier.py:173
Method__init__
( self, *, engine_kv_format: Any, kv_caches: list[torch.Tensor], devic
lmcache/v1/platform/base_cache_context.py:54
Method__init__
(self)
lmcache/v1/platform/cpu/stub_cpu_device.py:18
Method__init__
( self, enable_timing: bool = False, blocking: bool = False, interprocess: boo
lmcache/v1/platform/cpu/stub_cpu_device.py:33
Method__init__
(self, device: Any = "cpu", priority: int = 0, **kwargs: Any)
lmcache/v1/platform/cpu/stub_cpu_device.py:120
Method__init__
(self, device_type: str = "cpu")
lmcache/v1/platform/cpu/stub_cpu_device.py:207
Method__init__
( self, kv_caches: KVCache, lmcache_tokens_per_chunk: int = 256, layout_hints:
lmcache/v1/platform/cpu/cache_context.py:68
Method__init__
(self, tensor: torch.Tensor, shm_name: str)
lmcache/v1/platform/cpu/shm.py:77
Method__init__
( self, kv_caches: KVCache, lmcache_tokens_per_chunk: int = 256, layout_hints:
lmcache/v1/platform/cuda/cache_context.py:350
Method__init__
(self, kv_caches: KVCache, lmcache_tokens_per_chunk: int = 256)
lmcache/v1/platform/cuda/cache_context.py:542
Method__init__
(self, host, port, device)
lmcache/v1/server/__main__.py:25
Method__init__
( self, )
lmcache/v1/server/storage_backend/local_backend.py:18
Method__init__
( self, socket_params: list[SocketParams], timeout_ms: int, )
lmcache/v1/rpc/zmq_transport.py:40
Method__init__
( self, socket_path: str, recv_timeout_ms: int = 1000, )
lmcache/v1/rpc/zmq_transport.py:163
Method__init__
( self, lmcache_engine: LMCacheEngine, tp_rank: int, )
lmcache/v1/offload_server/zmq_server.py:23
Method__init__
( self, size: int, sharder: PathSharder, use_direct_io: bool, )
lmcache/v1/storage_backend/nixl_storage_backend.py:291
Method__init__
Create a pool of ``size`` NIXL object slot names. Args: size: Number of object slots to pre-generate. b128: If True,
lmcache/v1/storage_backend/nixl_storage_backend.py:326
Method__init__
(self)
lmcache/v1/storage_backend/nixl_storage_backend.py:367
Method__init__
( self, allocator: PagedTensorMemoryAllocator, device: str, backend: str,
lmcache/v1/storage_backend/nixl_storage_backend.py:449
Method__init__
( self, allocator: PagedTensorMemoryAllocator, pool: NixlDescPool, device: str
lmcache/v1/storage_backend/nixl_storage_backend.py:558
Method__init__
( self, allocator: PagedTensorMemoryAllocator, device: str, backend: str,
lmcache/v1/storage_backend/nixl_storage_backend.py:631
Method__init__
Initialize the Nixl storage backend. :param nixl_config: The Nixl storage configuration. :param config: The LMCache engine c
lmcache/v1/storage_backend/nixl_storage_backend.py:759
Method__init__
( self, nixl_config: NixlStorageConfig, config: LMCacheEngineConfig, metadata:
lmcache/v1/storage_backend/nixl_storage_backend.py:990
Method__init__
( self, nixl_config: NixlStorageConfig, config: LMCacheEngineConfig, metadata:
lmcache/v1/storage_backend/nixl_storage_backend.py:1354
Method__init__
(self, real_backend: StorageBackendInterface)
lmcache/v1/storage_backend/audit_backend.py:21
Method__init__
( self, config: LMCacheEngineConfig, metadata: Optional[LMCacheMetadata] = None,
lmcache/v1/storage_backend/local_cpu_backend.py:46
Method__init__
(self)
lmcache/v1/storage_backend/hipfile_shim.py:53
Method__init__
( self, path: str, mode: str = "r", use_direct_io: bool = False, )
lmcache/v1/storage_backend/hipfile_shim.py:70
Method__init__
( self, config: LMCacheEngineConfig, metadata: LMCacheMetadata, loop: asyncio.
lmcache/v1/storage_backend/remote_backend.py:28
Method__init__
( self, config: LMCacheEngineConfig, metadata: LMCacheMetadata, )
lmcache/v1/storage_backend/pd_backend.py:180
Method__init__
Initialize the storage backend. :param dst_device: the device where the blocking retrieved KV is stored, could be either
lmcache/v1/storage_backend/abstract_backend.py:28
Method__init__
Initialize a configurable storage backend. This constructor will be called when loading the configurable storage backends from the co
lmcache/v1/storage_backend/abstract_backend.py:429
Method__init__
( self, config: LMCacheEngineConfig, metadata: LMCacheMetadata, loop: asyncio.
lmcache/v1/storage_backend/gds_backend.py:203
Method__init__
( self, host: str, port: int, num_workers: int, loop: Optional[asyncio
lmcache/v1/storage_backend/resp_client.py:39
Method__init__
( self, config: LMCacheEngineConfig, metadata: LMCacheMetadata, loop: asyncio.
lmcache/v1/storage_backend/p2p_backend.py:159
Method__init__
( self, config: LMCacheEngineConfig, metadata: LMCacheMetadata, loop: asyncio.
lmcache/v1/storage_backend/maru_backend.py:48
Method__init__
( self, config: LMCacheEngineConfig, loop: asyncio.AbstractEventLoop, local_cp
lmcache/v1/storage_backend/local_disk_backend.py:100
← previousnext →5,401–5,500 of 13,371, ranked by callers