PulseAugur
实时 20:22:18
English(EN) Training Issue - ValueError: torch.cuda.is_available() should be True but is False. xformers' memory efficient attention is only available for GPU

Stable Diffusion 训练因 GPU 检测错误而失败

一位用户在使用 RTX 4090 GPU 训练 Stable Diffusion 模型时遇到了 `ValueError`。错误消息“torch.cuda.is_available() 应该为 True 但为 False”表明系统无法检测到支持 CUDA 的 GPU,尽管用户已确认 CUDA 工具包和 PyTorch 安装,并且 Python 报告 CUDA 可用。此问题阻止了 xformers 用于内存高效注意力,而这对于高效训练至关重要。 AI

影响 突显了在设置 AI 模型训练环境时,尤其是在利用 GPU 方面,可能遇到的配置挑战。

排序理由 用户遇到的技术问题,涉及特定的软件/硬件配置。

在 r/StableDiffusion 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

报道来源 [1]

  1. r/StableDiffusion TIER_2 English(EN) · /u/a_throwawayorsmthn ·

    Training Issue - ValueError: torch.cuda.is_available() should be True but is False. xformers' memory efficient attention is only available for GPU

    <!-- SC_OFF --><div class="md"><p>My computer has 2 GPUs: an Intel one which has been used by default, and an RTX 4090. Upon realizing I can assign specific GPUs for training, I keep encountering this issue when attempting to train with just the RTX GPU:</p> <pre><code>Traceback …