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.
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’m trying to run cosmic clarity for the first time using Siril and the python script. I’m also getting an exception error. I’ve tried running it with and without my GPU checked (An ‘ancient’ GTX 1050 Ti). For that matter, I’ve been unable to run Cosmic Clarity standalone, either. Here’s the relevant lines from the Siril console–appreciate any help:
0:08:53: Reading FITS: file mosaic_test.fits, 3 layer(s), 1868x1893 pixels, 32 bits
20:08:59: The AutoStretch display mode will use a 16 bit LUT
20:10:20: Updating working profiles.
20:10:48: Starting script C:\Users\rnsha\AppData\Local\siril-scripts\processing/CosmicClarity_Sharpen.py
20:10:49: tiffile is installed
20:10:49: PyQt6 is installed
20:10:49: Connecting to Windows pipe: \.\pipe\a41fb7aa-5e8d-4e33-866f-aaf509bddf91
20:10:49: Running command: requires
20:10:49: OK! This script is compatible with this version of Siril.
20:11:02: Traceback (most recent call last):
20:11:02: File “Python Code\SetiAstroCosmicClarity.py”, line 5, in
20:11:02: File “”, line 1360, in _find_and_load
20:11:02: File “”, line 1331, in find_and_load_unlocked
20:11:02: File “”, line 935, in load_unlocked
20:11:02: File “PyInstaller\loader\pyimod02_importers.py”, line 378, in exec_module
20:11:02: File "torch_init.py", line 262, in
20:11:02: File "torch_init.py", line 258, in _load_dll_libraries
20:11:02: OSError: [WinError 126] The specified module could not be found. Error loading “C:\CosmicClaritySuite_Windows_internal\torch\lib\caffe2_nvrtc.dll” or one of its dependencies.
20:11:02: [PYI-8512:ERROR] Failed to execute script ‘SetiAstroCosmicClarity’ due to unhandled exception!
Now that Seti Astro has been updated, and there are currently no Siril scripts for the new tools, I followed Franks directions here;
I updated to the new AI models, and after running it the first time, it downloaded all the files it needed (this will take a while!). Everything worked just fine after that. But I hope someone will make some new Siril script to ping the tools. A bit annoying to go back and forth between the programs.
All the siril scripts that call cosmic clarity still work for me.
CosmicClarity_Denoise.py
CosmicClarity_Sharpen.py
GPS_Process.py (mine)
I believe they all call the cli (mine does), so you can troubleshoot directly by running ‘SetiAstroCosmicClarity -h’ from your command line and then choose the appropriate arguments to test it.
Cuda, torch etc. is a PITA, while CC works for me, graxpert falls back to CPU.
On the SASpro update and AI4
Frank kindly still provides a cli to cc, so we should be able to create a siril script. I’m going to look into adding it to mine this weekend.
I added support for SASpro CC with AI4 to my script GPS_Process.py (0.1.6)
There is a pending merge request, so it may take a while to be directly available in siril. If folks want to test it now, grab it from Graham / GPS-siril-scripts · GitLab and add it to a scripts directory.