Skip to content

Instantly share code, notes, and snippets.

View l-nmch's full-sized avatar
🍃

Léo Nonnenmacher l-nmch

🍃
View GitHub Profile
@talmo
talmo / tf2.6.3_without_avx.md
Last active June 26, 2025 21:51
Building TensorFlow 2.6.3 without AVX/AVX2 instructions

Building TensorFlow without AVX/AVX2 instructions

Overview

This describes steps to build a CPU-only TensorFlow wheel (.whl) without AVX/AVX2 instructions so it can be installed on machines with older CPUs that do not support AVX/AVX2 instructions (e.g., Intel Celeron N2830).

This solves errors that you might get when installing or importing TensorFlow that might say:

Illegal instruction (core dumped)

or