Tensor RT 3: question on python tensorflow

Hi. I am trying to export a Tensorflow model to a UFF format using Tensor RT 3’s python API. As I learned, Tensor RT requires CUDA 8/9 and cuDNN 7. However, so far, Tensorflow (1.3) officially supports only CUDA 8 and cuDNN 6.

For this reason, I tried to build Tensorflow from its sources on a CUDA8-cuDNN7 machine, but it seems not easy. How can I approach this?

In Python, how can I use freely tf, uff, etc., together?

import tensorflow as tf
import uff
… and so on …