Answers for "set cuda visible devices python"

0

set cuda visible devices python

import os
os.environ["CUDA_DEVICE_ORDER"]="PCI_BUS_ID"   # see issue #152
os.environ["CUDA_VISIBLE_DEVICES"]="0"
Posted by: Guest on December-29-2020

Python Answers by Framework

Browse Popular Code Answers by Language