Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hpcaitech/ColossalAI
/ inference_example.py
File
inference_example.py
applications/Colossal-LLaMA/inference/inference_example.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
argparse
2
3
import
torch
4
from
colossal_llama.dataset.conversation
import
default_conversation
Callers
nothing calls this directly
Calls
2
get_dist_logger
Function · 0.90
generate
Function · 0.70
Tested by
no test coverage detected