Solved by googlebot in post #4 
              
              
                as I said, do something like: 
net = jit.script(models.squeezenet1_0(pretrained=True).cuda().eval()) 
net(x); net(x) 
and only then measure time (e.g. %timeit net(x))