Fix import crash when nose isn't installed and we use the GPU back-end