MCPcopy Create free account
hub / github.com/Alpha-VLLM/LLaMA2-Accessory / process_special_request

Function process_special_request

accessory/model/multi_gpu_wrapper.py:43–47  ·  view source on GitHub ↗
(request: str)

Source from the content-addressed store, hash-verified

41 pass
42
43def process_special_request(request: str):
44 if request == "reset_status":
45 raise ResetException
46 elif request == "terminate":
47 raise TerminateException
48
49def model_worker(port: int, rank:int, world_size: int):
50

Callers 1

model_workerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected