chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:18:33 +08:00
commit 4ececc111a
2017 changed files with 331736 additions and 0 deletions
@@ -0,0 +1,15 @@
Inference API
=============
:func:`deepspeed.init_inference` returns an *inference engine*
of type :class:`InferenceEngine`.
.. code-block:: python
for step, batch in enumerate(data_loader):
#forward() method
loss = engine(batch)
Forward Propagation
-------------------
.. autofunction:: deepspeed.InferenceEngine.forward