Skip to content

Conversation

@abhinavg4
Copy link
Contributor

  • Added tenacity as a dependency in pyproject.toml.
  • Introduced a new constant RAY_CLUSTER_START_VERIFICATION_TIMEOUT in constants.py.
  • Implemented _verify_gcs_running function in utils.py to check if the Ray GCS is running at the expected address with retry logic.
  • Updated init_cluster to utilize the new verification function for ensuring successful Ray cluster startup.

Description

Usage

# Add snippet demonstrating usage

Checklist

  • I am familiar with the Contributing Guide.
  • New or Existing tests cover these changes.
  • The documentation is up to date with these changes.

- Added `tenacity` as a dependency in `pyproject.toml`.
- Introduced a new constant `RAY_CLUSTER_START_VERIFICATION_TIMEOUT` in `constants.py`.
- Implemented `_verify_gcs_running` function in `utils.py` to check if the Ray GCS is running at the expected address with retry logic.
- Updated `init_cluster` to utilize the new verification function for ensuring successful Ray cluster startup.

Signed-off-by: Abhinav Garg <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants