Comments (2)
You're right, exporting to onnx using optimum directly produces the same Killed
error.
I actually hadn't known about the 4 gb limitation, so I won't really need to continue trying to integrate it. I was mostly just trying to experiment with various models.
Thank you!
from transformers.js.
Oh wow... I've never converted such a large model before. Behind the scene, the conversion script calls HuggingFace's optimum library for converting to ONNX (https://github.com/huggingface/optimum), and I'm inclined to believe this is a problem with their library. Perhaps it tries to load the full model into memory, and you run out of memory while trying to convert? So, I would recommend trying to convert using their script to see if it also happens there. (And if so, you can open an issue there)
On another note, what do you plan to use the model for? WASM (the tech needed to run the model in the browser) uses a 32-bit address space (meaning max model size of 4GB). That said, when their WebGPU backend is released (in April), it will most likely support larger models.
from transformers.js.
Related Issues (20)
- Request to Add support for new models.
- How to choose a language's dialect when using `automatic-speech-recognition` pipeline? HOT 3
- Preferred citation of Transformers.js HOT 1
- Llama 3 support HOT 1
- Xenova/bert-base-multilingual-uncased-sentiment crashes on nextJS
- [Web] having trouble with loading models from local path HOT 1
- loading time
- What does "Error: failed to call OrtRun(). error code = 6." mean? I know it is ONNX related, but how to fix? HOT 6
- Request to this.path failed with status code 403
- GGUF support
- Useful snippets HOT 4
- Unknown model class "new", attempting to construct from base class. HOT 1
- Unknown PostProcessor type: Sequence HOT 3
- Chrome on Android crashes when starting Whisper HOT 3
- TypeError: Cannot read properties of undefined (reading 'create') HOT 3
- Could not read from file: D:\vite-project\node_modules\stream-browserify\web HOT 3
- Any plans to add moondream and build a demo? Xenova/moondream2 HOT 1
- TypeError: Failed to fetch dynamically imported module HOT 3
- Error using Xenova/nanoLLaVA in pipeline HOT 3
- Excessive Memory consumption. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from transformers.js.