Skip to content

CUDA error: an illegal memory access was encountered #2

@justinwking

Description

@justinwking

SamplerCustomAdvanced
CUDA error: an illegal memory access was encountered
Search for cudaErrorIllegalAddress' in https://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__TYPES.html for more information. 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.

DISTRIB_DESCRIPTION="Ubuntu 24.04.3 LTS"
Driver Version: 590.48.01
CUDA Version: 13.1
Cuda compilation tools, release 12.8, V12.8.93
Python 3.10.19

Using the included workflow it crashes on the second sampler. When I bypass the second sampler, the image is black.

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