4 Tensorflow
Антон Скалкин edited this page 2024-08-13 12:38:36 +04:00
This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Использование собственной сборки бесполезно в LXC. Варианты:

  1. Оставить все как есть
  2. Перенести все на ВМ
  3. Найти способ работать на LXC

Полезные ссылки:

Версии ПО:

Команды (выполнять по одной)

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 -U --force-reinstall bazel-bin/tensorflow/tools/pip_package/wheel_house/tensorflow_cpu-2.17.0-cp311-cp311-linux_x86_64.whl  # обновление с полной переустановкой