摘要: # 所有可用显卡 export CUDA_VISIBLE_DEVICES=$1 # 转成了数组形式 all_cuda_devices=($(echo $CUDA_VISIBLE_DEVICES | sed 's/,/ /g')) # 你要跑的任务(我这里以GLUE的几个任务为例) if (($# > 阅读全文
posted @ 2022-12-01 21:38 王冰冰 阅读(78) 评论(0) 推荐(0) 编辑