**Description** Fix bug of detecting if gpu_index is none.
Attach a file by drag & drop or click to upload