Note that explicit resource allocation is experimental, fix typos (#25038)

This commit is contained in:
Clark Zinzow 2022-05-20 11:36:08 -07:00 committed by GitHub
parent b52f225a4e
commit 2c8fac369a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -132,10 +132,14 @@ group by default. This can be thought of as Datasets requesting resources from t
margins of the cluster, outside of those ML library placement groups. margins of the cluster, outside of those ML library placement groups.
Although this is the default behavior, you can force all Datasets workloads to be Although this is the default behavior, you can force all Datasets workloads to be
schedule without a placement group by specifying a placement group as the global scheduled within a placement group by specifying a placement group as the global
scheduling strategy for all Datasets tasks/actors, using the global scheduling strategy for all Datasets tasks/actors, using the global
:class:`DatasetContext <ray.data.DatasetContext>`: :class:`DatasetContext <ray.data.DatasetContext>`.
.. note::
This is an experimental feature subject to change as we work to improve our
resource allocation model for Datasets.
.. literalinclude:: ./doc_code/key_concepts.py .. literalinclude:: ./doc_code/key_concepts.py
:language: python :language: python