-
Notifications
You must be signed in to change notification settings - Fork 300
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce
pod_spec_from_resources()
ray helper function (#2943)
* expose requests & limits instead of k8spod Signed-off-by: Jan Fiedler <[email protected]> * put construct_k8s_pod_spec_from_resources into core/resources.py Signed-off-by: Jan Fiedler <[email protected]> * adjust ray tests Signed-off-by: Jan Fiedler <[email protected]> * ruff check fix Signed-off-by: Jan Fiedler <[email protected]> * ruff format Signed-off-by: Jan Fiedler <[email protected]> * remove demo files from PR Signed-off-by: Jan Fiedler <[email protected]> * remove kubernetes from ray plugin dependencies Signed-off-by: Jan Fiedler <[email protected]> * Update structured_dataset.py Signed-off-by: Jan Fiedler <[email protected]> * add tests for construct_k8s_pod_spec_from_resources Signed-off-by: Jan Fiedler <[email protected]> * add kubernetes to pyproject.toml Signed-off-by: Jan Fiedler <[email protected]> * add underscore prefix to _construct_k8s_pods_resources Signed-off-by: Jan Fiedler <[email protected]> * remove parantheses from_flyte_idl Signed-off-by: Jan Fiedler <[email protected]> * expose k8s_gpu_resource_key Signed-off-by: Jan Fiedler <[email protected]> * remove parantheses Signed-off-by: Jan Fiedler <[email protected]> * rename & expose nvidia gpu key Signed-off-by: Jan Fiedler <[email protected]> * adjust resource tests Signed-off-by: Jan Fiedler <[email protected]> * back to exposing k8s pod Signed-off-by: Jan Fiedler <[email protected]> * adjusts tests Signed-off-by: Jan Fiedler <[email protected]> * ruff Signed-off-by: Jan Fiedler <[email protected]> * ruff Signed-off-by: Jan Fiedler <[email protected]> * fix ray tests Signed-off-by: Jan Fiedler <[email protected]> * adjust ray README Signed-off-by: Jan Fiedler <[email protected]> * end of file readme Signed-off-by: Jan Fiedler <[email protected]> * default Resources to None Signed-off-by: Jan Fiedler <[email protected]> * remove optional from k8s_gpu_resource_key Signed-off-by: Jan Fiedler <[email protected]> --------- Signed-off-by: Jan Fiedler <[email protected]>
- Loading branch information
1 parent
f99d50e
commit 2da64ef
Showing
6 changed files
with
141 additions
and
14 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
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