Skip to content

CU128 with 5090 CUDA error caused by xformers #128

@wx2058

Description

@wx2058

After using the yanwk/comfyui-boot:cu128-slim image, an error occurred during use. The error message is as follows:

model weight dtype torch.float16, manual cast: None
model_type EPS
Using xformers attention in VAE
Using xformers attention in VAE
VAE load device: cuda:0, offload device: cpu, dtype: torch.bfloat16
CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cpu, dtype: torch.float16
Requested to load SDXLClipModel
FETCH ComfyRegistry Data: 5/95
loaded completely 30383.8625 1560.802734375 True
Loads SAM model: /root/ComfyUI/models/sams/sam_vit_b_01ec64.pth (device:AUTO)
Requested to load SDXL
loaded completely 28650.93463973999 4897.0483474731445 True
0%| | 0/30 [00:00<?, ?it/s]CUDA error (/__w/xformers/xformers/third_party/flash-attention/hopper/flash_fwd_launch_template.h:188): invalid argument
[INFO] Running set-proxy script...
[INFO] Continue without proxy.

then container was restarted with driver version 580.76.05 and image yanwk/comfyui-boot:cu128-slim,How can I fix this error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions