Skip to content

Instantly share code, notes, and snippets.

View CarlQLange's full-sized avatar
💭
Walking 4000 Kilometres around Ireland.

Carl Lange CarlQLange

💭
Walking 4000 Kilometres around Ireland.
View GitHub Profile
@venik
venik / build_tf.sh
Last active February 22, 2024 06:12
Bash script for local building TensorFlow on Mac/Linux with all CPU optimizations (default pip package has only SSE)
#!/usr/bin/env bash
# Author: Sasha Nikiforov
# source of inspiration
# https://stackoverflow.com/questions/41293077/how-to-compile-tensorflow-with-sse4-2-and-avx-instructions
# Detect platform
if [ "$(uname)" == "Darwin" ]; then
# MacOS