Repository navigation
Explain why the gated-deltanet fast kernels were disabled - #8073
Conversation
_maybe_advise_fla_install blamed CUDA / torch >= 2.7 / triton >= 3.3, all of which are satisfied on an H100 that hit the fla #640 Triton miscompile, so an affected user was sent looking in the wrong place (#5276). Prefer unsloth_zoo's fla_unavailable_reason() when it deliberately disabled the kernels, and keep the generic text as the fallback. The try/except keeps an unsloth pinned against an older unsloth_zoo working. Companion to unslothai/unsloth-zoo#1010.
|
@codex review |
|
Codex Review: Didn't find any major issues. Hooray! 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". |
|
CI note: the six red checks here are all pre-existing breakage on
The sixth, Chat UI Tests, is from the Windows Unsloth UI CI workflow, which on None of these touch Behaviour of the change itself was verified directly against the real function with stubbed probes, across all five branches (specific reason present /
One scope clarification worth stating: |
|
Update now that the companion PR has landed. Dependency satisfied. unsloth-zoo#1010 merged as Verified end to end against merged zoo Instead of the old generic text, which blames CUDA / torch / triton minimums that an affected H100 actually satisfies. The three backwards-compatible fallbacks all still print that generic text, byte-identical to each other and to today's behaviour: an older CI. Four of the six red checks went green on their own once That is pre-existing on Same assertion, same line. This PR touches only |
|
@codex review |
1 similar comment
|
@codex review |
|
Codex Review: Didn't find any major issues. You're on a roll. 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". |
Companion to unslothai/unsloth-zoo#1010, for the H100 report in #5276.
_maybe_advise_fla_installfires whenever a gated-deltanet model loads without the fast kernels, and tells the user they need "CUDA with torch >= 2.7 and triton >= 3.3". On the setup in #5276, an H100 with Triton in the fla #640 miscompile range, all three of those are satisfied, so the message points at the wrong thing and gives the user nothing to act on.The zoo PR adds
fla_unavailable_reason(), which is set only when Unsloth deliberately turned the kernels off and carries the specific cause plus the fix. This prefers it when present and keeps the existing text as the fallback. Thetry/exceptmeans anunslothpinned against an olderunsloth_zookeeps working unchanged.No behaviour change beyond the printed text; the function is still one-shot and still only fires when the fast path is genuinely unavailable.