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

tensorflow needed with AVX AVX2 & FMA #897

Closed
laxmij-cmd opened this issue Oct 31, 2023 · 3 comments
Closed

tensorflow needed with AVX AVX2 & FMA #897

laxmij-cmd opened this issue Oct 31, 2023 · 3 comments

Comments

@laxmij-cmd
Copy link

What happened?

I am trying to use gpt-2 with tensorflow=1.12.0
Error is

Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 AVX512F FMA

I couldn't find instructions on how to build 1.12.0 with AVX, AVX2, and FMA enabled.

Please help.

Best Regards
Laxmi

Relevant code

not needed

Relevant log output

not needed

tensorflow_hub Version

0.12.0 (latest stable release)

TensorFlow Version

1.x

Other libraries

No response

Python Version

3.x

OS

Linux

@singhniraj08 singhniraj08 self-assigned this Nov 1, 2023
@singhniraj08
Copy link

@laxmij-cmd,

This isn't an error, just warnings saying if you build TensorFlow from source it can be faster on your machine. Please refer below threads for installing Tensorflow from source. Also, this issue looks similar to #tensorflow/8037 and is not related to Hub. Requesting you to open a new issue in tensorflow repo if you need further support. Thank you!

Ref: SO Thread, TensorFlow guide to build from source

@singhniraj08
Copy link

Closing this due to inactivity. Please take a look into the answers provided above, feel free to reopen and post your comments(if you still have queries on this). Thank you!

Copy link

Are you satisfied with the resolution of your issue?
Yes
No

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

No branches or pull requests

2 participants