Skip to content

XNNPACK test_fp16_gelu is producing a bug #16672

@mergennachin

Description

@mergennachin

🐛 Describe the bug

 buck test @fbcode//mode/dev fbcode//executorch/backends/xnnpack/test:test_xnnpack_ops -- --exact 'fbcode//executorch/backends/xnnpack/test:test_xnnpack_ops - test_fp16_gelu (executorch.backends.xnnpack.test.ops.test_gelu.TestGelu)' --run-disabled

The XNNPACK execution is producing all zeros for fp16 GELU while the reference produces correct values. Looking at the output:

  • Model (XNNPACK): median=0, mean=0, max=0, min=0 (all zeros)
  • Reference: median=-0.071, mean=0.275, max=1.466, min=-0.169 (correct values)

Versions

main branch

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions