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

ENH: Add guard for model launching #1680

Merged
merged 1 commit into from
Jul 4, 2024

Commits on Jul 3, 2024

  1. worker: Add guard for model launching

    Because model launching is a long process (download model, loading into GPU).
    client might encounter network error in the middle while worker is processing,
    add a guard the prevent duplicate operation with the same model_uid.
    
    Provide an rpc call get_model_launch_status() to return LuanchStatus,
    to determine whether worker is still working on this model_uid.
    frostyplanet committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    8f845a4 View commit details
    Browse the repository at this point in the history