chaiNNer icon indicating copy to clipboard operation
chaiNNer copied to clipboard

ONNX model give this errors how to fix?

Open wolfkingal2000 opened this issue 1 year ago • 7 comments

hi went i use ONNX model give this errors how to fix? and pyTorch and cuda installed and working

Error

An error occurred in a ONNX Upscale Image node:

[ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running Concat node. Name:'Concat_22' Status Message: CUDA error cudaErrorNoKernelImageForDevice:no kernel image is available for execution on the device

Input values: • Image: RGB Image 1400x1995 • Model: Value of type 'nodes.impl.onnx.model.OnnxGeneric' • Tile Size: 256 • Separate Alpha: No

wolfkingal2000 avatar Jan 04 '24 09:01 wolfkingal2000

I'm not sure that's something that you or I could fix. What model is it that you are trying to use?

joeyballentine avatar Jan 04 '24 14:01 joeyballentine

I'm not sure that's something that you or I could fix. What model is it that you are trying to use?

It doesn't matter if I want to use any model, that's how it is I use this site https://openmodeldb.info/models/4x-Nomos8kDAT

wolfkingal2000 avatar Jan 04 '24 20:01 wolfkingal2000

What GPU do you have?

joeyballentine avatar Jan 04 '24 20:01 joeyballentine

What GPU do you have?

I use this graphic card NVIDIA NVIDIA GeForce 840M ; Max. storage size, 4 GB ; Shared memory, no ; API, DirectX 12 (FL 11_0), Shader 5.0, OpenGL 4.5 ; Manufacturing process,,

wolfkingal2000 avatar Jan 04 '24 22:01 wolfkingal2000

Make sure you have up to date drivers. Your GPU is kinda old so it might just not support something that the model needs to run.

Is there a reason you are using the Onnx version of the model and not the pytorch version?

joeyballentine avatar Jan 04 '24 23:01 joeyballentine

Make sure you have up to date drivers. Your GPU is kinda old so it might just not support something that the model needs to run.

Is there a reason you are using the Onnx version of the model and not the pytorch version?

Yes, I have the latest version of drivers for this month and it is cuda version 11.8 and it says correctly about the model, it is not the pytorch version or ok, it does not work either. My problem is that it loads the onnx model but it does not work.

wolfkingal2000 avatar Jan 05 '24 07:01 wolfkingal2000

So you have tried downloading the pth file and using pytorch? What error did you get when you tried that? I can't help you without more information

joeyballentine avatar Jan 05 '24 13:01 joeyballentine