The following is the content of requirements.txt for /workspace/tensorrt/samples/python/end_to_end_tensorflow_mnist . Looks like all the samples are not using GPUs !!
cat requirements.txt
numpy
Pillow
pycuda
requests
tensorflow
The following is the content of requirements.txt for /workspace/tensorrt/samples/python/end_to_end_tensorflow_mnist . Looks like all the samples are not using GPUs !!
numpy
Pillow
pycuda
requests
tensorflow
Well, the sample.py do use GPU through pycuda and trt. model.py also uses GPU through Tensorflow.