Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dependency on fp16 #7220

Closed
wants to merge 1 commit into from
Closed

Remove dependency on fp16 #7220

wants to merge 1 commit into from

Conversation

copybara-service[bot]
Copy link
Contributor

@copybara-service copybara-service bot commented Oct 4, 2024

Remove dependency on fp16

This dependency is causing issues on some platforms. We have a workaround: https://github.com/Maratyszcza/fp16 that some users have implemented (e.g. https://github.com/microsoft/onnxruntime/pull/22294/files), but it doesn't make sense to hack this workaround into everything that depends on XNNPACK.

This PR pulls the small part of the fp16 library we actually need in XNNPACK, and removes the dependency.

Fixes #6989

FUTURE_COPYBARA_INTEGRATE_REVIEW=#7128 from imaginationtech:img_patch30_f32_f16_vcvt 2f40edd

@copybara-service copybara-service bot force-pushed the test_682156616 branch 2 times, most recently from d79f803 to 934b87f Compare October 4, 2024 05:07
This dependency is causing issues on some platforms. We have a workaround: https://github.com/Maratyszcza/fp16 that some users have implemented (e.g. https://github.com/microsoft/onnxruntime/pull/22294/files), but it doesn't make sense to hack this workaround into everything that depends on XNNPACK.

This PR pulls the small part of the fp16 library we actually need in XNNPACK, and removes the dependency.

Fixes #6989

FUTURE_COPYBARA_INTEGRATE_REVIEW=#7128 from imaginationtech:img_patch30_f32_f16_vcvt 2f40edd
PiperOrigin-RevId: 682156616
@copybara-service copybara-service bot closed this Oct 4, 2024
@copybara-service copybara-service bot deleted the test_682156616 branch October 4, 2024 15:13
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.

FP16 causes cross-compilation errors for x86-64 targets on macOS.
1 participant