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

BufferSource argument is empty #372

Open
DavidGOrtega opened this issue Apr 21, 2024 · 4 comments
Open

BufferSource argument is empty #372

DavidGOrtega opened this issue Apr 21, 2024 · 4 comments

Comments

@DavidGOrtega
Copy link
Contributor

When I try to load the wasm from local using http-server I have this error no matter if the mime type is application/wasm or application/octet-stream.

I have used always this server to serve local compiled models without any issue.

Uncaught (in promise) CompileError: WebAssembly.instantiate(): BufferSource argument is empty
@CharlieFRuan
Copy link
Contributor

Thanks for the catch; should be fixed via https://github.com/mlc-ai/web-llm/pull/371/files#diff-28c3e3e43a126ec69590b3e436ce6386f7605089d4964f95146c6bd02a84b01c

@DavidGOrtega
Copy link
Contributor Author

Still present in 0.2.35 @CharlieFRuan

@DiegoCao
Copy link
Member

Thanks, looking into it now

@DiegoCao
Copy link
Member

@DavidGOrtega May I ask before the indexedDB pull request, does the problem for this BufferSource exist?

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

3 participants