Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
import
argparse
2
import
os
3
from
threading
import
Lock
4
from
typing
import
Generator, List, Optional
Callers
nothing calls this directly
Calls
10
load_json
Function · 0.90
ChatPromptProcessor
Class · 0.90
low_resource_init
Function · 0.90
split
Method · 0.80
half
Method · 0.80
get
Method · 0.45
from_pretrained
Method · 0.45
cuda
Method · 0.45
eval
Method · 0.45
run
Method · 0.45
Tested by
no test coverage detected