self-llm icon indicating copy to clipboard operation
self-llm copied to clipboard

模型微调时报错,报内核版本问题 Detected kernel version 5.4.0

Open hgsw opened this issue 9 months ago • 1 comments

在模型微调时,执行如下代码报错: trainer = Trainer( model=model, args=args, train_dataset=tokenized_id, data_collator=DataCollatorForSeq2Seq(tokenizer=tokenizer, padding=True), ) 报错信息: Detected kernel version 5.4.0, which is below the recommended minimum of 5.5.0; this can cause the process to hang. It is recommended to upgrade the kernel to the minimum version or higher. 有时不会报错,有时就会出现。

hgsw avatar May 26 '24 07:05 hgsw