-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adds notebook to run head_node. * Add Ray notebook which can start cluster head node. * Workarounds for Ray/Jupyter resource problems. * Working setup for XC. * Insert CPU control for SLURM Ray. * Adds Ray cluster setup. * Refactor RayWorker and RayHead. * Adds batch capabilities to Ray Slurm launcher. * Add preamble to batch_settings * Fixes some issues on CCM for Ray * Redirect cmd server output for Ray. * Avoid Ray workers overlapping with head. * Change Slurm configuration for Ray. * Remove command server and use Ray client. * Add ray cluster for PBS batch. * Adds PBS functionalities for Ray cluster. * Adds Ray starter script. * Add new starter for Ray * Fix batch args bug for RayCluster * Add preamble mechanism to BatchSettings. * Remove old ray starter script. * Fixes tests for new interface. * Fix entity utils test. * Delete issues.md * Add local launcher and test for Ray. * Delete 05_starting_ray.ipynb Removes unused tutorial. * Delete manual-start.sh Remove unused script. * Delete start-head.sh Remove unused script. * Delete start-worker.sh Remove unused script. * Update requirements. * Remove check for slurm launcher and rely on exception. * Address reviewer's comments. Add ray_args. * Modify Ray tutorial. * Merge branch. * Adds Ray to manifest. * Fix to raystarter.py * Add manifest.ray_clusters to exp.stop() * Removes egg files. * Fixes wrong option for Ray and aprun * Address review, add flexibility to ray cluster * Add API functions to RayCluster * Fix for internal ray args * Add dashboard port to raystarter args. * Apply styling. * Add tests for ray on slurm * Fix slurm in alloc ray test * ADD new information to README and OA tutorial The readme has been updated with new examples and usage patterns. A new Online Analysis examples has been created with a Lattice Boltzman simulation that will show users how to perform streaming analysis with Smartsim. more to come. * Link Online Analysis example into docs Formatting in the README, added the OA example to the docs and converted to RST * Add visualization to README * Add PBS tests and pass ray_exe to raystarter * Remove expand_exe option * Remove duplicate function * Remove unused ray template * Add egg-info to gitignore * Remove expand_exe from RayCluster * Fix exe_path * Adds ray API to docs * Move set_cpus out of launch tests. * Fix characters in options for PBSOrchestrator * Fix non utf8 chars in options * Fix Cobalt options * Fix options in AprunSettings. * Allow multiple trials for Ray tests * Fix ray launch summary * Address local launcher for Ray The local launcher for Ray was broken on Mac because of how Ray does IP lookups for local addresses. The local launcher functionality has been taken out and the slurm and PBS are the only supported launchers now. Minor cleanup on RayCluster classes as well. Changed inheiriance structure from model to SmartSimEntity * Make RayCluster closer to SmartSim paradigm * Modifies starter to bind dashboard to all interfaces * Revert port for dashboard, update github wf * Add password option to RayCluster * Remove output from Notebook * Remove log level env from ray notebook * Adapt ray tests. * Bump up ray version * Remove unused launch branch, fix ray summary * Remove unused launcher branch * Apply styling * Remove notebook output * Remove block_in_batch feature * Fix ALPS regression introduced in this branch * Fix settings * Fix docstring * Add ignore flag for ray batch tests. * Change ray_started args * Update docstrings * Update TODO list in raycluster.py * Add disclaimer to notebook, license to raycluster * Make RayCluster error more useful * Add ray.shutdown to tests. * Add interface to Ray PBS tests. Apply styling * Remove useless _vars from RayCluster * Remove unused attributes from RayCluster * Remove ray_head variable * Fix new variables for RayCluster * Make RayCluster functions static * Modify notebook * Update Ray path to exp * Update docs, removed unused function * Extend wait time for Ray head log * Remove node retrieval for Ray * Update notebook and summary for RayCluster * Fixes to Ray docs * Add interface to Ray tests * Apply styling * Address reviewer's comments * Apply styling * Add SSH tunneling instructions to Ray notebook * Change workers parameter to num_nodes for clarity * Update Ray tests * Add review's suggestions and dashboard host fix * Update Ray tutorial * Restrict dashboard option to head only * Correct typo in Ray notebook * Add some info to notebook. * Fix typo in notebook Co-authored-by: Sam Partee <spartee@hpe.com>
- Loading branch information
1 parent
266efb8
commit ebd72b0
Showing
37 changed files
with
1,584 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ __pycache__ | |
.pytest_cache/ | ||
.coverage* | ||
htmlcov | ||
smartsim.egg-info | ||
|
||
# Dependencies | ||
third-party | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,6 +66,8 @@ doc= | |
sphinx-fortran==1.1.1 | ||
nbsphinx>=0.8.2 | ||
|
||
ray= | ||
ray>=1.6 | ||
|
||
[options.packages.find] | ||
exclude = | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from .raycluster import RayCluster, parse_ray_head_node_address |
Oops, something went wrong.