Skip to content

Updated CREF to handle bias=null for FC,Conv 8x16 CREF code#3492

Open
unmeshna017 wants to merge 5 commits intotensorflow:mainfrom
unmeshna017:master_fc_conv_1
Open

Updated CREF to handle bias=null for FC,Conv 8x16 CREF code#3492
unmeshna017 wants to merge 5 commits intotensorflow:mainfrom
unmeshna017:master_fc_conv_1

Conversation

@unmeshna017
Copy link
Copy Markdown
Contributor

@unmeshna017 unmeshna017 commented Mar 5, 2026

This change enhances the CREF kernels for Fully Connected and Convolutional layers to use higher precision accumulation when no bias term is present. Previously, the implementation would default to int32 accumulation when bias=NULL or INT32. This change is applicable only for the Int16x8 kernel type.

Adding @vp-cad and @joshih-cad as watchers.

BUG=3498

- Streamlined the usage of GetTensorData() and GetOptionaltensorData()
- Added bias != nullptr condiition check wherever necessary.
@rameshkunasi
Copy link
Copy Markdown
Contributor

rameshkunasi commented Mar 5, 2026

Hi @unmeshna017,

Thanks for creating this PR! Can you please create a issue and add it in this PR description as BUG number? And also please to add the detailed description in the issue or the PR.

@rameshkunasi rameshkunasi added the ci:full Triggers the comprehensive cross-platform test suite. label Mar 19, 2026
@rameshkunasi
Copy link
Copy Markdown
Contributor

@unmeshna017 these changes are failing some test cases. Can you please resolve and update the PR!

Comment out type equality check for input and output tensors.
@unmeshna017 unmeshna017 deployed to integration-test March 24, 2026 06:19 — with GitHub Actions Active
@rameshkunasi
Copy link
Copy Markdown
Contributor

Looks good to me! @veblush can you please review this PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:full Triggers the comprehensive cross-platform test suite.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants