Skip to content

Fix CPU Conv1D dilation and INT8 scale overflow - #2117

Merged
jordimas merged 2 commits into
OpenNMT:masterfrom
jordimas:fix/cpu-conv1d-dilation-and-int8-scale
Oct 19, 2026
Merged

jordimas merged 2 commits into
OpenNMT:masterfrom
jordimas:fix/cpu-conv1d-dilation-and-int8-scale

Conversation

@jordimas

Copy link
Copy Markdown
Collaborator
  • Align CPU Conv1D implementations: correct oneDNN dilation and add matching GEMM support. Test dilation, padding, stride, and bias against explicit expected outputs.
  • Bound INT8 scales for tiny nonzero weight rows: float32 division can overflow before rounding, causing invalid arithmetic. Add a regression test checking finite results.

@jordimas
jordimas merged commit 0495cfa into OpenNMT:master Oct 19, 2026
26 checks passed
@jordimas
jordimas deleted the fix/cpu-conv1d-dilation-and-int8-scale branch October 21, 2026 12:32
TBO22 added a commit to TBO22/CTranslate2 that referenced this pull request Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant