Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is meant by static monolithic build when building tensorflow from source?

Tags:

tensorflow

While installing tensorflow from source there is an option to configure the build with this command.

--config=monolithic —Configuration for a mostly static, monolithic build.

What is meant by static monolithic build and how does it affect my tensorflow build if i use it / don't use it.?

like image 481
timedacorn Avatar asked Dec 10 '18 12:12

timedacorn


1 Answers

AFAIK it basically disables the support for adding your own operations to TensorFlow, (like described in https://www.tensorflow.org/guide/extend/op) by removing the dependency to libtensorflow_framework.so. So if you don't want to add your own operations, --config=monolithic is probably what you want.

https://github.com/tensorflow/tensorflow/blob/ad27775640e0d9c506247e91a2306c63703c97d0/.bazelrc#L16

like image 169
Baris Demiray Avatar answered Nov 04 '22 11:11

Baris Demiray