MCPcopy Create free account
hub / github.com/SalesforceAIResearch/perfcodegen / batch_run

Function batch_run

src/inference.py:1135–1141  ·  view source on GitHub ↗
(model, ids)

Source from the content-addressed store, hash-verified

1133
1134
1135def batch_run(model, ids):
1136 model = RemoteModel(model)
1137 batch_ids = []
1138 for i in ids:
1139 response = model.batch_run(i)
1140 batch_ids.append(response.id)
1141 print(batch_ids)
1142
1143def batch_status(model, ids):
1144 model = RemoteModel(model)

Callers

nothing calls this directly

Calls 2

batch_runMethod · 0.95
RemoteModelClass · 0.90

Tested by

no test coverage detected