Skip to content

create celery worker with inference worker profile#327

Merged
saiatmakuri merged 3 commits intomainfrom
saiatmakuri/fix-celery-app-deployment-profile
Oct 17, 2023
Merged

create celery worker with inference worker profile#327
saiatmakuri merged 3 commits intomainfrom
saiatmakuri/fix-celery-app-deployment-profile

Conversation

@saiatmakuri
Copy link
Copy Markdown
Contributor

@saiatmakuri saiatmakuri commented Oct 16, 2023

Pull Request Summary

The endpoint-builder and celery forwarder both use this celery app sessions instantiations. However, they expect different profiles to be used. Force the celery worker to use the dynamic value in AWS_PROFILE instead of the static profile_ml_worker.

Testing Plan

Create a new deployment in our clusters and launched a batch job. The pods were built correctly and the job succeeded.

@saiatmakuri saiatmakuri added the bug Something isn't working label Oct 16, 2023
@saiatmakuri saiatmakuri self-assigned this Oct 16, 2023
@yunfeng-scale
Copy link
Copy Markdown
Contributor

can you briefly describe what this fixes?

Copy link
Copy Markdown
Contributor

@seanshi-scale seanshi-scale left a comment

Choose a reason for hiding this comment

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

lgtm as long as we've tested endpoint builder/inference workers, which I think creating a batch job will end up hitting both

@saiatmakuri saiatmakuri merged commit 8282434 into main Oct 17, 2023
@saiatmakuri saiatmakuri deleted the saiatmakuri/fix-celery-app-deployment-profile branch October 17, 2023 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants