MCPcopy Create free account
hub / github.com/mlco2/codecarbon / build_model

Function build_model

examples/task_inference.py:12–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10
11
12def build_model():
13 model = "huge_model"
14 sleep(5)
15 return model
16
17
18def inference(model, data, inference_task_name):

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…