Skip to content

Warnings and Workflows on feature branch (Quantization) - #38

Merged
Ra4ster merged 2 commits into
Quantizationfrom
WarningsAndWorkflows
Oct 30, 2026
Merged

Ra4ster merged 2 commits into
Quantizationfrom
WarningsAndWorkflows

Conversation

@Ra4ster

@Ra4ster Ra4ster commented Oct 30, 2026

Copy link
Copy Markdown
Collaborator

Small update that will silence 3rd-party oneDNN errors and also an unnecessary workflow failure.

…our "remove those warnings" request).

2. .github/workflows/auto-assign.yml — the CI fix for the broken pozil/auto-assign-issue trigger.
@Ra4ster Ra4ster self-assigned this Oct 30, 2026
@Ra4ster
Ra4ster added this pull request to stack #39 October 30, 2026 17:54
@Ra4ster Ra4ster added bug Something isn't working help wanted Extra attention is needed labels Oct 30, 2026
…pre-existing and non-fatal): src/backend/CPUBackendT.cpp:87,109 had two raw static_cast<T>(dist(rng)) casts left over from the earlier hwy::float16_t portability pass — they compile fine on GCC/Linux (where float16_t apparently resolves to a native hardware type with an implicit float conversion) but fail outright on Clang/Windows (no matching conversion ... to 'hwy::float16_t', since there Highway falls back to its portable wrapper struct, which has no single-argument float constructor). Fixed both to use the established hwy::ConvertScalarTo<T> pattern already used everywhere else in this file.

2. Restrict optimization: added to ComputeError/ComputeErrorAndEnergy only — the one hand-rolled elementwise loop that runs unconditionally (no BLAS shortcut) for every call site, all verified to use three genuinely distinct buffers. Everything else either already has it (activation derivatives, via the existing ActivationDispatch.h function-pointer table), wouldn't benefit (BLAS-dispatched ops), or would be actively unsafe (MultiplyInto, which real code calls with aliased pointers in 4 different layers).
@Ra4ster
Ra4ster merged commit 51e8596 into main Oct 30, 2026
9 checks passed
@Ra4ster
Ra4ster deleted the WarningsAndWorkflows branch October 30, 2026 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working help wanted Extra attention is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant