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

In Ascend NPU, stop workers together with its children processes #1284

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Oct 1, 2024

  1. Configuration menu
    Copy the full SHA
    e8086cd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    df662a4 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2024

  1. bugfix: the pcontext.pids return a dict with rank as key, and pid as …

    …value, not a pids set. so we need to call values() to get all the worker pids
    majieyue committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    7951837 View commit details
    Browse the repository at this point in the history
  2. encap _stop_workers in ascend npu to another function so unittest can…

    … run without alarm signal
    majieyue committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    9ca14b9 View commit details
    Browse the repository at this point in the history
  3. add stop workers testcase in ascend npu. use threading to asynchrousl…

    …y stop workers while the main thread is running in _invoke_run
    majieyue committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    c2e69a4 View commit details
    Browse the repository at this point in the history