Repository navigation
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a0af8406ad
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
e20ab7c to
8eb835c
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 89dabf0b8d
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
Ran a focused async-load check here: https://github.com/Imagineer99/unsloth/actions/runs/29036817489 A few edge cases still reproduce: |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 93186ec9b8
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
Thanks for the focused async-load check. I agreed with the three gaps and reworked the async path around a single current pending load. The updated route records the pending model and a generation before scheduling the background task, so Background success and failure now check the captured generation before writing shared error state, and the task cleanup only clears the accepted slot for the matching active task. In practice the 409 guard prevents A-running/B-accepted overlap, and the generation check keeps state writes tied to the accepted load that owns the slot. I also merged the route-level pending model into both GGUF and non-GGUF The new focused coverage hits duplicate accepted-load rejection, immediate pending visibility before backend loading state exists, the previous-GGUF-loaded plus new-pending status case, and the existing sync-path contract. |
d52b811 to
8bad79a
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e4bc42a98d
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f9a5d003bc
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d0a7d1207d
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
Ran the focused async-load check again on latest head: https://github.com/Imagineer99/unsloth/actions/runs/29095092203 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 26b1762c6d
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b096aa7822
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
bd67b9f to
4539a80
Compare
|
Confirmed main has no async load path and that this keeps POST /api/inference/load unchanged unless async_load=True, with the pending model surfaced in /status and guarded against deletion. Could you rebase, since the branch conflicts with main right now, and then I will get this reviewed. |
7d07de5 to
5cd1fbe
Compare
|
Thanks for confirming. I rebuilt the async path on current main. |
|
Confirmed main has no async load path and that this keeps POST /api/inference/load unchanged unless async_load=True, with the pending model surfaced in /status and blocked from deletion while in flight; thanks for the rebase. |
Signal pending async admissions before ordinary unload waits on the lifecycle gate, classify cancellation as cancellation, and clear stale async errors after successful synchronous loads.
Reuse verified native path grants, keep synchronous request ownership during tunnel padding, classify backend cancellation correctly, and cancel pending async operations before ordinary unload queues on the lifecycle gate.
6253828 to
54dfaad
Compare
|
Re-checked the rebased branch and the synchronous |
|
Thank you for the PR and for the careful iteration on the pending-load lifecycle! Closing this as superseded. The underlying issue (#5206) has been fixed on main by a different approach: That fix applies to every existing client, including the official web UI that the reporter was using behind Cloudflare, without needing a new opt-in field. Since If there is a client that still needs a fire-and-forget load on top of the padded response, feel free to open an issue describing it and we can revisit. |
Problem
Large model loads can exceed proxy response-header timeouts before
POST /api/inference/loadsends a response.Fix
async_loadrequest field that returns an accepted response before slow loading work starts./status, preserve redacted public labels, and prevent matching local model deletion until the operation settles.async_loadremains opt-in, so existing clients continue using the synchronous contract.Testing
Focused async-load tests: 13 passed. Tunnel-safe load and unload-cancel regressions: 86 passed. Python compilation and diff checks passed.