MCPcopy
hub / github.com/hpcaitech/ColossalAI / inference

Function inference

examples/inference/llama/benchmark_llama3.py:194–196  ·  view source on GitHub ↗
(rank, world_size, port, args)

Source from the content-addressed store, hash-verified

192
193
194def inference(rank, world_size, port, args):
195 colossalai.launch(rank=rank, world_size=world_size, host="localhost", port=port, backend="nccl")
196 benchmark_inference(args)
197
198
199@rerun_if_address_is_in_use()

Callers

nothing calls this directly

Calls 1

benchmark_inferenceFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…