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

transformers@latest: Unsupported model IR version: 9, max supported IR version: 8 #847

Open
1 of 5 tasks
lccnicole opened this issue Jul 13, 2024 · 1 comment
Open
1 of 5 tasks
Labels
bug Something isn't working

Comments

@lccnicole
Copy link

System Info

latest transformers.js

Environment/Platform

  • Website/web-app
  • Browser extension
  • Server-side (e.g., Node.js, Deno, Bun)
  • Desktop app (e.g., Electron)
  • Other (e.g., VSCode extension)

Description

The latest transformers.js doesn't support model IR version9. can you upgrade the onnxruntime-web to 1.18.0 or higher?

transformers@latest: Unsupported model IR version: 9, max supported IR version: 8

Reproduction

  1. Convert a model using Python 3.12 with run onnxruntime 1.16
  2. import { pipeline, env } from 'https://cdn.jsdelivr.net/npm/@xenova/transformers@latest';
  3. load the model with the await pipeline(...
@lccnicole lccnicole added the bug Something isn't working label Jul 13, 2024
@kungfooman
Copy link
Contributor

Check the v3 branch... still under construction, but you should get it to work with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants