Made the function definition in  set_gpu_mode.py match the import statement