Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release byod] fix ml requirements file selection #39353

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

aslonnie
Copy link
Collaborator

@aslonnie aslonnie commented Sep 6, 2023

and also change ecr to registry, as it might be google's too.

@aslonnie aslonnie requested a review from a team as a code owner September 6, 2023 23:03
@aslonnie
Copy link
Collaborator Author

aslonnie commented Sep 6, 2023

one more place that I found about picking ml-or-not that is based on the old "cpu-or-not" logic.

@@ -251,15 +251,15 @@ def get_byod_image_tag(self) -> str:
}
return f"{self.get_byod_base_image_tag()}-{dict_hash(custom_info)}"

def _use_byod_ml_image(self) -> bool:
def use_byod_ml_image(self) -> bool:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe if using ml image should have it's own field? like technically speaking, we also have ray-ml:cpu image, just never used in release tests..

@aslonnie
Copy link
Collaborator Author

aslonnie commented Sep 7, 2023

this probably only affects @xwjiang2010 's new test.

Copy link
Collaborator

@can-anyscale can-anyscale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if test.get_byod_type() == "cpu"
else f"{REQUIREMENTS_ML_BYOD}_{test.get('python', PYTHON_VERSION)}.txt"
)
py_version = test.get("python", PYTHON_VERSION)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: test.get_python_version()

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.. why were you not using that in the past?

and also change ecr to registry, as it might be google's too.

Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
@can-anyscale can-anyscale merged commit 0e77916 into master Sep 7, 2023
13 of 15 checks passed
@can-anyscale can-anyscale deleted the lonnie-0906-mlrequire branch September 7, 2023 23:55
harborn pushed a commit to harborn/ray that referenced this pull request Sep 8, 2023
and also change ecr to registry, as it might be google's too.

Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
jimthompson5802 pushed a commit to jimthompson5802/ray that referenced this pull request Sep 12, 2023
and also change ecr to registry, as it might be google's too.

Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
Signed-off-by: Jim Thompson <jimthompson5802@gmail.com>
vymao pushed a commit to vymao/ray that referenced this pull request Oct 11, 2023
and also change ecr to registry, as it might be google's too.

Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
Signed-off-by: Victor <vctr.y.m@example.com>
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.

None yet

2 participants