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

fix: concurrency issue between catalog and inference manager #1216

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

axel7083
Copy link
Contributor

@axel7083 axel7083 commented Jun 13, 2024

What does this PR do?

To fix the concurrency issue, (Inference Manager getting the containers list before the catalog has loaded the models from the files), I changed the InferenceManager to refresh the inferenceServers when the catalog is updated. Making the InferenceServer event base for its initialization.

Screenshot / video of UI

What issues does this PR fix or reference?

Fixes #1215

How to test this PR?

  • unit tests has been added to ensure expected behaviour

@axel7083 axel7083 marked this pull request as ready for review June 13, 2024 15:40
@axel7083 axel7083 requested review from benoitf and a team as code owners June 13, 2024 15:40
@axel7083 axel7083 requested a review from lstocchi June 13, 2024 15:40
Copy link
Contributor

@jeffmaury jeffmaury left a comment

Choose a reason for hiding this comment

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

LGTM

@axel7083 axel7083 merged commit 01024ac into containers:main Jun 14, 2024
4 checks passed
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.

racing issue between Catalog and Inference Manager
2 participants