Help! I always get this error: onnxruntime CUDA error cudaErrorInvalidPtx:a PTX JIT compilation failed #10220
Unanswered
jrgane1102
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have a NVIDIA GeForce RTX 5070 Ti and used to be able to run reactor with no issues. However, after a recent update to comfyui, my Reactor Custom Node stopped working. I reinstalled multiple versions of comfyui with pytorch version: 2.7.1+cu128 and I always get this error. I know it must be an error with my onnxruntime not aligning with my CUDA but I've tried multiple versions of both CUDA and Onnxruntime to try to get them to match but nothing works. Any help would be appreciated
[ReActor] 09:00:17 - STATUS - Checking for any unsafe content...
[ReActor] 09:00:17 - STATUS - Working: source face index [0], target face index [0]
[ReActor] 09:00:17 - STATUS - Analyzing Source Image...
2025-10-04 09:00:19.3641915 [E:onnxruntime:, sequential_executor.cc:572 onnxruntime::ExecuteKernel] Non-zero status code returned while running Relu node. Name:'Relu_2' Status Message: CUDA error cudaErrorInvalidPtx:a PTX JIT compilation failed
[ReActor] 09:00:19 - ERROR - No faces found
[ReActor] 09:00:19 - STATUS - Trying to halve 'det_size' parameter
2025-10-04 09:00:20.7025126 [E:onnxruntime:, sequential_executor.cc:572 onnxruntime::ExecuteKernel] Non-zero status code returned while running Relu node. Name:'Relu_2' Status Message: CUDA error cudaErrorInvalidPtx:a PTX JIT compilation failed
[ReActor] 09:00:21 - ERROR - No faces found
[ReActor] 09:00:21 - STATUS - Analyzing Target Image...
2025-10-04 09:00:21.1318757 [E:onnxruntime:, sequential_executor.cc:572 onnxruntime::ExecuteKernel] Non-zero status code returned while running Relu node. Name:'Relu_2' Status Message: CUDA error cudaErrorInvalidPtx:a PTX JIT compilation failed
[ReActor] 09:00:21 - ERROR - No faces found
[ReActor] 09:00:21 - STATUS - Trying to halve 'det_size' parameter
2025-10-04 09:00:21.4184794 [E:onnxruntime:, sequential_executor.cc:572 onnxruntime::ExecuteKernel] Non-zero status code returned while running Relu node. Name:'Relu_2' Status Message: CUDA error cudaErrorInvalidPtx:a PTX JIT compilation failed
[ReActor] 09:00:21 - ERROR - No faces found
[ReActor] 09:00:21 - STATUS - Cannot detect any Target, skipping swapping...
[ReActor] 09:00:21 - STATUS - --Done!--
[ReActor] 09:00:21 - STATUS - Restoring with GPEN-BFR-512.onnx | Face Size is set to 512
FETCH ComfyRegistry Data: 65/99
2025-10-04 09:00:22.9322023 [E:onnxruntime:, sequential_executor.cc:572 onnxruntime::ExecuteKernel] Non-zero status code returned while running LeakyRelu node. Name:'/ecd0/ecd0.0/ecd0.0.1/LeakyRelu' Status Message: CUDA error cudaErrorInvalidPtx:a PTX JIT compilation failed
Failed inference: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running LeakyRelu node. Name:'/ecd0/ecd0.0/ecd0.0.1/LeakyRelu' Status Message: CUDA error cudaErrorInvalidPtx:a PTX JIT compilation failed
Beta Was this translation helpful? Give feedback.
All reactions