# Newbie 5090 passing CUDA\_LAUNCH\_BLOCKING=1 problem

**URL:** <https://forums.developer.nvidia.com/t/newbie-5090-passing-cuda-launch-blocking-1-problem/326380>\
**Category:** CUDA Programming and Performance\
**Created:** [March 7, 2025, 3:48pm UTC](https://forums.developer.nvidia.com/t/newbie-5090-passing-cuda-launch-blocking-1-problem/326380 "2025-03-07T15:48:07Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Moodrabbit](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/moodrabbit/32/401023_2.png) [@Moodrabbit](https://forums.developer.nvidia.com/u/Moodrabbit)\
**Post date:** [March 7, 2025, 3:48pm UTC](https://forums.developer.nvidia.com/t/newbie-5090-passing-cuda-launch-blocking-1-problem/326380/1 "2025-03-07T15:48:07Z")

</div>

Hi  
I am trying to learn ai to have a new job but i am not familiar with coding and all those problems.  
I will pay for this system 10 more months :/  
I have Rtx 5090 and using win11  
Amd 9800x3d  
1500psu etc  
My system benchmarks are ok, rops are correct.

When i try to install wan.2.1 with pinokio it ends with this problem:

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. (env) (base) C:\pinokio\api\wan.git\app\>

I executed: pip3 install torch torchvision torchaudio --index-url [https://download.pytorch.org/whl/cu118](https://download.pytorch.org/whl/cu118) in env folder.  
i updated all the drivers ([NVIDIA Nsight Graphics | NVIDIA Developer](https://developer.nvidia.com/nsight-graphics)) but couldn’t manage to fix, i am having so much problem with all text to video softwares.  
Even after so many difficulties i managed to run ComfyUI and repeated a guide but at the end i had this error:  
DWPreprocessor  
nvrtc: error: invalid value for --gpu-architecture (-arch)

nvrtc compilation failed:

#define NAN \_\_int\_as\_float(0x7fffffff)  
#define POS\_INFINITY \_\_int\_as\_float(0x7f800000)  
#define NEG\_INFINITY \_\_int\_as\_float(0xff800000)

template  
_device_ T maximum(T a, T b) {  
return isnan(a) ? a : (a \> b ? a : b);  
}

template  
_device_ T minimum(T a, T b) {  
return isnan(a) ? a : (a \< b ? a : b);  
}

extern “C” _global_  
void fused\_sigmoid\_mul(float\* tinput\_2, float\* aten\_mul) {  
{  
float tinput\_2\_1 = \_\_ldg(tinput\_2 + (long long)(threadIdx.x) + 512ll \* (long long)(blockIdx.x));  
aten\_mul[(long long)(threadIdx.x) + 512ll \* (long long)(blockIdx.x)] = tinput\_2\_1 \* (1.f / (1.f + (expf(0.f - tinput\_2\_1))));  
}  
}  
Can anyone help me with a way that i can understand please :(

---

<div class="post-metadata">

**Author:** ![njuffa](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@njuffa](https://forums.developer.nvidia.com/u/njuffa)\
**Post date:** [March 7, 2025, 7:10pm UTC](https://forums.developer.nvidia.com/t/newbie-5090-passing-cuda-launch-blocking-1-problem/326380/2 "2025-03-07T19:10:46Z")

</div>

I have no idea what “pinokio” is. The immediate issue seems to be:

`CUDA error: no kernel image is available for execution on the device`

which seems to be a consequence of an earlier error:

`nvrtc: error: invalid value for --gpu-architecture (-arch)`

Because an invalid compute capability was passed to the compiler, no kernel was built, and therefore no binary kernel image is available at run time.

What compute capability did you specify for compilation? From NVIDIA’s published list, RTX 5090 has compute capability 10.0, so the corresponding compiler architecture designations are likely `sm_100`, `arch_100`.

Since RTX 5090 just started shipping, make sure you are using the latest NVIDIA software components (latest drivers package, latest CUDA version).

---

<div class="post-metadata">

**Author:** ![Robert\_Crovella](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/robert_crovella/32/14043_2.png) [@Robert\_Crovella](https://forums.developer.nvidia.com/u/Robert_Crovella)\
**Post date:** [March 7, 2025, 7:52pm UTC](https://forums.developer.nvidia.com/t/newbie-5090-passing-cuda-launch-blocking-1-problem/326380/3 "2025-03-07T19:52:10Z")

</div>

I’m fairly confident the RTX 5090 compute capability is 12.0  
It can be verified in-situ by running the `deviceQuery` sample code.

Yes, I realize NVIDIA has published info that is different, I am working to correct that.

---

<div class="post-metadata">

**Author:** ![Moodrabbit](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/moodrabbit/32/401023_2.png) [@Moodrabbit](https://forums.developer.nvidia.com/u/Moodrabbit)\
**Post date:** [March 8, 2025, 2:29am UTC](https://forums.developer.nvidia.com/t/newbie-5090-passing-cuda-launch-blocking-1-problem/326380/4 "2025-03-08T02:29:45Z")

</div>

Thanks for help Njuffa and Robert  
The guide i am repeating is a text to video project and he is doing it with Rtx 4060 so 5090 should do it much easly, and i checked every step very carefully, tried more than 10 times but always having same problems.  
Maybe i should wait for new drivers because, they are up to date in my computer now also i couldn’t find anyone who is using those softwares with 5000 series.

---

<div class="post-metadata">

**Author:** ![njuffa](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@njuffa](https://forums.developer.nvidia.com/u/njuffa)\
**Post date:** [March 8, 2025, 2:58am UTC](https://forums.developer.nvidia.com/t/newbie-5090-passing-cuda-launch-blocking-1-problem/326380/5 "2025-03-08T02:58:08Z")

</div>

> [@Moodrabbit](#):
>
> with Rtx 4060 so 5090 should do it much easly

Unfortunately things don’t work quite that easily.

RTX 4060 has compute capability 8.9, while RTX 5090 has compute capability 12.0. This means (1) the RTX 4060 will work fine with older NVIDIA software while the RTX 5090 requires the latest NVIDIA software stack; (2) The GPU architecture (= compute capability) appropriate for the GPU used needs to be supplied in the compilation step.

First you would want to install the latest NVIDIA drivers package and CUDA software (CUDA Toolkit 12.8 Update 1). Then you need to find the `nvrtc` invocation(s) and check what `--gpu-architecture` or `-arch` settings are being passed in, and then modify it to use the settings appropriate for the RTX 5090.

> I am trying to learn ai … but i am not familiar with coding

In my head that translates to “I am going to be an ice road trucker but I do not have a driver’s license yet.” I would strongly suggest finding someone local who can assist you one-on-one. We all need to walk before we run, and crawl before we walk. This is going to be a process. It’s doable, but it takes time and dedication. I don’t know where you are in the world or what your circumstances are, but maybe there is a group of hobbyists that meet regularly near you, or there are relevant classes offered at a community college, or maybe even just a course at the local library.

Best of luck in your endeavors.

---

<div class="post-metadata">

**Author:** ![Moodrabbit](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/moodrabbit/32/401023_2.png) [@Moodrabbit](https://forums.developer.nvidia.com/u/Moodrabbit)\
**Post date:** [March 8, 2025, 3:00am UTC](https://forums.developer.nvidia.com/t/newbie-5090-passing-cuda-launch-blocking-1-problem/326380/6 "2025-03-08T03:00:25Z")

</div>

Can this be the problem?  
in last cuda toolkit ( 12.8 Update 1) it says CUDA Compatibility only linux.

> **[1. CUDA 12.8 Update 1 Release Notes — Release Notes 12.8 documentation](https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html)**
>
> The Release Notes for the CUDA Toolkit.

---

<div class="post-metadata">

**Author:** ![njuffa](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@njuffa](https://forums.developer.nvidia.com/u/njuffa)\
**Post date:** [March 8, 2025, 3:04am UTC](https://forums.developer.nvidia.com/t/newbie-5090-passing-cuda-launch-blocking-1-problem/326380/7 "2025-03-08T03:04:45Z")

</div>

> [@Moodrabbit](#):
>
> in last cuda toolkit ( 12.8 Update 1) it says CUDA Compatibility only linux.

I am not sure what you are looking at. The link in your post goes to a page that clearly indicates that Windows is a supported platform for CUDA (and thus it has been since CUDA first became available 18 years ago).

What system platforms the `pinokio` environment is supported on I could not say as I am not familiar with this software; this thread is the first time I encountered the name.

---

<div class="post-metadata">

**Author:** ![Moodrabbit](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/moodrabbit/32/401023_2.png) [@Moodrabbit](https://forums.developer.nvidia.com/u/Moodrabbit)\
**Post date:** [March 8, 2025, 3:45am UTC](https://forums.developer.nvidia.com/t/newbie-5090-passing-cuda-launch-blocking-1-problem/326380/8 "2025-03-08T03:45:37Z")

</div>

I am from Türkiye and actually i am so agree with you, i am searching for local people to get help with basics but since i couldn’t find yet i am trying to find answers online.  
But yes i am not even capable to understand answers now :)  
Thanks for your answers and advices.  
Best wishes  
Umut

---

<div class="post-metadata">

**Author:** ![Moodrabbit](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/moodrabbit/32/401023_2.png) [@Moodrabbit](https://forums.developer.nvidia.com/u/Moodrabbit)\
**Post date:** [March 8, 2025, 3:48am UTC](https://forums.developer.nvidia.com/t/newbie-5090-passing-cuda-launch-blocking-1-problem/326380/9 "2025-03-08T03:48:23Z")

</div>

![Ekran görüntüsü 2025-03-08 055616](https://global.discourse-cdn.com/nvidia/original/4X/2/8/f/28fcedb221f45aa80a82136e1b328685b5bfd677.png)

---

<div class="post-metadata">

**Author:** ![njuffa](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@njuffa](https://forums.developer.nvidia.com/u/njuffa)\
**Post date:** [March 8, 2025, 4:00am UTC](https://forums.developer.nvidia.com/t/newbie-5090-passing-cuda-launch-blocking-1-problem/326380/10 "2025-03-08T04:00:00Z")

</div>

I acknowledge that it is easy to get mixed up between the ordinary meaning of the term compatibility with a specific feature called “CUDA compatibility”. As you can see, this is something that applies only to `aarch64-jetson` platforms, that is, NVIDIA’s integrated platforms based on 64-bit ARM processors.

The relevant platform in your context is `x86_64`, that is, 64-bit processors based on Intel / AMD architecture.
