python cuda GPU 加速运算Q_LEANRING

在ubuntu 设置运行环境,# CUDA_VISIBLE_DEVICES=1 /usr/local/bin/python3.10 /home/ps/.local/bin/jupyter-notebook &  这样可以用第二个显卡进行运算,不影响生产环境了。

猜你喜欢

转载自blog.csdn.net/weixin_42480337/article/details/129902674