GPU 00000000:B2:00.0 is currently in use by another process.
文章目录
问题描述:
GPU memory不能释放,即使进程kill之后。如下:
解决方法:
- reset GPU core
sudo nvidia-smi --gpu-reset -i 5若出现以下error:
GPU 00000000:B2:00.0 is currently in use by another process.
1 device is currently being used by one or more other processes (e.g., Fabric Manager, CUDA application, graphics application such as an X server, or a monitoring application such as another instance of nvidia-smi). Please first kill all processes using this device and all compute applications running in the system.2.搜索并kill还在占用GPU的进程
ls /proc/*/fd/* -l | grep /dev/nvidia5问题解决。
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论