首页 > 代码库 > HOW TO USE MPS ON SINGLE GPU

HOW TO USE MPS ON SINGLE GPU

HOW TO USE MPS ON SINGLE GPU

? No application modifications necessary

? Proxy process between user processes and GPU

? MPS control daemon

? Spawn MPS server upon CUDA application startup

? Setting

? export CUDA_VISIBLE_DEVICES=0

? nvidia-smi –i 0 –c EXCLUSIVE_PROCESS

? nvidia-cuda-mps-control –d

? Enabled via environment variable (for CRAY) export CRAY_CUDA_PROXY=1

HOW TO USE MPS ON SINGLE GPU