Skip to content

RuntimeError: CUDA error: no kernel image is available for execution on the device #629

Closed
@rookielyb

Description

@rookielyb

Error:
RuntimeError: CUDA error: no kernel image is available for execution on the device
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.

nvcc -V
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Tue_May__3_18:49:52_PDT_2022
Cuda compilation tools, release 11.7, V11.7.64
Build cuda_11.7.r11.7/compiler.31294372_0

conda list:
cudatoolkit-dev 11.7.0
cudatoolkit 11.7.0
torch 2.0.1+cu117

nvidia-smi
A100 80G
NVIDIA-SMI 470.141.03 Driver Version: 470.141.03 CUDA Version: 11.4

how to solve this problem? thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions