by NelsonMinar · 8y ago · 0 comments
I just this morning gave up trying to compile Tensorflow from sources with AVX. I'm sure I could do it given the time but after 5 minutes it was clearly a more complicated project. Shame it may break older CPUs though, I wonder what the challenge is in releasing two versions?
https://gist.github.com/daniel-j-h/b410dd21d4949a54c83d0c386...
The build script needs slight adaptions between major TensorFlow releases; otherwise works great for me so far.
During boot time you can then figure out the instance architecture you are and fetch the appropriate wheel. Hope it helps.