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

Add patch to Tensorflow backend for GCC 14 compatibility #738

Merged
merged 3 commits into from
Oct 17, 2024

Conversation

ashao
Copy link
Collaborator

@ashao ashao commented Oct 8, 2024

In libtensorflow, the input argument to TF_SessionRun seems to be mistyped to TF_Output instead of TF_Input. These two types differ only in name. GCC-14 catches this and throws an error, even though earlier versions allow this. To solve this problem, patches are applied to the Tensorflow backend in RedisAI. Future versions of Tensorflow may fix this problem, but for now this seems to be the best workaround.

Copy link
Member

@MattToast MattToast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Builds for me with GCC 14! LGTM!!

@ashao ashao merged commit 9f40322 into CrayLabs:develop Oct 17, 2024
33 of 34 checks passed
Copy link

codecov bot commented Oct 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.86%. Comparing base (d7d979e) to head (d4360b1).
Report is 15 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #738      +/-   ##
===========================================
- Coverage    83.91%   81.86%   -2.05%     
===========================================
  Files           83       84       +1     
  Lines         6284     7075     +791     
===========================================
+ Hits          5273     5792     +519     
- Misses        1011     1283     +272     

see 48 files with indirect coverage changes

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.

2 participants