Repository navigation
Conversation
A push needs the Hub, so pinning the whole export offline after a failed probe only guarantees the push fails with huggingface_hub's misleading "unset HF_HUB_OFFLINE" error and prevents recovery if connectivity returns mid-export. Local exports keep the per-export window. The regression test now intercepts httpx.HTTPTransport, below the request hook where huggingface_hub 1.x enforces offline mode; stubbing httpx.Client.send bypassed that hook and failed every case. It also covers the push path, asserts the exact probe count, and isolates worker-process globals.
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Another round soon, please! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Codex converged and CI finished on b28818c; results posted on unslothai#11466. |
Staging copy of unslothai#11466 for Codex review and CI. The base is the upstream PR's merge base, so the diff is exactly the PR. The head matches the upstream PR head (
b28818c448). Do not merge. This gets closed once Codex converges and CI finishes.Problem
After the export worker's load-time offline window closes, an export with no network can still reach the Hub: transformers' tokenizer
_patch_mistral_regexcallshuggingface_hub.model_info()unless offline mode is on, crashing the export (unslothai#6817), and Hub metadata calls can hang.Change
_offline_window_if_unreachable, which checks Hub reachability for that export and restores the previous offline state afterwards.Validation