MCPcopy Create free account
hub / github.com/ServerlessLLM/ServerlessLLM / exists

Method exists

sllm/controller.py:253–255  ·  view source on GitHub ↗
(self, model_name: str)

Source from the content-addressed store, hash-verified

251 # TODO: update other config (if possible)
252
253 async def exists(self, model_name: str):
254 async with self.metadata_lock:
255 return model_name in self.registered_models
256
257 async def delete(
258 self, model_name: str, lora_adapters: Optional[List[str]] = None

Callers 15

download_lora_adapterFunction · 0.80
download_vllm_modelMethod · 0.80
deploy_modelFunction · 0.80
init_backendMethod · 0.80
build_extensionsMethod · 0.80
tearDownMethod · 0.80
tearDownClassMethod · 0.80

Calls

no outgoing calls

Tested by 15

tearDownMethod · 0.64
tearDownClassMethod · 0.64
setUpMethod · 0.64
tearDownMethod · 0.64
test_save_modelMethod · 0.64
setUpMethod · 0.64
tearDownMethod · 0.64