Can not run Cosmic Clarity anymore

I just upgraded my PC, so I am reinstalling all the programs. In Siril, everything works fine - except CC. I had an older version on my previous PC, and it ran just fine. With the latest version, I am getting this error:

11:32:20: Starting script C:\Users\Me\AppData\Local\siril-scripts\processing/CosmicClarity_Sharpen.py
11:32:20: Connecting to Windows pipe: \.\pipe\3d9aa815-5f03-4f32-8f23-b49c47f098e5
11:32:20: Running command: requires
11:32:20: OK! This script is compatible with this version of Siril.
11:32:37: Traceback (most recent call last):
11:32:37: File “Python Code\SetiAstroCosmicClarity.py”, line 1391, in
11:32:37: File “Python Code\SetiAstroCosmicClarity.py”, line 1216, in process_images
11:32:37: File “Python Code\SetiAstroCosmicClarity.py”, line 930, in sharpen_image
11:32:37: RuntimeError: CUDA error: no kernel image is available for execution on the device
11:32:37: CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
11:32:37: For debugging consider passing CUDA_LAUNCH_BLOCKING=1
11:32:37: Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.
11:32:37: [PYI-12364:ERROR] Failed to execute script ‘SetiAstroCosmicClarity’ due to unhandled exception!

This means nothing to me! CUDA is the graphic card right?

I am running a GeForce 5070 on a Windows 10 Enterprise edition.

Thanks!
Chris

Hey Chris,

I believe that, because your 5070 is too new, you may need to manually upgrade PyTorch.

if your CUDA version is 12.8:

pip install -U torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128

If it is CUDA 13

pip install -U torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu130

You should be able to check your CUDA version with:

nvcc --version

Kind Regards,
Daniel

Thanks Daniel. Unfortuently, I am still getting the same error. I might have to ask the Cosmic Clarity creator.

Regards,
Chris

Well Frank told me to “try an older version of 13.1. The newest definitely doesn’t seem to work at all”. Apparently the 50 series cards are very finicky.

I guess I will go back and try again.

Hello. Do it work ?
I have the same problem with CC and my 5070…