🛠️ 在线工具
📰 新闻动态

欢迎回来

登录你的 AI Flow 账号,继续创作之旅

还没有账号?立即注册

创建账号

加入 AI Flow,解锁全部 ComfyUI 教程与工作流

两次输入的密码不一致
验证码错误
已有账号?去登录

TORCH_USE_CUDA_DSA错误解决方案一

 

RuntimeError: CUDA error: operation not supported
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 assertion
s.
## Additional Context
(Please add any additional context or steps to reproduce the error here)
一般是GPU卡,并不支持cuda-malloc函数或接口。如果在后续的运行中遇到了CUDA error错误,那么就在启动命令行后面,添加:--disable-cuda-malloc。
或者可以看下自己的cuda版本和GPU驱动是否匹配。