From 030da6e28866198d8a953687f61bc23e175622b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD=20=D0=A1=D0=BA=D0=B0=D0=BB?= =?UTF-8?q?=D0=BA=D0=B8=D0=BD?= Date: Tue, 13 Aug 2024 11:55:07 +0400 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20Tensorflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Tensorflow.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Tensorflow.md diff --git a/Tensorflow.md b/Tensorflow.md new file mode 100644 index 0000000..c30047b --- /dev/null +++ b/Tensorflow.md @@ -0,0 +1,21 @@ +# Полезные ссылки: + +- [Видео полной установки с комментариями](https://rutube.ru/video/56c43962f110a80ed6f874e9a5972fbf/?t=343) +- [Официальная документация по сборке](https://www.tensorflow.org/install/source?hl=ru) + +# Версии ПО: + +- Python 3.11.9 +- [Tensorflow](https://github.com/tensorflow/tensorflow) v2.17.0 +- llvm-17 +- clang-17 +- bazel [6.5.0](https://github.com/tensorflow/tensorflow/blob/master/.bazelversion) + +# Команды (выполнять по одной) +```bash +git clone https://github.com/tensorflow/tensorflow.git +# зафиксировать нужную версию-ветку +./configure # -march=native # -copt=-msse4.1 --copt=-msse4.2 --copt=-mavx --copt=-mavx2 --copt=-mfma +bazel build //tensorflow/tools/pip_package:wheel --repo_env=WHEEL_NAME=tensorflow_cpu +pip install bazel-bin/tensorflow/tools/pip_package/wheel_house/tensorflow_cpu-2.17.0-cp311-cp311-linux_x86_64.whl +``` \ No newline at end of file