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

A second instance of a model can be loaded concurrently #402

Open
tazlin opened this issue Jan 17, 2025 · 0 comments
Open

A second instance of a model can be loaded concurrently #402

tazlin opened this issue Jan 17, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@tazlin
Copy link
Member

tazlin commented Jan 17, 2025

The current set of rules and assumptions in the code are intended to forbid this. Only exactly 1 process should have exactly 1 instance of a model loaded at any given time. However, user reports have revealed that its possible for a model to already be loaded and then be preloaded onto a second process. This can be associated with an immediate unload from the original process or, at least in one case, the second instance doing nothing for at least one job length.

  • There may be a race condition with the process map leading to this
  • There may be a hole in the preloading check logic
@tazlin tazlin added the bug Something isn't working label Jan 17, 2025
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

No branches or pull requests

1 participant