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

Upgrade to our WIT files version 2 #98

Draft
wants to merge 53 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
f1972c3
Updated the git submodule
Jun 8, 2022
d48bc6c
Migrating the xtask crate over to the new WIT interface
Jun 8, 2022
5a6011d
Migrated the modulo proc-block across
Jun 8, 2022
ec4e1c4
Migrated argmax across
Jun 8, 2022
e97e4d3
Migrated audio-float-conversion over to the new WIT files
Jun 8, 2022
41324d6
Added more helpers
Jun 8, 2022
3b23156
Use the "cargo xtask doc" command for making sure proc-blocks can load
Jun 8, 2022
1ab6ceb
Migrated modulo across and improved our support crate's helpers
Jun 11, 2022
b8c1f08
More cleanups of the modulo proc-block
Jun 11, 2022
9353852
Fixed an alignment issue when viewing tensor buffers
Jun 11, 2022
7077cd5
Removed some copies
Jun 11, 2022
0dfa8ed
Updating argmax and audio_float_conversion
Jun 11, 2022
22cd867
Switched from a "generate_support!()" macro to linker tricks
Jun 11, 2022
d2a3c4e
Updated some naming
Jun 13, 2022
a52bf23
Updated argmax to use the linker trick helpers
Jun 14, 2022
28a1a65
Migrated modulo to the linker trick helpers
Jun 14, 2022
8aec3b5
Use the runtime's RNG in proc-blocks
Jun 15, 2022
478c8bc
Bump all proc-blocks to the 2021 edition
Jun 15, 2022
e60045c
Migrated accuracy across
Jun 15, 2022
56f943b
Updated audio_float_conversion to use the linker trick
Jun 15, 2022
197fb72
Migrate binary classification
Jun 15, 2022
7d669b1
Migrated elastic net across
Jun 15, 2022
c8a107d
Formatting
Jun 15, 2022
8be4df8
Migrated f1 across
Jun 15, 2022
bc9651f
Added a "--keep-going" argument to "cargo xtask dist"
Jun 16, 2022
333522b
Use "cargo xtask dist" when compiling to wasm
Jun 16, 2022
7cc0e7c
Fixed our "view_Nd()" methods so they add/remove leading 1's as neces…
Jun 16, 2022
59709b3
Migrating SVC across
Jun 16, 2022
76679c2
Made sure we can't reinterpret 2D tensors as 1D
Jun 16, 2022
9c08613
updating logistic_regression
Mohit0928 Jun 16, 2022
cfe108d
finally find the issue going with the ML models
Mohit0928 Jun 16, 2022
55da0c4
smartcore's DenseMatrix uses column-major tensors
Jun 16, 2022
9136b16
Migrate the image proc-block over
Jun 17, 2022
6047597
Make sure we use Wasmer's wit-bindgen fork everywhere
Jun 17, 2022
0d5f148
Deleted some now-unnecessary proc-blocks
Jun 17, 2022
40e8a9a
Migrated the normalize proc-block across
Jun 17, 2022
22b8d13
work in progress
Mohit0928 Jun 16, 2022
6c3db92
updated transform function
Mohit0928 Jun 16, 2022
9788532
changed to v2 format
Mohit0928 Jun 16, 2022
de260b6
Resolving some suggestions from clippy
Jun 17, 2022
c3003a3
Merge pull request #106 from hotg-ai/v2/train_test_split
Jun 17, 2022
ddc2c3e
Migrated label to v2 WIT files
Jun 17, 2022
6695bbe
Migrated softmax across
Jun 17, 2022
e1f7831
Migrated segment output
Jun 17, 2022
f128b29
The "openexr" feature from the "image" crate pulls in wasm-bindgen
Jun 17, 2022
9a7e203
Migrated noise filtering across
Jun 17, 2022
8b9867b
Migrated the fft proc-block
Jun 17, 2022
316cba2
Renamed the image proc-block to "image_decode"
Jun 17, 2022
5381bf5
Migrated the prediction_errors proc-block across
Jun 20, 2022
c72a2a9
Forgot to add a From impl
Jun 20, 2022
bd53673
Migrated password strength across
Jun 20, 2022
211830c
Migrated text extractor across
Jun 20, 2022
f776393
Set a panic hook when initializing logging
Jun 23, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,17 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: check
args: --all --verbose --locked
args: --workspace --verbose --locked
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --all --verbose --locked
args: --workspace --verbose --locked
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: --all --verbose --locked
args: --workspace --verbose --locked

compile-to-wasm:
name: Compile to WebAssembly
Expand Down Expand Up @@ -77,15 +77,18 @@ jobs:
target: wasm32-unknown-unknown
- name: Compile to WebAssembly
uses: actions-rs/cargo@v1
continue-on-error: true
with:
command: xtask
args: dist --out-dir target/proc-blocks
args: dist --keep-going
env:
RUST_LOG: xtask=debug
- name: Check all proc-blocks can be loaded
uses: actions-rs/cargo@v1
with:
command: xtask
args: doc target/proc-blocks/*.wasm
- name: Save Compiled proc-blocks
uses: actions/upload-artifact@v2
continue-on-error: true
with:
name: compiled-proc-blocks
path: target/proc-blocks
Expand Down
2 changes: 1 addition & 1 deletion .rustfmt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ use_try_shorthand = true
normalize_doc_attributes = true
report_todo = "Always"
report_fixme = "Always"
edition = "2018"
edition = "2021"
Loading