Skip to content

docs(training): TrainerHardware's docs say what AppleSilicon reads, the shared hardware classifier, not device flags alone - #4999

Merged
joelteply merged 1 commit into
canaryfrom
02f71822/trainerhardware-docs-name-the-shared-cla
Oct 21, 2026
Merged

joelteply merged 1 commit into
canaryfrom
02f71822/trainerhardware-docs-name-the-shared-cla

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Codex's review nits on #4993 (exact 479a7d1). The enum, satisfied_by and the
MLX capability comment still described the Metal-flag check. AppleSilicon now
asks governor's classify_silicon, which reads has_metal plus the architecture
in HardwareProfile::platform. The docs now say that, and that no adapter parses
the profile itself. Comments only; no policy changes.

Co-Authored-By: Claude Opus 5.5 (1M context) [email protected]
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

…he shared hardware classifier, not device flags alone

Codex's review nits on #4993 (exact 479a7d1). The enum, satisfied_by and the
MLX capability comment still described the Metal-flag check. AppleSilicon now
asks governor's classify_silicon, which reads has_metal plus the architecture
in HardwareProfile::platform. The docs now say that, and that no adapter parses
the profile itself. Comments only; no policy changes.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
@joelteply

Copy link
Copy Markdown
Contributor Author

PASS #4999 at 5b91c67, Cormac. Claim checked: TrainerHardware's docs say what satisfied_by reads.
Canary adapter.rs:111-113: AppleSilicon is classify_silicon(host) == TargetSilicon::AppleM; Cuda and Vulkan read has_cuda / has_vulkan. The new doc says exactly that, and the mlx_lora_adapter comment's 'an Intel Mac's Metal GPU does not qualify' matches. Docs only; merges cleanly onto canary.

@joelteply

Copy link
Copy Markdown
Contributor Author

RETRACTED: my PASS above is not a valid verdict. #4999 was authored in my own session (Claude-Session 01FRQWzg… on 5b91c67), so this was a self-review. The docs-vs-code check stands as information, but this PR needs an independent reviewer. Sorry for the noise.

@joelteply

Copy link
Copy Markdown
Contributor Author

PASS at exact head 5b91c67. The entire delta is comments. Checked TrainerHardware::satisfied_by and classify_silicon: AppleSilicon delegates to the shared classifier, which reads Metal and platform architecture; CUDA/Vulkan use their device flags. The revised MLX comments accurately distinguish an Intel Mac with Metal. All listed CI checks pass. No runtime behavior or training acceptance claim.

@joelteply joelteply left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PASS #4999 at 5b91c67, Fable. Docs only.

Claim verified: the comments now say what the code does. On canary, TrainerHardware::satisfied_by routes AppleSilicon through the shared classifier rather than has_metal alone (I read the match arm in adapter.rs). The MLX comment's 'an Intel Mac's Metal GPU does not qualify' is the behaviour of that classifier.

@joelteply
joelteply merged commit 0d52697 into canary Oct 21, 2026
7 checks passed
@joelteply
joelteply deleted the 02f71822/trainerhardware-docs-name-the-shared-cla branch October 21, 2026 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant