Skip to content

Commit

Permalink
[ci] Reduce train tests+examples parallelism (ray-project#38820)
Browse files Browse the repository at this point in the history
* [ci] Reduce train tests+examples parallelism

Signed-off-by: Kai Fricke <kai@anyscale.com>
Signed-off-by: Victor <vctr.y.m@example.com>
  • Loading branch information
krfricke authored and Victor committed Oct 11, 2023
1 parent 5646ebf commit 72d6a6c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .buildkite/pipeline.ml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
- label: ":steam_locomotive: Train tests and examples"
conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_TRAIN_AFFECTED"]
instance_size: large
parallelism: 4
parallelism: 3
commands:
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
# Todo (krfricke): Move mosaicml to train-test-requirements.txt
Expand Down Expand Up @@ -343,7 +343,7 @@
- label: ":steam_locomotive: :floppy_disk: New persistence mode: Train tests and examples"
conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_TRAIN_AFFECTED"]
instance_size: large
parallelism: 4
parallelism: 3
commands:
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
# Todo (krfricke): Move mosaicml to train-test-requirements.txt
Expand Down
4 changes: 2 additions & 2 deletions python/ray/train/_checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
class Checkpoint:
"""A reference to data persisted as a directory in local or remote storage.
Access checkpoint contents locally using `checkpoint.to_directory()`.
Access checkpoint contents locally using ``checkpoint.to_directory()``.
Example creating a checkpoint using `Checkpoint.from_directory`:
Example creating a checkpoint using ``Checkpoint.from_directory``:
>>> from ray.train._checkpoint import Checkpoint
>>> checkpoint = Checkpoint.from_directory("/tmp/example_checkpoint_dir")
Expand Down

0 comments on commit 72d6a6c

Please sign in to comment.