Skip to content

Move wasm API and rten format behind features#242

Merged
robertknight merged 1 commit intorobertknight:mainfrom
GICodeWarrior:features
Mar 28, 2026
Merged

Move wasm API and rten format behind features#242
robertknight merged 1 commit intorobertknight:mainfrom
GICodeWarrior:features

Conversation

@GICodeWarrior
Copy link
Copy Markdown
Contributor

This change allows disabling the wasm API and rten format to reduce binary size.

Disabling wasm API reduces my wasm binary by about 100kb. Disabling rten format (i.e. using only onnx) reduces my wasm binary by about 150kb. (i.e. ~250kb total in my case)

See also: #239

Allows disabling the wasm API and rten format to reduce binary size.
Copy link
Copy Markdown
Owner

@robertknight robertknight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@robertknight robertknight merged commit 5a101aa into robertknight:main Mar 28, 2026
2 checks passed
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.

2 participants