摘要: 1 pyTorch 多卡运行代码 一般pytorch多卡运行,最好使用此方法 python -m torch.distributed.launch —nproc_per_node 例如 python -m torch.distributed.launch —nproc_per_node 2 trai 阅读全文
posted @ 2022-08-01 14:36 雪夜羽 阅读(4171) 评论(0) 推荐(0)
摘要: tmux 创建新终端,关闭后在后台可继续运行。 tmux 可以在linux创建新终端,然后在tmux创建的终端里,关闭ssh连接或窗口后可以继续运行。 使用tmux创建一个终端 创建并进入(最简单) 名称为0 tmux 创建并进入 名称为test tmux new -s test 切换到系统的终端 阅读全文
posted @ 2022-08-01 09:47 雪夜羽 阅读(1671) 评论(0) 推荐(0)