pyyolo icon indicating copy to clipboard operation
pyyolo copied to clipboard

support different GPU ID

Open cjjsaic opened this issue 8 years ago • 3 comments
trafficstars

hi, @thomaspark-pkj
@jasrk11 @oulutan @rayhou0710

Try to debug the code with different GPUID instead of default 0.

I try to update the wrapper but failed. Could you help provide some hint? Thanks

cjjsaic avatar Jun 07 '17 18:06 cjjsaic

You can do that by using the command cuda_set_device(gpu_id) before you parse your cfg file

rakeshjasti avatar Jun 08 '17 07:06 rakeshjasti

Hi, @jasrk11,

i tried this on python wrapper. it seemed working.

os.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID" os.environ["CUDA_VISIBLE_DEVICES"] = "1"

cjjsaic avatar Jun 08 '17 17:06 cjjsaic

I will add parameter to select GPUID later.

digitalbrain79 avatar Jun 09 '17 00:06 digitalbrain79