You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HI,
I'm trying to run your models with CPU, the application crashes while loading the model.
To verify if these ONNX models could be loaded by CPU, I created a simple test app like this.
using Microsoft.ML.OnnxRuntime;using Onnx;SessionOptionsoptions=new();
options.AppendExecutionProvider_CPU();InferenceSessionsession=new InferenceSession(@"D:\Models\RWKV-4-Raven-3B-v11-Eng49-Chn49-Jpn1-Other1-20230429-ctx4096_32_2560_16.onnx", options);
Console.WriteLine("Done");
Console.ReadLine();
the application crashes with following exception
System.AccessViolationException: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'
Could you please kindly suggest if any thing I did wrong or the model bin file is designed for CUDA only?
The text was updated successfully, but these errors were encountered:
HI,
I'm trying to run your models with CPU, the application crashes while loading the model.
To verify if these ONNX models could be loaded by CPU, I created a simple test app like this.
the application crashes with following exception
System.AccessViolationException: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'
Could you please kindly suggest if any thing I did wrong or the model bin file is designed for CUDA only?
The text was updated successfully, but these errors were encountered: