ChatGLM-Tuning
ChatGLM-Tuning copied to clipboard
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cuda:1!

进行fine-tuning的时候报这个错,请问该怎么解决
把模型和数据都扔到cuda: 0
把模型和数据都扔到cuda: 0
请问怎么样才能指定单个cuda啊,设置了os.environ["CUDA_VISIBLE_DEVICES"] = "0",好像没啥用
把模型和数据都扔到cuda: 0
请问怎么样才能指定单个cuda啊,设置了os.environ["CUDA_VISIBLE_DEVICES"] = "0",好像没啥用
CUDA_VISIBLE_DEVICES=0