We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i use branch Direct-ML-EP,here is my stacktrace:
Microsoft.ML.OnnxRuntime.OnnxRuntimeException HResult=0x80131500 Message=[ErrorCode:Fail] Deserialize tensor up_blocks.1.attentions.1.transformer_blocks.0.norm1.weight failed.GetFileLength for StableDiffusion\bin\x64\Debug\net6.0\unet\weights.pb failed:open file weights.pb fail, errcode = 2 - ϵͳ�Ҳ���ָ�����ļ��� Source=Microsoft.ML.OnnxRuntime StackTrace: at Microsoft.ML.OnnxRuntime.NativeApiStatus.VerifySuccess(IntPtr nativeStatus) at Microsoft.ML.OnnxRuntime.InferenceSession.Init(String modelPath, SessionOptions options, PrePackedWeightsContainer prepackedWeightsContainer) at Microsoft.ML.OnnxRuntime.InferenceSession..ctor(String modelPath, SessionOptions options) at StableDiffusion.ML.OnnxRuntime.UNet.Inference(String prompt, StableDiffusionConfig config) at StableDiffusionOnnx\StableDiffusion.ML.OnnxRuntime\UNet.cs :line 89 at StableDiffusion.Program.Main(String[] args) at StableDiffusionOnnx\StableDiffusion\Program.cs : line 37
my graphic card is nvidia RTX3060, installed cuda 11.6
The text was updated successfully, but these errors were encountered:
No branches or pull requests
i use branch Direct-ML-EP,here is my stacktrace:
Microsoft.ML.OnnxRuntime.OnnxRuntimeException
HResult=0x80131500
Message=[ErrorCode:Fail] Deserialize tensor up_blocks.1.attentions.1.transformer_blocks.0.norm1.weight failed.GetFileLength for StableDiffusion\bin\x64\Debug\net6.0\unet\weights.pb failed:open file weights.pb fail, errcode = 2 - ϵͳ�Ҳ���ָ�����ļ���
Source=Microsoft.ML.OnnxRuntime
StackTrace:
at Microsoft.ML.OnnxRuntime.NativeApiStatus.VerifySuccess(IntPtr nativeStatus)
at Microsoft.ML.OnnxRuntime.InferenceSession.Init(String modelPath, SessionOptions options, PrePackedWeightsContainer prepackedWeightsContainer)
at Microsoft.ML.OnnxRuntime.InferenceSession..ctor(String modelPath, SessionOptions options)
at StableDiffusion.ML.OnnxRuntime.UNet.Inference(String prompt, StableDiffusionConfig config) at StableDiffusionOnnx\StableDiffusion.ML.OnnxRuntime\UNet.cs :line 89
at StableDiffusion.Program.Main(String[] args) at StableDiffusionOnnx\StableDiffusion\Program.cs : line 37
my graphic card is nvidia RTX3060, installed cuda 11.6
The text was updated successfully, but these errors were encountered: