Skip to content
New issue

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

Onnxruntime Error #135

Open
catethos opened this issue Dec 9, 2024 · 0 comments
Open

Onnxruntime Error #135

catethos opened this issue Dec 9, 2024 · 0 comments

Comments

@catethos
Copy link

catethos commented Dec 9, 2024

It seem like ort-sys = "=2.0.0-rc.9" doesn't support SkipLaverNormalization, which is required by the the model EmbeddingModel::ParaphraseMLMiniLML12V2Q. I am getting following error trying to initialize via

TextEmbedding::try_new(
            InitOptions::new(EmbeddingModel::ParaphraseMLMiniLML12V2Q))

Error: EmbeddingError("Non-zero status code returned while running SkipLayerNormalization node. Name:'SkipLayerNorm_AddBias_0' Status Message: /Users/runner/work/ort-artifacts-staging/ort-artifacts-staging/onnxruntime/include/onnxruntime/core/framework/op_kernel_context.h:42 const T *onnxruntime::OpKernelContext::Input(int) const [T = onnxruntime::Tensor] Missing Input: encoder.layer.0.attention.output.LayerNorm.weight\n")
so far i can only pin to fastembed=4.1.0 and ort-sys = "=2.0.0-rc.8"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant