Akegarasu / Akegarasu/lora-scripts

RuntimeError: CUDA error: device kernel image is invalid

未关闭
#652 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
6.1k
派生
699
PR 合并指标
30 天内没有已合并 PR

描述

新下载的一键包,运行完install-cn.ps1后运行run_gui.ps1跳出UI界面进行的操作,新手训练模式。
训练时提示如下的日志,从网上查是版本不对or显存不够啥的,我把驱动、pytorch、CUDA都更新到最新版本了还是不行。
显存是8G专用+8G共享的,看占用率也不是很高。
这会是哪里的问题?该怎么解决?感谢各位大佬

> RuntimeError: CUDA error: device kernel image is invalid
> CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
> For debugging consider passing CUDA_LAUNCH_BLOCKING=1
> Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
>
> 10:48:56-591986 ERROR Training failed / 训练失败

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。