MCPcopy
hub / github.com/hpcaitech/ColossalAI / server.py

File server.py

applications/ColossalChat/examples/inference/web_chatbot/server.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import argparse
2import os
3from threading import Lock
4from typing import Generator, List, Optional

Callers

nothing calls this directly

Calls 10

load_jsonFunction · 0.90
ChatPromptProcessorClass · 0.90
low_resource_initFunction · 0.90
splitMethod · 0.80
halfMethod · 0.80
getMethod · 0.45
from_pretrainedMethod · 0.45
cudaMethod · 0.45
evalMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected