Skip to content

AVX-free TensorFlow 2.16.1 wheel for Python 3.11 targeting Westmere (Xeon E5649) or x86_64 without AVX #23

@codebox-hash

Description

@codebox-hash

Hi, I'm running TensorFlow on a legacy CPU (Xeon E5649, Westmere architecture) that does not support AVX and also don't have a GPU. The official TensorFlow wheels crash with Illegal instruction (core dumped) due to AVX instructions embedded in the binaries.

I'd like to request a custom AVX-free wheel for:

  • TensorFlow version: 2.16.1
  • Python version: 3.11
  • Platform: manylinux2014 / x86_64
  • CPU: Intel Xeon E5649 (Westmere, no AVX)

Here is my system info: I have attached the file - tensorflow_system_info.txt

I’ve already set:
export TF_USE_LEGACY_CPU_FEATURES=1
export TF_ENABLE_ONEDNN_OPTS=0

But the crash persists due to AVX-linked binaries. I’d greatly appreciate a wheel compiled with --copt=-mno-avx --copt=-mno-avx2 --copt=-mfpmath=387

Thanks for supporting legacy hardware!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions