Skip to content

Commit

Permalink
Remove warmhole references
Browse files Browse the repository at this point in the history
  • Loading branch information
XapaJIaMnu committed Aug 13, 2023
1 parent ca95467 commit ec00f2d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 55 deletions.
2 changes: 1 addition & 1 deletion 3rd_party/marian-dev
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,7 @@ To build a version that translates with higher speeds on Firefox Nightly browser

The wasm artifacts (.js and .wasm files) will be available in the build directory ("build-wasm" in this case).

2. Enable SIMD Wormhole via Wasm instantiation API in generated artifacts
```bash
bash ../wasm/patch-artifacts-enable-wormhole.sh
```

3. Patch generated artifacts to import GEMM library from a separate wasm module
2. Patch generated artifacts to import GEMM library from a separate wasm module
```bash
bash ../wasm/patch-artifacts-import-gemm-module.sh
```
Expand Down
14 changes: 2 additions & 12 deletions wasm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,8 @@ Alternatively refer to the file `test_page/js/worker.js` that demonstrates how t

Provide the folder containing the wasm artifacts as the first argument of `start_server.sh` script (`../../build-wasm` in this case).

* Open any of the browsers below
* Firefox Nightly +87: make sure the following prefs are on (about:config)
```
dom.postMessage.sharedArrayBuffer.bypassCOOP_COEP.insecure.enabled = true
javascript.options.wasm_simd = true
javascript.options.wasm_simd_wormhole = true
```

* Chrome Canary +90: start with the following argument
```
--js-flags="--experimental-wasm-simd"
```
* Open any browser (tested with latest Chrome/Firefox/Safari)


* Browse to the following page:
```
Expand Down
36 changes: 0 additions & 36 deletions wasm/patch-artifacts-enable-wormhole.sh

This file was deleted.

0 comments on commit ec00f2d

Please sign in to comment.