CrayLabs / SmartSim

SmartSim Infrastructure Library.
BSD 2-Clause "Simplified" License
219 stars 36 forks source link

Enable environment variable based configuration for ML Worker Manager #621

Open AlyssaCote opened 6 days ago

AlyssaCote commented 6 days ago

This PR adds a EnvironmentConfigLoader, which loads and deserializes an SSFeatureStore and an SSQueue from environment variables for the ML Worker Manager.

codecov[bot] commented 4 days ago

Codecov Report

Attention: Patch coverage is 0% with 21 lines in your changes missing coverage. Please review.

Please upload report for BASE (mli-feature@38081da). Learn more about missing BASE report.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/CrayLabs/SmartSim/pull/621/graphs/tree.svg?width=650&height=150&src=pr&token=96HFI2F45E&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CrayLabs)](https://app.codecov.io/gh/CrayLabs/SmartSim/pull/621?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CrayLabs) ```diff @@ Coverage Diff @@ ## mli-feature #621 +/- ## ============================================== Coverage ? 64.19% ============================================== Files ? 90 Lines ? 6379 Branches ? 0 ============================================== Hits ? 4095 Misses ? 2284 Partials ? 0 ``` | [Files](https://app.codecov.io/gh/CrayLabs/SmartSim/pull/621?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CrayLabs) | Coverage Δ | | |---|---|---| | [...e/mli/infrastructure/storage/dragonfeaturestore.py](https://app.codecov.io/gh/CrayLabs/SmartSim/pull/621?src=pr&el=tree&filepath=smartsim%2F_core%2Fmli%2Finfrastructure%2Fstorage%2Fdragonfeaturestore.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CrayLabs#diff-c21hcnRzaW0vX2NvcmUvbWxpL2luZnJhc3RydWN0dXJlL3N0b3JhZ2UvZHJhZ29uZmVhdHVyZXN0b3JlLnB5) | `0.00% <0.00%> (ø)` | | | [...tsim/\_core/mli/infrastructure/environmentloader.py](https://app.codecov.io/gh/CrayLabs/SmartSim/pull/621?src=pr&el=tree&filepath=smartsim%2F_core%2Fmli%2Finfrastructure%2Fenvironmentloader.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CrayLabs#diff-c21hcnRzaW0vX2NvcmUvbWxpL2luZnJhc3RydWN0dXJlL2Vudmlyb25tZW50bG9hZGVyLnB5) | `0.00% <0.00%> (ø)` | |