Installing Tensorflow on Tx2 without Swap

Multiple Blogs and Githubs, such as JetsonHacks and co, say it is needed to create a 8gb Swap to install Tensorflow on the Jetson Tx2.

I Only have 4Gb free… so is it also possible for me to install TF with this little free space or not?

  1. You can probably limit the amount of memory used by ‘bazel build’, by specifying ‘–local_resources xxxx’. Reference: https://devtalk.nvidia.com/default/topic/998005/driveworks/installation-of-tensorflow-on-drive-px/post/5114985/#5114985

  2. Or you can create a swap file or a swap partition on USB flash drive instead. This way you won’t be limited by the amount of free spaces on eMMC.