paddle推理时在python脚本中如何设置GPU的显存比例
Created by: ninghongbo123
通过以下方式,设置无效:
os.environ['FLAGS_selected_gpus']=“1”
os.environ['FLAGS_fraction_of_gpu_memory_to_use']=“0.5”
os.environ['FLAGS_enable_parallel_graph']="1"
os.environ['FLAGS_sync_nccl_allreduce']="1"