Enabling Chrome Flags
To provide compute, certain browser features need to be approved.
Last updated
To provide compute, certain browser features need to be approved.
Last updated
Upon installing our extension, you will be prompted to enable certain browser features. These features are necessary to provide compute to our network.
Experimental WebAssembly (enable-experimental-webassembly-features):
WebAssembly pointers are limited to 32-bit integers, restricting heap sizes to 4GB. This flag allows for less computation overhead and loading larger possible model sizes.
WebAssembly JSPI (enable-experimental-webassembly-jspi):
The JavaScript Promise Integration (JSPI) API allows WebAssembly application to more efficiently communicate with lower level system APIs using asynchronous calls rather than synchronous callbacks. This allows for more throughout and lower latency when running inference.
Shared Memory (enable-javascript-experimental-shared-memory):
Enables greater support for JavaScript's SharedArrayBuffer for efficient memory sharing across threads during inference. This flag allows for improved performance on larger models.
While these flags are not strictly required for all browser based AI/ML inference in general, they are required to run the larger models that the Oasis AI network supports. Additionally, these flags allow the Oasis AI chrome extension to take full advantage of your hardware.
These flags do not provide an immediate security vulnerability as the Oasis AI extension does not run any unverified code. Additionally, any browser based inference that supports large models and high throughput inference will require similar features due to the underlying implementations.
In future chromium based browsers releases, these flags will not be required as the features that are currently experimental are moved into final releases.