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

Fix Tensorflow package check #28

Closed

Conversation

jayfurmanek
Copy link

What does this PR do?

This fixes the _is_package_available function. As it is it will fail for all TF variants since even if they are installed since it will fail to get the metadata under the same name. Further down in this utils file there is code to check which variant (intel, rocm, etc) and get the metadata with the proper name, but it will never get that far because this updated version of _is_package_available` will always be False.

@amathews-amd
Copy link
Collaborator

should this also be an upstream fix ?

@jayfurmanek
Copy link
Author

should this also be an upstream fix ?

Yes. I'll open an PR.

@jayfurmanek
Copy link
Author

huggingface#26842

@jayfurmanek
Copy link
Author

looks like this is not needed along with the IFU. closing

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