Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/modelscope/ms-swift
/ batch_run
Method
batch_run
swift/infer_engine/infer_engine.py:111–112 ·
view source on GitHub ↗
(tasks)
Source
from the content-addressed store, hash-verified
109
110
@staticmethod
111
async
def
batch_run(tasks):
112
return
await asyncio.gather(*tasks)
113
114
def
_batch_infer_stream(
115
self,
Callers
2
_batch_infer_stream
Method · 0.95
_batch_infer_stream
Method · 0.80
Calls
1
gather
Method · 0.80
Tested by
no test coverage detected