Skip to content

Commit

Permalink
feat: visualizer
Browse files Browse the repository at this point in the history
  • Loading branch information
load1n9 committed Oct 18, 2023
1 parent 46e4429 commit a04b113
Show file tree
Hide file tree
Showing 14 changed files with 86 additions and 121 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ jobs:
rustc --version
cargo --version
cargo build --release -p netsaur
cargo build --release -p netsaur-gpu
deno run -A https://deno.land/x/[email protected]/main.ts --out src/backends/wasm/lib
deno run -A https://deno.land/x/[email protected]/main.ts -p netsaur --out src/backends/wasm/lib
deno run -A https://deno.land/x/[email protected]/main.ts -p netsaur-tokenizers --out tokenizers/lib
- name: Release
uses: softprops/action-gh-release@master
Expand All @@ -44,10 +43,7 @@ jobs:
draft: true
files: |
target/release/libnetsaur.so
target/release/libnetsaur_gpu.so
target/release/libnetsaur.dylib
target/release/libnetsaur_gpu.dylib
target/release/netsaur.dll
target/release/netsaur_gpu.dll
src/backends/wasm/lib/netsaur_bg.wasm
tokenizers/lib/netsaur_tokenizers_bg.wasm
102 changes: 28 additions & 74 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/core-gpu/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "netsaur-gpu"
version = "0.2.8"
version = "0.2.9"

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion crates/core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "netsaur"
version = "0.2.8"
version = "0.2.9"

[lib]
crate-type = ["cdylib"]
Expand Down
4 changes: 2 additions & 2 deletions crates/tokenizers/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "netsaur-tokenizers"
version = "0.2.8"
version = "0.2.9"

[lib]
crate-type = ["cdylib"]
Expand All @@ -11,7 +11,7 @@ ndarray = "0.15.6"
ndarray-rand = "0.14.0"
serde = {version = "1.0", features = ["derive"]}
serde_json = "1.0"
tokenizers = { version="0.13.2", default-features=false, features = ["unstable_wasm"]}
tokenizers = { version="0.14.1", default-features=false, features = ["unstable_wasm"]}
wasm-bindgen = "=0.2.84"
getrandom = { version = "0.2", features = ["js"] }
js-sys = "0.3.61"
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"example:mnist-train": "deno run -A --unstable examples/mnist/train.ts ",
"example:mnist-predict": "deno run -A --unstable examples/mnist/predict.ts ",
"example:tokenizers-basic": "deno run -A --unstable examples/tokenizers/basic.ts",
"build": "deno task build:cpu && deno task build:wasm",
"build": "deno task build:cpu && deno task build:wasm && deno task build:gpu && deno task build:tokenizers",
"build:cpu": "cargo build --release -p netsaur",
"build:gpu": "cargo build --release -p netsaur-gpu",
"build:wasm": "deno run -A https://deno.land/x/[email protected]/main.ts -p netsaur --out src/backends/wasm/lib",
Expand Down
4 changes: 4 additions & 0 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a04b113

Please sign in to comment.