Skip to content

stream.wasm : add HEAPU8 to exported runtime methods #3130

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

Merged
merged 2 commits into from
May 8, 2025

Conversation

danbev
Copy link
Member

@danbev danbev commented May 8, 2025

This commit adds HEAPU8 to the list of exported methods for stream.wasm.

The motivation for this is that without it HEAPUD8 will be undefined and when its 'buffer' attribute is accessed this will cause error as reported in the referenced issue.

Note that to test this make sure that the web browsers caches is cleared first.

Resolves: #3123

danbev added 2 commits May 8, 2025 16:25
This commit adds HEAPU8 to the list of exported methods for stream.wasm.

The motivation for this is that without it HEAPUD8 will be undefined
and when its 'buffer' attribute is accessed this will cause error as
reported in the referenced issue.

Note that to test this make sure that the web browsers caches is cleared
first.

Resolves: ggml-org#3123
@danbev danbev requested a review from ggerganov May 8, 2025 14:49
@danbev danbev merged commit b6f3fa4 into ggml-org:master May 8, 2025
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

Successfully merging this pull request may close these issues.

Page freezes on clicking Start in stream wasm demo (Windows) + libstream.worker.js file missing
2 participants