-
Notifications
You must be signed in to change notification settings - Fork 0
[staging CI] unslothai/unsloth#8170 #221
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
Closed
Closed
Changes from all commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
cb125b6
Studio: stop leaking child processes on an abnormal exit
danielhanchen f7505ee
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] c6634d5
Review fixes: console handler must not touch signals, one child recor…
danielhanchen 67c9c55
Harden the child record against a malformed or older file
danielhanchen 5185a54
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 77892cf
Close the gaps the first pass left
danielhanchen 87bf971
Give the Popen doubles the pid a real one always has
danielhanchen cea11bc
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] aec27b0
Fail closed where the answer is not certain
danielhanchen 242d177
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 6755e69
Never signal a pid the graceful sweep cannot verify
danielhanchen 7ca29af
Only claim the guarantee when it is actually there
danielhanchen 15cfdaf
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] d619d53
Record every lifetime-bound child, and reach a Windows tree without i…
danielhanchen 3fafa26
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 14d7302
Give the diffusion runner its own group, and gate every restart path
danielhanchen 52a126e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 63d572b
Reap a group whose leader is gone, and drop comm from pid identity
danielhanchen 593c1dc
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] ac8d9fc
Keep a group's record until the group is gone
danielhanchen 3fff438
Put a retained child's group back with it
danielhanchen f460726
Believe only confirmed kills in the sweep
danielhanchen 1e0c2f9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] aff1817
Keep records the sweep could not resolve
danielhanchen e4403ef
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 2af30a7
Record tool subprocesses, and do not mistake zombies for a live group
danielhanchen 81a9984
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] c9a187f
Record the component installer, and never wait on a zombie
danielhanchen ffc6f61
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 945918c
Reset the record lock after a fork, and ask the job whether it is armed
danielhanchen ed0ab3b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 2d0d7a8
Retry a child's identity, and treat an unanswerable query as disarmed
danielhanchen f81d000
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] b71d75b
Start the component installer in its own session, and pin the owner i…
danielhanchen 5caa1cb
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 62883bd
Keep the installer in the group the desktop kills, and heal a missing…
danielhanchen 5b042f9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 7f0f5b8
Install the fork reset where the first record is written
danielhanchen 3511b79
Take the diffusion group down on stop, and do not wait on a zombie
danielhanchen 7dd2707
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 69a61a2
Studio: keep the re-arm failure message off the Studio branding
danielhanchen 6497d0e
Studio: do not spend the shutdown budget waiting on a child that has …
danielhanchen b871587
Studio: answer the group check from the leader instead of scanning ev…
danielhanchen d1e1dee
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 58837ed
Studio: reach the installer's validation server, and never start a ba…
danielhanchen 1a4ae9f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 70a2e0c
Studio: clear the cleanup guard with the re-arm, and survive a malfor…
danielhanchen a7ad5e1
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 2e8c024
Studio: keep the record when taskkill leaves the tree standing
danielhanchen b4e35d7
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] ddc1ec5
Studio: wait for the group, not the leader, before dropping a record
danielhanchen 218a5ec
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 4adc9b7
Merge remote-tracking branch 'origin/main' into r8170
danielhanchen 16898c0
Merge remote-tracking branch 'origin/studio/no-orphaned-child-process…
danielhanchen 8ab1cb1
Studio: make the diffusion group assertion formatting-agnostic
danielhanchen 1389563
Studio: stop announced validation servers on any installer exit
danielhanchen 52991b2
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 75022a6
Studio: reach a validation server whose leader or tree kill is gone
danielhanchen d5dda86
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] f3d1d80
Keep the diffusion runner in the group the desktop stops, and check i…
danielhanchen aefd7e8
Keep a macOS validation server in the installer's process group
danielhanchen 7a2f09a
Merge commit 'aefd7e8a6853d8ea99347d073a8381392d0e3db8' into pr-8170-ci
danielhanchen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On macOS, when the backend does not complete its graceful shutdown, the Unix desktop stop path in
process.rs::stop_spawned_backendterminates the backend's process group, but this new session moves the diffusion shim and its visual-server child outside that group. macOS supplies noPDEATHSIG, so the breadcrumb is not acted on until another backend startup; a stop or update can therefore report the backend gone while the detached server continues holding GPU resources. Either explicitly terminate this recorded subgroup from the desktop/backend shutdown path or avoid detaching it from the backend group.Useful? React with 👍 / 👎.