Docker image used: joeyearsley/tf-builds:1.10.1-xla Git clone this repo into that docker file and it will show the problems. Use --xla True to turn on XLA and see the problem.