Skip to content

Ability to load a pre-downloaded models #673

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

Open
axetroy opened this issue Mar 4, 2025 · 0 comments
Open

Ability to load a pre-downloaded models #673

axetroy opened this issue Mar 4, 2025 · 0 comments

Comments

@axetroy
Copy link

axetroy commented Mar 4, 2025

Thanks for such a great project

I want to try it in my Electron app.

It would be great if I could load local models

// Run in Renderer
const localModel = fs.createReadStream('/path/to/local/model')

// Using CreateMLCEngine
const engine = await CreateMLCEngine(localModel, { initProgressCallback });
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